<?php
Kirki::add_section( 'copyright_options', array(
	'title' => esc_html__( 'Copyright Options', 'newshit' ),
	'panel' => 'newshit_theme_options',
) );

new \Kirki\Field\Text(
	[
		'settings' => 'copyright_text',
		'label'    => esc_html__( 'Copyright Text', 'newshit' ),
		'section'  => 'copyright_options',
		'default'  => esc_html__( 'Proudly powered by WordPress |', 'newshit' ),
		'partial_refresh'    => [
			'copyright_text_quick' => [
				'selector'        => '.copyright-info',
				'render_callback' => 'newshit_customizer_quickedit',
			],
		],
	]
);


new \Kirki\Field\Radio_Image(
	[
		'settings'    => 'poweard_by_pro',
		'label'       => esc_html__( 'Powered Link For Pro Featured', 'newshit' ),
		'description' => newshit_purchase_link(),
		'section'     => 'copyright_options',
		'default'     => '',
		'transport'   => 'auto',
		'choices'     => [
			'poweard_f'   => get_template_directory_uri() . '/assets/image/pro/powered.jpg',
		],
	]
);


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