<?php

// Create blog page options
CSF::createSection($induxter_theme_option, array(
	'title'  => esc_html__('Blog Page', 'induxter'),
	'id'     => 'blog_page_options',
	'icon'   => 'fa fa-pencil-square-o',
	'fields' => array(

		array(
			'id'      => 'blog_layout',
			'type'    => 'select',
			'title'   => esc_html__('Blog Layout', 'induxter'),
			'options' => array(
				'grid'          => esc_html__('Grid Full', 'induxter'),
				'grid-ls'       => esc_html__('Grid With Left Sidebar', 'induxter'),
				'grid-rs'       => esc_html__('Grid With Right Sidebar', 'induxter'),
				'left-sidebar'  => esc_html__('Left Sidebar', 'induxter'),
				'right-sidebar' => esc_html__('Right Sidebar', 'induxter'),
				'full-width'    => esc_html__('Full Width', 'induxter'),
			),
			'default' => 'right-sidebar',
			'desc'    => esc_html__('Select blog page layout.', 'induxter'),
		),

		array(
			'id'       => 'blog_banner',
			'type'     => 'switcher',
			'title'    => esc_html__('Enable Blog Banner', 'induxter'),
			'default'  => true,
			'text_on'  => esc_html__('Yes', 'induxter'),
			'text_off' => esc_html__('No', 'induxter'),
			'desc'     => esc_html__('Enable or disable blog page banner.', 'induxter'),
		),

		array(
			'id'                    => 'blog_banner_background_options',
			'type'                  => 'background',
			'title'                 => esc_html__('Banner Background', 'induxter'),
			'background_gradient'   => true,
			'background_origin'     => false,
			'background_clip'       => false,
			'background_blend-mode' => false,
			'background_attachment' => false,
			'background_size'       => false,
			'background_position'   => false,
			'background_repeat'     => false,
			'dependency'            => array('blog_banner', '==', true),
			'output'                => '.banner-area.blog-banner',
			'desc'                  => esc_html__('If you want different banner background settings for blog page then select blog page banner background Options from here.', 'induxter'),
		),

		array(
			'id'         => 'blog_title',
			'type'       => 'text',
			'title'      => esc_html__('Banner Title', 'induxter'),
			'desc'       => esc_html__('Type blog banner title here.', 'induxter'),
			'dependency' => array('blog_banner', '==', true),
		),

		array(
			'id'       => 'post_author',
			'type'     => 'switcher',
			'title'    => esc_html__('Show Author Name', 'induxter'),
			'default'  => true,
			'text_on'  => esc_html__('Yes', 'induxter'),
			'text_off' => esc_html__('No', 'induxter'),
			'desc'     => esc_html__('Hide / Show post author name.', 'induxter'),
		),

		array(
			'id'       => 'post_date',
			'type'     => 'switcher',
			'title'    => esc_html__('Show Post Date', 'induxter'),
			'default'  => true,
			'text_on'  => esc_html__('Yes', 'induxter'),
			'text_off' => esc_html__('No', 'induxter'),
			'desc'     => esc_html__('Hide / Show post date.', 'induxter'),
		),

		array(
			'id'         => 'cmnt_number',
			'type'       => 'switcher',
			'title'      => esc_html__('Show Comment Number', 'induxter'),
			'default'    => true,
			'text_on'    => esc_html__('Yes', 'induxter'),
			'text_off'   => esc_html__('No', 'induxter'),
			'desc'       => esc_html__('Hide / Show post comment number.', 'induxter'),
			'dependency' => array('blog_layout', 'any', 'full-width,right-sidebar,left-sidebar'),
		),

		array(
			'id'         => 'show_category',
			'type'       => 'switcher',
			'title'      => esc_html__('Show Category Name', 'induxter'),
			'default'    => true,
			'text_on'    => esc_html__('Yes', 'induxter'),
			'text_off'   => esc_html__('No', 'induxter'),
			'desc'       => esc_html__('Hide / Show post category name.', 'induxter'),
			'dependency' => array('blog_layout', 'any', 'full-width,right-sidebar,left-sidebar'),
		),

		array(
			'id'       => 'read_more_button',
			'type'     => 'switcher',
			'title'    => esc_html__('Show Read More Button', 'induxter'),
			'default'  => true,
			'text_on'  => esc_html__('Yes', 'induxter'),
			'text_off' => esc_html__('No', 'induxter'),
			'desc'     => esc_html__('Hide / Show post read more button.', 'induxter'),
		),

		array(
			'id'         => 'blog_read_more_text',
			'type'       => 'text',
			'title'      => esc_html__('Read More Button Text', 'induxter'),
			'desc'       => esc_html__('Type blog read more button here.', 'induxter'),
			'dependency' => array('read_more_button', '==', true),
		),
	)
));