<?php

if ( class_exists("Kirki")){

	// LOGO

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'dark_photography_logo_resizer',
		'label'       => esc_html__( 'Adjust Your Logo Size ', 'dark-photography' ),
		'section'     => 'title_tagline',
		'choices'     => [
			'min'  => 10,
			'max'  => 300,
			'step' => 10,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_enable_logo_text',
		'section'     => 'title_tagline',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Site Title and Tagline', 'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'dark_photography_display_header_title',
		'label'       => esc_html__( 'Site Title Enable / Disable Button', 'dark-photography' ),
		'section'     => 'title_tagline',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'dark-photography' ),
			'off' => esc_html__( 'Disable', 'dark-photography' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'dark_photography_display_header_text',
		'label'       => esc_html__( 'Tagline Enable / Disable Button', 'dark-photography' ),
		'section'     => 'title_tagline',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'dark-photography' ),
			'off' => esc_html__( 'Disable', 'dark-photography' ),
		],
	] );

	// FONT STYLE TYPOGRAPHY

	Kirki::add_panel( 'dark_photography_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Typography', 'dark-photography' ),
	) );

	Kirki::add_section( 'dark_photography_font_style_section', array(
		'title'      => esc_html__( 'Typography Option',  'dark-photography' ),
		'priority'   => 2,
		'capability' => 'edit_theme_options',
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_font_style_section',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. More Font Family Options </p><p>3. Color Pallete Setup </p><p>4. Section Reordering Facility</p><p>5. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_all_headings_typography',
		'section'     => 'dark_photography_font_style_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Heading Of All Sections',  'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'global', array(
		'type'        => 'typography',
		'settings'    => 'dark_photography_all_headings_typography',
		'label'       => esc_html__( 'Heading Typography',  'dark-photography' ),
		'description' => esc_html__( 'Select the typography options for your heading.',  'dark-photography' ),
		'section'     => 'dark_photography_font_style_section',
		'priority'    => 10,
		'default'     => array(
			'font-family'    => '',
			'variant'        => '',
		),
		'output' => array(
			array(
				'element' => array( 'h1','h2','h3','h4','h5','h6', ),
			),
		),
	) );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_body_content_typography',
		'section'     => 'dark_photography_font_style_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Body Content',  'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'global', array(
		'type'        => 'typography',
		'settings'    => 'dark_photography_body_content_typography',
		'label'       => esc_html__( 'Content Typography',  'dark-photography' ),
		'description' => esc_html__( 'Select the typography options for your content.',  'dark-photography' ),
		'section'     => 'dark_photography_font_style_section',
		'priority'    => 10,
		'default'     => array(
			'font-family'    => '',
			'variant'        => '',
		),
		'output' => array(
			array(
				'element' => array( 'body', ),
			),
		),
	) );

		// PANEL
	Kirki::add_panel( 'dark_photography_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'dark-photography' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'dark_photography_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'dark-photography' ),
	    'priority'       => 2,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_section_animation',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'dark_photography_animation_enabled',
		'label'       => esc_html__( 'Turn To Show Animation', 'dark-photography' ),
		'section'     => 'dark_photography_section_animation',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'dark-photography' ),
			'off' => esc_html__( 'Disable', 'dark-photography' ),
		],
	] );

	// PANEL
	Kirki::add_panel( 'dark_photography_panel_id_3', array(
	    'priority'    => 10,
	    'title'       => esc_html__( '404 Settings / No Result', 'dark-photography' ),
	) );

	// 404 SECTION
	Kirki::add_section( 'dark_photography_section_404', array(
		'panel'          => 'dark_photography_panel_id_3',
	    'title'          => esc_html__( '404 Settings', 'dark-photography' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_section_404',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
		'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
	    'type'        => 'custom',
	    'settings'    => 'dark_photography_404_heading',
	    'section'     => 'dark_photography_section_404',
	    'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( '404 Heading', 'dark-photography' ) . '</h3>',
	    'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'dark_photography_404_page_title',
		'section'  => 'dark_photography_section_404',
		'default'  => esc_html__('404 Not Found', 'dark-photography'),
		'priority' => 10,
	] );

		Kirki::add_field( 'theme_config_id', [
	    'type'        => 'custom',
	    'settings'    => 'dark_photography_404_text',
	    'section'     => 'dark_photography_section_404',
	    'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( '404 Content', 'dark-photography' ) . '</h3>',
	    'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'dark_photography_404_page_content',
		'section'  => 'dark_photography_section_404',
		'default'  => esc_html__('Sorry, no posts matched your criteria.', 'dark-photography'),
		'priority' => 10,
	] );

	// NO Result
	Kirki::add_section( 'dark_photography_no_result', array(
		'panel'          => 'dark_photography_panel_id_3',
	    'title'          => esc_html__( 'No Result Page Settings', 'dark-photography' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_no_result',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
		'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
	    'type'        => 'custom',
	    'settings'    => 'dark_photography_not_found_heading',
	    'section'     => 'dark_photography_no_result',
	    'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'No Search Result Heading', 'dark-photography' ) . '</h3>',
	    'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'dark_photography_no_results_page_title',
		'section'  => 'dark_photography_no_result',
		'default'  => esc_html__('404 Not Found', 'dark-photography'),
		'priority' => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
	    'type'        => 'custom',
	    'settings'    => 'dark_photography_not_found_text',
	    'section'     => 'dark_photography_no_result',
	    'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'No Search Result Content', 'dark-photography' ) . '</h3>',
	    'priority'    => 10,
	]);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'dark_photography_no_results_page_content',
		'section'  => 'dark_photography_no_result',
		'default'  => esc_html__('Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'dark-photography'),
		'priority' => 10,
	] );

	// PANEL

	Kirki::add_panel( 'dark_photography_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Options', 'dark-photography' ),
	) );

	//COLOR SECTION

	Kirki::add_section( 'dark_photography_section_color', array(
	    'title'          => esc_html__( 'Global Color', 'dark-photography' ),
	    'panel'          => 'dark_photography_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_section_color',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. More Font Family Options </p><p>3. Color Pallete Setup </p><p>4. Section Reordering Facility</p><p>5. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_global_colors',
		'section'     => 'dark_photography_section_color',
		'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Here you can change your theme color on one click.', 'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'dark_photography_first_color',
		'label'       => __( 'Choose Your First Color', 'dark-photography' ),
		'section'     => 'dark_photography_section_color',
		'default'     => '#a29c3d',
	] );

	// Additional Settings

	Kirki::add_section( 'dark_photography_additional_settings', array(
	    'title'          => esc_html__( 'Additional Settings', 'dark-photography' ),
	    'panel'          => 'dark_photography_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_additional_settings',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'dark_photography_scroll_enable_setting',
		'label'       => esc_html__( 'Here you can enable or disable your scroller.', 'dark-photography' ),
		'section'     => 'dark_photography_additional_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'dark_photography_scroll_top_position',
		'label'       => esc_html__( 'Alignment for Scroll To Top', 'dark-photography' ),
		'section'     => 'dark_photography_additional_settings',
		'default'     => 'Right',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'dark-photography' ),
			'Center' => esc_html__( 'Center', 'dark-photography' ),
			'Right'  => esc_html__( 'Right', 'dark-photography' ),
		],
	]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'dashicons',
		'settings' => 'dark_photography_scroll_top_icon',
		'label'    => esc_html__( 'Select Appropriate Scroll Top Icon', 'dark-photography' ),
		'section'  => 'dark_photography_additional_settings',
		'default'  => 'dashicons dashicons-arrow-up-alt',
		'priority' => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'dark_photography_site_loader',
		'label'       => esc_html__( 'Here you can enable or disable your Site Loader.', 'dark-photography' ),
		'section'     => 'dark_photography_additional_settings',
		'default'     => false,
		'priority'    => 10,
	] );

		new \Kirki\Field\Select(
	[
		'settings'    => 'dark_photography_preloader_type',
		'label'       => esc_html__( 'Preloader Type', 'dark-photography' ),
		'section'     => 'dark_photography_additional_settings',
		'default' => 'four-way-loader',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'four-way-loader' => __('Type 1','dark-photography'),
            'cube-loader' => __('Type 2','dark-photography'),
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'menu_text_transform_dark_photography',
		'label'       => esc_html__( 'Menus Text Transform', 'dark-photography' ),
		'section'     => 'dark_photography_additional_settings',
		'default'     => 'UPPERCASE',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'CAPITALISE' => esc_html__( 'CAPITALISE', 'dark-photography' ),
			'UPPERCASE' => esc_html__( 'UPPERCASE', 'dark-photography' ),
			'LOWERCASE' => esc_html__( 'LOWERCASE', 'dark-photography' ),

		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'dark_photography_menu_zoom',
		'label'       => esc_html__( 'Menu Transition', 'dark-photography' ),
		'section'     => 'dark_photography_additional_settings',
		'default' => 'None',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'None' => __('None','dark-photography'),
            'Zoominn' => __('Zoom Inn','dark-photography'),
            
		],
	] );


	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'dark_photography_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'dark-photography' ),
		'section'     => 'dark_photography_additional_settings',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'dark_photography_page_layout',
		'label'       => esc_html__( 'Page Layout Setting', 'dark-photography' ),
		'section'     => 'dark_photography_additional_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','dark-photography'),
            'Right Sidebar' => __('Right Sidebar','dark-photography'),
            'One Column' => __('One Column','dark-photography')
		],
	] );

	if ( class_exists("woocommerce")){

	// Woocommerce Settings

	Kirki::add_section( 'dark_photography_woocommerce_settings', array(
			'title'          => esc_html__( 'Woocommerce Settings', 'dark-photography' ),
			'panel'          => 'dark_photography_panel_id',
			'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_woocommerce_settings',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'dark_photography_shop_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable shop page sidebar.', 'dark-photography' ),
		'section'     => 'dark_photography_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'dark_photography_product_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable product page sidebar.', 'dark-photography' ),
		'section'     => 'dark_photography_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'dark_photography_related_product_setting',
		'label'       => esc_html__( 'Here you can enable or disable your related products.', 'dark-photography' ),
		'section'     => 'dark_photography_woocommerce_settings',
		'default'     => true,
		'priority'    => 10,
	] );

	new \Kirki\Field\Number(
		[
			'settings' => 'dark_photography_per_columns',
			'label'    => esc_html__( 'Product Per Row', 'dark-photography' ),
			'section'  => 'dark_photography_woocommerce_settings',
			'default'  => 3,
			'choices'  => [
				'min'  => 1,
				'max'  => 4,
				'step' => 1,
			],
		]
	);

	new \Kirki\Field\Number(
		[
			'settings' => 'dark_photography_product_per_page',
			'label'    => esc_html__( 'Product Per Page', 'dark-photography' ),
			'section'  => 'dark_photography_woocommerce_settings',
			'default'  => 9,
			'choices'  => [
				'min'  => 1,
				'max'  => 15,
				'step' => 1,
			],
		]
	);

	new \Kirki\Field\Number(
		[
			'settings' => 'custom_related_products_number_per_row',
			'label'    => esc_html__( 'Related Product Per Column', 'dark-photography' ),
			'section'  => 'dark_photography_woocommerce_settings',
			'default'  => 3,
			'choices'  => [
				'min'  => 1,
				'max'  => 4,
				'step' => 1,
			],
		]
	);

	new \Kirki\Field\Number(
		[
			'settings' => 'custom_related_products_number',
			'label'    => esc_html__( 'Related Product Per Page', 'dark-photography' ),
			'section'  => 'dark_photography_woocommerce_settings',
			'default'  => 3,
			'choices'  => [
				'min'  => 1,
				'max'  => 10,
				'step' => 1,
			],
		]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'dark_photography_shop_page_layout',
		'label'       => esc_html__( 'Shop Page Layout Setting', 'dark-photography' ),
		'section'     => 'dark_photography_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','dark-photography'),
            'Right Sidebar' => __('Right Sidebar','dark-photography')
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'dark_photography_product_page_layout',
		'label'       => esc_html__( 'Product Page Layout Setting', 'dark-photography' ),
		'section'     => 'dark_photography_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','dark-photography'),
            'Right Sidebar' => __('Right Sidebar','dark-photography')
		],
	] );

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'dark_photography_woocommerce_pagination_position',
		'label'       => esc_html__( 'Woocommerce Pagination Alignment', 'dark-photography' ),
		'section'     => 'dark_photography_woocommerce_settings',
		'default'     => 'Center',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'dark-photography' ),
			'Center' => esc_html__( 'Center', 'dark-photography' ),
			'Right'  => esc_html__( 'Right', 'dark-photography' ),
		],
	]
	);
}

	// POST SECTION

	Kirki::add_section( 'dark_photography_section_post', array(
	    'title'          => esc_html__( 'Post Settings', 'dark-photography' ),
	    'panel'          => 'dark_photography_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_section_post',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
	] );

	new \Kirki\Field\Sortable(
	[
		'settings' => 'dark_photography_archive_element_sortable',
		'label'    => __( 'Archive Post Page Element Reordering', 'dark-photography' ),
		'description'    => esc_html__( 'This setting is not favorable with post format.', 'dark-photography' ),
		'section'  => 'dark_photography_section_post',
		'default'  => [ 'option1', 'option2', 'option3', 'option4', 'option5' ],
		'choices'  => [
			'option1' => esc_html__( 'Post Image', 'dark-photography' ),
			'option2' => esc_html__( 'Post Meta', 'dark-photography' ),
			'option3' => esc_html__( 'Post Title', 'dark-photography' ),
			'option4' => esc_html__( 'Post Content', 'dark-photography' ),
			'option5' => esc_html__( 'Post Button', 'dark-photography' ),
		],
	]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'dark_photography_post_excerpt_number',
		'label'       => esc_html__( 'Post Content Range', 'dark-photography' ),
		'section'     => 'dark_photography_section_post',
		'default'     => 10,
		'choices'     => [
			'min'  => 10,
			'max'  => 100,
			'step' => 1,
		],
	] );

		Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'dark_photography_pagination_setting',
		'label'       => esc_html__( 'Here you can enable or disable your Pagination.', 'dark-photography' ),
		'section'     => 'dark_photography_section_post',
		'default'     => true,
		'priority'    => 10,
	] );

new \Kirki\Field\Select(
	[
		'settings'    => 'dark_photography_archive_sidebar_layout',
		'label'       => esc_html__( 'Archive Post Sidebar Layout Setting', 'dark-photography' ),
		'section'     => 'dark_photography_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','dark-photography'),
            'Right Sidebar' => __('Right Sidebar','dark-photography'),
            'Three Column' => __('Three Column','dark-photography'),
            'Four Column' => __('Four Column','dark-photography'),
            'Grid Layout Without Sidebar' => __('Grid Layout Without Sidebar','dark-photography'),
            'Grid Layout With Right Sidebar' => __('Grid Layout With Right Sidebar','dark-photography'),
            'Grid Layout With Left Sidebar' => __('Grid Layout With Left Sidebar','dark-photography')
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'dark_photography_single_post_sidebar_layout',
		'label'       => esc_html__( 'Single Post Sidebar Layout Setting', 'dark-photography' ),
		'section'     => 'dark_photography_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','dark-photography'),
            'Right Sidebar' => __('Right Sidebar','dark-photography'),
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'dark_photography_search_sidebar_layout',
		'label'       => esc_html__( 'Search Page Sidebar Layout Setting', 'dark-photography' ),
		'section'     => 'dark_photography_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','dark-photography'),
            'Right Sidebar' => __('Right Sidebar','dark-photography'),
            'Three Column' => __('Three Column','dark-photography'),
            'Four Column' => __('Four Column','dark-photography'),
            'Grid Layout Without Sidebar' => __('Grid Layout Without Sidebar','dark-photography'),
            'Grid Layout With Right Sidebar' => __('Grid Layout With Right Sidebar','dark-photography'),
            'Grid Layout With Left Sidebar' => __('Grid Layout With Left Sidebar','dark-photography')
		],
	] );

	// Breadcrumb
	Kirki::add_section( 'dark_photography_bradcrumb', array(
	    'title'          => esc_html__( 'Breadcrumb Settings', 'dark-photography' ),
	    'panel'          => 'dark_photography_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_bradcrumb',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
	] );

	 Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_enable_breadcrumb_heading',
		'section'     => 'dark_photography_bradcrumb',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Single Page Breadcrumb', 'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'dark_photography_breadcrumb_enable',
		'label'       => esc_html__( 'Breadcrumb Enable / Disable', 'dark-photography' ),
		'section'     => 'dark_photography_bradcrumb',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'dark-photography' ),
			'off' => esc_html__( 'Disable', 'dark-photography' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'default'     => '/',
        'settings' => 'dark_photography_breadcrumb_separator' ,
        'label'    => esc_html__( 'Breadcrumb Separator',  'dark-photography' ),
        'section'  => 'dark_photography_bradcrumb',
    ] );

	// HEADER SECTION

	Kirki::add_section( 'dark_photography_section_header', array(
	    'title'          => esc_html__( 'Header Settings', 'dark-photography' ),
	    'panel'          => 'dark_photography_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_section_header',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_phone_number_heading',
		'section'     => 'dark_photography_section_header',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Phone Number', 'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'dark_photography_header_phone_number',
		'section'  => 'dark_photography_section_header',
		'default'  => '',
		'priority' => 10,
		'sanitize_callback' => 'dark_photography_sanitize_phone_number',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_email_address_heading',
		'section'     => 'dark_photography_section_header',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Email Address', 'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'dark_photography_header_email_address',
		'section'  => 'dark_photography_section_header',
		'default'  => '',
		'priority' => 10,
		'sanitize_callback' => 'sanitize_email',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_enable_socail_link',
		'section'     => 'dark_photography_section_header',
		'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Social Media Link', 'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'repeater',
		'section'     => 'dark_photography_section_header',
		'priority'    => 11,
		'row_label' => [
			'type'  => 'field',
			'value' => esc_html__( 'Social Icon', 'dark-photography' ),
			'field' => 'link_text',
		],
		'row_label' => [
			'type'  => 'field',
			'value' => esc_html__( 'Social Text', 'dark-photography' ),
			'field' => 'link_text1',
		],
		'button_label' => esc_html__('Add New Social Icon', 'dark-photography' ),
		'settings'     => 'dark_photography_social_links_settings',
		'default'      => '',
		'fields' 	   => [
			'link_text' => [
				'type'        => 'text',
				'label'       => esc_html__( 'Icon', 'dark-photography' ),
				'description' => esc_html__( 'Add the fontawesome class ex: "fab fa-facebook-f".', 'dark-photography' ),
				'default'     => '',
			],
			'link_text1' => [
				'type'        => 'text',
				'label'       => esc_html__( 'Text', 'dark-photography' ),
				'description' => esc_html__( 'Add the social text  ex: "facebook".', 'dark-photography' ),
				'default'     => '',
			],
			'link_url' => [
				'type'        => 'url',
				'label'       => esc_html__( 'Social Link', 'dark-photography' ),
				'description' => esc_html__( 'Add the social icon url here.', 'dark-photography' ),
				'default'     => '',
			],
		],
		'choices' => [
			'limit' => 5
		],
	] );

	// SLIDER SECTION

	Kirki::add_section( 'dark_photography_blog_slide_section', array(
        'title'          => esc_html__( 'Slider Settings', 'dark-photography' ),
        'panel'          => 'dark_photography_panel_id',
        'priority'       => 160,
    ) );

    Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_blog_slide_section',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_enable_heading',
		'section'     => 'dark_photography_blog_slide_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Slider', 'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'dark_photography_blog_box_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'dark-photography' ),
		'section'     => 'dark_photography_blog_slide_section',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'dark-photography' ),
			'off' => esc_html__( 'Disable', 'dark-photography' ),
		],
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_slider_heading',
		'section'     => 'dark_photography_blog_slide_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Slider', 'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'dark_photography_blog_slide_number',
		'label'       => esc_html__( 'Number of slides to show', 'dark-photography' ),
		'section'     => 'dark_photography_blog_slide_section',
		'default'     => 0,
		'choices'     => [
			'min'  => 1,
			'max'  => 5,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'dark_photography_blog_slide_category',
		'label'       => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'dark-photography' ),
		'section'     => 'dark_photography_blog_slide_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'dark-photography' ),
		'priority'    => 10,
		'choices'     => dark_photography_get_categories_select(),
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'url',
		'label'    => esc_html__( 'Slider Button 2 Link', 'dark-photography' ),
		'settings' => 'dark_photography_slider_button_2_link',
		'section'  => 'dark_photography_blog_slide_section',
		'priority'    => 10,
		'default'  => '',
	] );

	Kirki::add_field( 'theme_config_id', [
	'type'        => 'custom',
	'settings'    => 'dark_photography_footer_enable_heading_22',
	'section'     => 'dark_photography_blog_slide_section',
		'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Content Alignment', 'dark-photography' ) . '</h3>',
	'priority'    => 10,
] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'dark_photography_slider_content_alignment',
		'label'       => esc_html__( 'Slider Content Alignment', 'dark-photography' ),
		'section'     => 'dark_photography_blog_slide_section',
		'default'     => 'RIGHT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'dark-photography' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'dark-photography' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'dark-photography' ),

		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'dark_photography_slider_opacity_color',
		'label'       => esc_html__( 'Slider Opacity Option', 'dark-photography' ),
		'section'     => 'dark_photography_blog_slide_section',
		'default'     => '0.4',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'0' => esc_html__( '0', 'dark-photography' ),
			'0.1' => esc_html__( '0.1', 'dark-photography' ),
			'0.2' => esc_html__( '0.2', 'dark-photography' ),
			'0.3' => esc_html__( '0.3', 'dark-photography' ),
			'0.4' => esc_html__( '0.4', 'dark-photography' ),
			'0.5' => esc_html__( '0.5', 'dark-photography' ),
			'0.6' => esc_html__( '0.6', 'dark-photography' ),
			'0.7' => esc_html__( '0.7', 'dark-photography' ),
			'0.8' => esc_html__( '0.8', 'dark-photography' ),
			'0.9' => esc_html__( '0.9', 'dark-photography' ),
			'unset' => esc_html__( 'unset', 'dark-photography' ),
		],
	] );

	//GALLERY SECTION

	Kirki::add_section( 'dark_photography_gallery_section', array(
	    'title'          => esc_html__( 'Our Gallery Settings', 'dark-photography' ),
	    'panel'          => 'dark_photography_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_gallery_section',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
	    'priority'    => 1,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_enable_heading',
		'section'     => 'dark_photography_gallery_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Our Gallery',  'dark-photography' ) . '</h3>',
		'priority'    => 1,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'dark_photography_gallery_section_enable',
		'label'       => esc_html__( 'Section Enable / Disable',  'dark-photography' ),
		'section'     => 'dark_photography_gallery_section',
		'default'     => false,
		'priority'    => 2,
		'choices'     => [
			'on'  => esc_html__( 'Enable',  'dark-photography' ),
			'off' => esc_html__( 'Disable',  'dark-photography' ),
		],
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_gallery_text_heading',
		'section'     => 'dark_photography_gallery_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Gallery', 'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'       => esc_html__( 'Text', 'dark-photography' ),
		'settings' => 'dark_photography_gallery_heading_text',
		'section'  => 'dark_photography_gallery_section',
		'default'  => '',
		'priority' => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'       => esc_html__( 'Heading', 'dark-photography' ),
		'settings' => 'dark_photography_gallery_heading',
		'section'  => 'dark_photography_gallery_section',
		'default'  => '',
		'priority' => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'dark_photography_gallery_category',
		'label'       => esc_html__( 'Select the category to show gallery ', 'dark-photography' ),
		'section'     => 'dark_photography_gallery_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'dark-photography' ),
		'priority'    => 10,
		'choices'     => dark_photography_get_categories_select(),
	] );

	// FOOTER SECTION

	Kirki::add_section( 'dark_photography_footer_section', array(
        'title'          => esc_html__( 'Footer Settings', 'dark-photography' ),
        'panel'          => 'dark_photography_panel_id',
        'priority'       => 160,
    ) );

    Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'dark-photography' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( DARK_PHOTOGRAPHY_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'dark-photography' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'dark_photography_footer_section',
	    'description' => '<div class="custom-description-class">' . __( '<p>1. One Click Demo Importer </p><p>2. Color Pallete Setup </p><p>3. Section Reordering Facility</p><p>4. For More Options kindly Go For Premium Version.</p>', 'dark-photography' ) . '</div>',
	] );

		Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_footer_enable_heading',
		'section'     => 'dark_photography_footer_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Footer Link', 'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'dark_photography_copyright_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'dark-photography' ),
		'section'     => 'dark_photography_footer_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'dark-photography' ),
			'off' => esc_html__( 'Disable', 'dark-photography' ),
		],
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_footer_text_heading',
		'section'     => 'dark_photography_footer_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Footer Copyright Text', 'dark-photography' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'dark_photography_footer_text',
		'section'  => 'dark_photography_footer_section',
		'default'  => '',
		'priority' => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
	'type'        => 'custom',
	'settings'    => 'dark_photography_footer_text_heading_2',
	'section'     => 'dark_photography_footer_section',
		'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Footer Copyright Alignment', 'dark-photography' ) . '</h3>',
	'priority'    => 10,
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'dark_photography_copyright_text_alignment',
		'label'       => esc_html__( 'Copyright text Alignment', 'dark-photography' ),
		'section'     => 'dark_photography_footer_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'dark-photography' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'dark-photography' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'dark-photography' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'dark-photography' ),

		],
	] );

	Kirki::add_field( 'theme_config_id', [
	'type'        => 'custom',
	'settings'    => 'dark_photography_footer_text_heading_1',
	'section'     => 'dark_photography_footer_section',
		'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Footer Copyright Background Color', 'dark-photography' ) . '</h3>',
	'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'dark_photography_copyright_bg',
		'label'       => __( 'Choose Your Copyright Background Color', 'dark-photography' ),
		'section'     => 'dark_photography_footer_section',
		'default'     => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'dark_photography_enable_footer_socail_link',
		'section'     => 'dark_photography_footer_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Social Media Link', 'dark-photography' ) . '</h3>',
		'priority'    => 11,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'repeater',
		'section'     => 'dark_photography_footer_section',
		'priority'    => 11,
		'row_label' => [
			'type'  => 'field',
			'value' => esc_html__( 'Footer Social Icon', 'dark-photography' ),
			'field' => 'link_text',
		],
		'button_label' => esc_html__('Add New Social Icon', 'dark-photography' ),
		'settings'     => 'dark_photography_footer_social_links_settings',
		'default'      => '',
		'fields' 	   => [
			'link_text' => [
				'type'        => 'text',
				'label'       => esc_html__( 'Icon', 'dark-photography' ),
				'description' => esc_html__( 'Add the fontawesome class ex: "fab fa-facebook-f".', 'dark-photography' ),
				'default'     => '',
			],
			'link_url' => [
				'type'        => 'url',
				'label'       => esc_html__( 'Social Link', 'dark-photography' ),
				'description' => esc_html__( 'Add the social icon url here.', 'dark-photography' ),
				'default'     => '',
			],
		],
		'choices' => [
			'limit' => 5
		],
	] );
}

/*
 *  Customizer Notifications
 */

$dark_photography_config_customizer = array(
    'recommended_plugins' => array( 
        'kirki' => array(
            'recommended' => true,
            'description' => sprintf( 
                /* translators: %s: plugin name */
                esc_html__( 'If you want to show all the sections of the FrontPage, please install and activate %s plugin', 'dark-photography' ), 
                '<strong>' . esc_html__( 'Kirki Customizer', 'dark-photography' ) . '</strong>'
            ),
        ),
    ),
    'dark_photography_recommended_actions'       => array(),
    'dark_photography_recommended_actions_title' => esc_html__( 'Recommended Actions', 'dark-photography' ),
    'dark_photography_recommended_plugins_title' => esc_html__( 'Recommended Plugin', 'dark-photography' ),
    'dark_photography_install_button_label'      => esc_html__( 'Install and Activate', 'dark-photography' ),
    'dark_photography_activate_button_label'     => esc_html__( 'Activate', 'dark-photography' ),
    'dark_photography_deactivate_button_label'   => esc_html__( 'Deactivate', 'dark-photography' ),
);

Dark_Photography_Customizer_Notify::init( apply_filters( 'dark_photography_customizer_notify_array', $dark_photography_config_customizer ) );