<?php

Kirki::add_section( 'single_options', array(
	'title' => esc_html__( 'Single Page Options', 'newshit' ),
	'panel' => 'newshit_option_layout',
) );

new \Kirki\Field\Select(
	[
		'settings' => 'single_layout',
		'label'    => esc_html__( 'Select Single Page Layout', 'newshit' ),
		'section'  => 'single_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' => 'single_title_tag',
		'label'    => esc_html__( 'Select Single Title Tag', 'newshit' ),
		'section'  => 'single_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' => 'single_breadcrumb_enable',
		'label'    => esc_html__( 'Enable Breadcrumb', 'newshit' ),
		'section'  => 'single_options',
		'default'  => 'on',
		'choices'  => [
			'on'  => esc_html__( 'Enable', 'newshit' ),
			'off' => esc_html__( 'Disable', 'newshit' ),
		],
	]
);

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

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

new \Kirki\Field\Checkbox_Switch(
	[
		'settings' => 'single_author',
		'label'    => esc_html__( 'Enable Author Name', 'newshit' ),
		'section'  => 'single_options',
		'default'  => 'on',
		'choices'  => [
			'on'  => esc_html__( 'Enable', 'newshit' ),
			'off' => esc_html__( 'Disable', 'newshit' ),
		],
	]
);

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

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

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

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

new \Kirki\Field\Checkbox_Switch(
	[
		'settings' => 'single_share',
		'label'    => esc_html__( 'Enable Share Button', 'newshit' ),
		'section'  => 'single_options',
		'default'  => 'on',
		'choices'  => [
			'on'  => esc_html__( 'Enable', 'newshit' ),
			'off' => esc_html__( 'Disable', 'newshit' ),
		],
	]
);

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

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

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