<?php // phpcs:ignore WPThemeReview.Templates.ReservedFileNamePrefix.ReservedTemplatePrefixFound
Kirki::add_section( 'page_options', array(
	'title' => esc_html__( 'Page Options', 'newshit' ),
	'panel' => 'newshit_option_layout',
) );

new \Kirki\Field\Select(
	[
		'settings' => 'page_layout',
		'label'    => esc_html__( 'Select Page Layout', 'newshit' ),
		'section'  => 'page_options',
		'default'  => 'right-sidebar',
		'choices'  => [
			'full-width'    => esc_html__( 'Full Width', 'newshit' ),
			'left-sidebar'  => esc_html__( 'Left Sidebar', 'newshit' ),
			'right-sidebar' => esc_html__( 'Right Sidebar', 'newshit' ),
		],
	]
);

new \Kirki\Field\Select(
	[
		'settings' => 'page_title_tag',
		'label'    => esc_html__( 'Select Page Title Tag', 'newshit' ),
		'section'  => 'page_options',
		'default'  => 'h2',
		'choices'  => [
			'h1'    => esc_html__( 'H1', 'newshit' ),
			'h2'    => esc_html__( 'H2', 'newshit' ),
			'h3'    => esc_html__( 'H3', 'newshit' ),
			'h4'    => esc_html__( 'H4', 'newshit' ),
			'h5'    => esc_html__( 'H5', 'newshit' ),
			'h6'    => esc_html__( 'H6', 'newshit' ),
			'p'    	=> esc_html__( 'p', 'newshit' ),
			'span'    	=> esc_html__( 'Span', 'newshit' ),
		],
	]
);



new \Kirki\Field\Checkbox_Switch(
	[
		'settings' => 'page_breadcrumb_enable',
		'label'    => esc_html__( 'Enable Breadcrumb', 'newshit' ),
		'section'  => 'page_options',
		'default'  => 'on',
		'choices'  => [
			'on'  => esc_html__( 'Enable', 'newshit' ),
			'off' => esc_html__( 'Disable', 'newshit' ),
		],
	]
);

new \Kirki\Field\Checkbox_Switch(
	[
		'settings' => 'page_comment_section',
		'label'    => esc_html__( 'Enable Comment Box', 'newshit' ),
		'section'  => 'page_options',
		'default'  => 'on',
		'choices'  => [
			'on'  => esc_html__( 'Enable', 'newshit' ),
			'off' => esc_html__( 'Disable', 'newshit' ),
		],
	]
);