<?php

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

new \Kirki\Field\Select(
	[
		'settings' => 'archive_layout',
		'label'    => esc_html__( 'Select Archive Page Layout', 'newscope' ),
		'section'  => 'archive_options',
		'default'  => 'right-sidebar',
		'choices'  => [
			'full-width'    => esc_html__( 'Full Width', 'newscope' ),
			'left-sidebar'  => esc_html__( 'Left Sidebar', 'newscope' ),
			'right-sidebar' => esc_html__( 'Right Sidebar', 'newscope' ),
			'grid'          => esc_html__( 'Grid Full', 'newscope' ),
			'grid-ls'       => esc_html__( 'Grid With Left Sidebar', 'newscope' ),
			'grid-rs'       => esc_html__( 'Grid With Right Sidebar', 'newscope' ),
		],
	]
);

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