<?php if ( ! defined( 'FW' ) ) {
	die( 'Forbidden' );
}
$imgdir = get_template_directory_uri() . '/img/';

$options = array(
	'advanced_tab' => array(
		'title'   => esc_html__( 'Posts', 'jt-wishbone' ),
		'type'    => 'tab',
		'options' => array(
			'postmeta' => array(
				'title'   => esc_html__( 'Blog', 'jt-wishbone' ),
				'type'    => 'tab',
				'options' => array(
					'show_category' => array(
						'type'  => 'switch',
						'label' => esc_html__( 'Category', 'jt-wishbone' ),
						'value' => true,
					),
					'show_authorname' => array(
						'type'  => 'switch',
						'label' => esc_html__( 'Author Name', 'jt-wishbone' ),
						'value' => true,
					),
					'show_date' => array(
						'type'  => 'switch',
						'label' => esc_html__( 'Date', 'jt-wishbone' ),
						'value' => true,
					),
					'show_postlikes' => array(
						'type'  => 'switch',
						'label' => esc_html__( 'Likes', 'jt-wishbone' ),
						'value' => true,
					),
					'show_postviews' => array(
						'type'  => 'switch',
						'label' => esc_html__( 'Views', 'jt-wishbone' ),
						'value' => true,
					),
					'show_comment' => array(
						'type'  => 'switch',
						'label' => esc_html__( 'Comment Count', 'jt-wishbone' ),
						'value' => true,
					),
					'social_sharing' => array(
						'type'  => 'switch',
						'value' => true,
						'label' => esc_html__( 'Social Share', 'jt-wishbone' ),
						'desc' => esc_html__( 'Social Share buttons that appears under article thumbnail', 'jt-wishbone' ),
					),
					'show_shortlink' => array(
						'type'  => 'switch',
						'value' => true,
						'label' => esc_html__( 'Shortlink box', 'jt-wishbone' ),
						'desc' => esc_html__( 'The small box that contains short url of the blog article', 'jt-wishbone' ),
					),
					'author_bio' => array(
						'type'  => 'switch',
						'value' => true,
						'label' => esc_html__( 'Author Bio', 'jt-wishbone' ),
						'desc' => esc_html__( 'Author short bio under blog post', 'jt-wishbone' ),
					),
					'related_posts' => array(
						'type'  => 'switch',
						'value' => true,
						'label' => esc_html__( 'Related Posts', 'jt-wishbone' ),
						'desc' => esc_html__( 'The related posts that ordered by random. This section will appear in post article page.', 'jt-wishbone' ),
					),
				),
			),

			'pagemeta' => array(
				'title'   => esc_html__( 'Page', 'jt-wishbone' ),
				'type'    => 'tab',
				'options' => array(
					'enable_comment' => array(
						'type'  => 'switch',
						'label' => esc_html__( 'Comment', 'jt-wishbone' ),
						'value' => true,
					),
					'page_social_sharing' => array(
						'type'  => 'switch',
						'value' => true,
						'label' => esc_html__( 'Social Share', 'jt-wishbone' ),
						'desc' => esc_html__( 'Social Share buttons that appears under article thumbnail', 'jt-wishbone' ),
					),
					'page_show_shortlink' => array(
						'type'  => 'switch',
						'value' => true,
						'label' => esc_html__( 'Shortlink box', 'jt-wishbone' ),
						'desc' => esc_html__( 'The small box that contains short url of the blog article', 'jt-wishbone' ),
					),
				),
			),

			/* 404.php */
			'404-layout' => array(
				'title'   => esc_html__( 'Not Found Page', 'jt-wishbone' ),
				'type'    => 'tab',
				'options' => array(
					'404_sliderbox' => array(
						'title'   => '404 Setting',
						'type'    => 'box',
						'options' => array(
							'404_template_group' => array(
								'title'   => 'Template Setting',
								'type'    => 'group',
								'options' => array(
									'notfoundtitle' => array(
									    'type'  => 'text',
									    'label' => esc_html__('Not Found Title', 'jt-wishbone'),
									    'desc' => esc_html__('Will only be applied to not found search result page', 'jt-wishbone'),
									),
									'404_message' => array(
										'label' => esc_html__( '404/Not Found Message', 'jt-wishbone' ),
										'type'  => 'wp-editor',
										'desc'  => esc_html__( 'If you\'d like to write custom message, write it here.', 'jt-wishbone' ),
										'reinit' => true,
									),
								),
							),
						),
					),
				),
			), //404.php

		),
	),
);
