<?php

Kirki::add_section( 'search_options', array(
	'title' => esc_html__( 'Search Options', 'newshit' ),
	'panel' => 'newshit_option_layout',
) );

new \Kirki\Field\Select(
	[
		'settings' => 'search_layout',
		'label'    => esc_html__( 'Select Search Page Layout', 'newshit' ),
		'section'  => 'search_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' ),
			'grid'          => esc_html__( 'Grid Full', 'newshit' ),
			'grid-ls'       => esc_html__( 'Grid With Left Sidebar', 'newshit' ),
			'grid-rs'       => esc_html__( 'Grid With Right Sidebar', 'newshit' ),
		],
	]
);

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