<?php

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

new \Kirki\Field\Select(
	[
		'settings' => 'archive_layout',
		'label'    => esc_html__( 'Select Archive Page Layout', 'newshit' ),
		'section'  => 'archive_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_archive_title',
		'label'    => esc_html__( 'Enable Breadcrumb', 'newshit' ),
		'section'  => 'archive_options',
		'default'  => 'on',
		'choices'  => [
			'on'  => esc_html__( 'Enable', 'newshit' ),
			'off' => esc_html__( 'Disable', 'newshit' ),
		],
	]
);