<?php

if ( class_exists("Kirki")){

	// LOGO

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'nonprofit_organization_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', 'nonprofit-organization' ) . '</h3>',
		'priority'    => 10,
	] );

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

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

	// FONT STYLE TYPOGRAPHY

	Kirki::add_panel( 'nonprofit_organization_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Typography', 'nonprofit-organization' ),
	) );

	Kirki::add_section( 'nonprofit_organization_font_style_section', array(
		'title'      => esc_html__( 'Typography Option',  'nonprofit-organization' ),
		'priority'   => 2,
		'capability' => 'edit_theme_options',
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
	] );

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

	Kirki::add_field( 'global', array(
		'type'        => 'typography',
		'settings'    => 'nonprofit_organization_all_headings_typography',
		'label'       => esc_html__( 'Heading Typography',  'nonprofit-organization' ),
		'description' => esc_html__( 'Select the typography options for your heading.',  'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_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'    => 'nonprofit_organization_body_content_typography',
		'section'     => 'nonprofit_organization_font_style_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Body Content',  'nonprofit-organization' ) . '</h3>',
		'priority'    => 10,
	] );

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

		// PANEL
	Kirki::add_panel( 'nonprofit_organization_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'nonprofit-organization' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'nonprofit_organization_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'nonprofit-organization' ),
	    'priority'       => 2,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
	]);

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

	// // PANEL
	// Kirki::add_panel( 'nonprofit_organization_panel_id_2', array(
	//     'priority'    => 10,
	//     'title'       => esc_html__( 'Theme Dark Mode', 'nonprofit-organization' ),
	// ) );

	// // DARK MODE SECTION
	// Kirki::add_section( 'nonprofit_organization_section_dark_mode', array(
	//     'title'          => esc_html__( 'Dark Mode', 'nonprofit-organization' ),
	//     'priority'       => 3,
	// ) );

	// Kirki::add_field( 'theme_config_id', [
	//     'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	//     'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	//     'type'        => 'custom',
	//     'section'     => 'nonprofit_organization_section_dark_mode',
	//     '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>', 'nonprofit-organization' ) . '</div>',
	// ]);

	// Kirki::add_field( 'theme_config_id', [
	//     'type'        => 'custom',
	//     'settings'    => 'nonprofit_organization_dark_colors',
	//     'section'     => 'nonprofit_organization_section_dark_mode',
	//     'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Dark Appearance', 'nonprofit-organization' ) . '</h3>',
	//     'priority'    => 10,
	// ]);

	// Kirki::add_field( 'theme_config_id', [
	// 	'type'        => 'switch',
	// 	'settings'    => 'nonprofit_organization_is_dark_mode_enabled',
	// 	'label'       => esc_html__( 'Turn To Dark Mode', 'nonprofit-organization' ),
	// 	'section'     => 'nonprofit_organization_section_dark_mode',
	// 	'default'     => false,
	// 	'priority'    => 10,
	// 	'choices'     => [
	// 		'on'  => esc_html__( 'Enable', 'nonprofit-organization' ),
	// 		'off' => esc_html__( 'Disable', 'nonprofit-organization' ),
	// 	],
	// ] );


	// PANEL
	Kirki::add_panel( 'nonprofit_organization_panel_id_3', array(
	    'priority'    => 10,
	    'title'       => esc_html__( '404 Settings / No Result', 'nonprofit-organization' ),
	) );

	// 404 SECTION
	Kirki::add_section( 'nonprofit_organization_section_404', array(
		'panel'          => 'nonprofit_organization_panel_id_3',
	    'title'          => esc_html__( '404 Settings', 'nonprofit-organization' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
		'priority'    => 10,
	]);

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'nonprofit_organization_404_page_title',
		'section'  => 'nonprofit_organization_section_404',
		'default'  => esc_html__('404 Not Found', 'nonprofit-organization'),
		'priority' => 10,
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'nonprofit_organization_404_page_content',
		'section'  => 'nonprofit_organization_section_404',
		'default'  => esc_html__('Sorry, no posts matched your criteria.', 'nonprofit-organization'),
		'priority' => 10,
	] );

	// NO Result
	Kirki::add_section( 'nonprofit_organization_no_result', array(
		'panel'          => 'nonprofit_organization_panel_id_3',
	    'title'          => esc_html__( 'No Result Page Settings', 'nonprofit-organization' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
		'priority'    => 10,
	]);

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'nonprofit_organization_no_results_page_title',
		'section'  => 'nonprofit_organization_no_result',
		'default'  => esc_html__('404 Not Found', 'nonprofit-organization'),
		'priority' => 10,
	] );

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

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


	// PANEL

	Kirki::add_panel( 'nonprofit_organization_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Options', 'nonprofit-organization' ),
	) );

	//COLOR SECTION

	Kirki::add_section( 'nonprofit_organization_section_color', array(
	    'title'          => esc_html__( 'Global Color', 'nonprofit-organization' ),
	    'panel'          => 'nonprofit_organization_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'nonprofit_organization_global_colors',
		'section'     => 'nonprofit_organization_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.', 'nonprofit-organization' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'nonprofit_organization_first_color',
		'label'       => __( 'Choose Your First Color', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_section_color',
		'default'     => '#30cf91',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'nonprofit_organization_second_color',
		'label'       => __( 'Choose Your Second Color', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_section_color',
		'default'     => '#262f34',
	] );

	// Additional Settings

	Kirki::add_section( 'nonprofit_organization_Additional_settings', array(
	    'title'          => esc_html__( 'Additional Settings', 'nonprofit-organization' ),
	    'panel'          => 'nonprofit_organization_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'nonprofit_organization_scroll_enable_setting',
		'label'       => esc_html__( 'Here you can enable or disable your scroller.', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_Additional_settings',
		'default'     => '0',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'dashicons',
		'settings' => 'nonprofit_organization_scroll_top_icon',
		'label'    => esc_html__( 'Select Appropriate Scroll Top Icon', 'nonprofit-organization' ),
		'section'  => 'nonprofit_organization_Additional_settings',
		'default'  => 'dashicons dashicons-arrow-up-alt',
		'priority' => 10,
	] );


	new \Kirki\Field\Select(
	[
		'settings'    => 'menu_text_transform_nonprofit_organization',
		'label'       => esc_html__( 'Menus Text Transform', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_Additional_settings',
		'default'     => 'UPPERCASE',
		'placeholder' => esc_html__( 'Choose an option', 'nonprofit-organization' ),
		'choices'     => [
			'CAPITALISE' => esc_html__( 'CAPITALISE', 'nonprofit-organization' ),
			'UPPERCASE' => esc_html__( 'UPPERCASE', 'nonprofit-organization' ),
			'LOWERCASE' => esc_html__( 'LOWERCASE', 'nonprofit-organization' ),

		],
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'nonprofit_organization_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_Additional_settings',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'nonprofit_organization_sticky_header',
		'label'       => esc_html__( 'Here you can enable or disable your Sticky Header.', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_Additional_settings',
		'default'     => false,
		'priority'    => 10,
	] );

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

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

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

	if ( class_exists("woocommerce")){

	// Woocommerce Settings

	Kirki::add_section( 'nonprofit_organization_woocommerce_settings', array(
		'title'          => esc_html__( 'Woocommerce Settings', 'nonprofit-organization' ),
		'panel'          => 'nonprofit_organization_panel_id',
		'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
	] );

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

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

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

	new \Kirki\Field\Number(
	[
		'settings' => 'nonprofit_organization_per_columns',
		'label'    => esc_html__( 'Product Per Row', 'nonprofit-organization' ),
		'section'  => 'nonprofit_organization_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 4,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Number(
	[
		'settings' => 'nonprofit_organization_product_per_page',
		'label'    => esc_html__( 'Product Per Page', 'nonprofit-organization' ),
		'section'  => 'nonprofit_organization_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', 'nonprofit-organization' ),
		'section'  => 'nonprofit_organization_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', 'nonprofit-organization' ),
		'section'  => 'nonprofit_organization_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	]
	);

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

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

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'nonprofit_organization_woocommerce_pagination_position',
		'label'       => esc_html__( 'Woocommerce Pagination Alignment', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_woocommerce_settings',
		'default'     => 'Center',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'nonprofit-organization' ),
			'Center' => esc_html__( 'Center', 'nonprofit-organization' ),
			'Right'  => esc_html__( 'Right', 'nonprofit-organization' ),
		],
	]
	);

}

	// POST SECTION

	Kirki::add_section( 'nonprofit_organization_section_post', array(
	    'title'          => esc_html__( 'Post Settings', 'nonprofit-organization' ),
	    'panel'          => 'nonprofit_organization_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'nonprofit_organization_post_excerpt_number',
		'label'       => esc_html__( 'Post Content Range', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_section_post',
		'default'     => 10,
		'choices'     => [
			'min'  => 0,
			'max'  => 25,
			'step' => 1,
		],
	] );

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

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

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

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

	// Breadcrumb
	Kirki::add_section( 'nonprofit_organization_bradcrumb', array(
	    'title'          => esc_html__( 'Breadcrumb Settings', 'nonprofit-organization' ),
	    'panel'          => 'nonprofit_organization_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'nonprofit_organization_breadcrumb_enable',
		'label'       => esc_html__( 'Breadcrumb Enable / Disable', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_bradcrumb',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'nonprofit-organization' ),
			'off' => esc_html__( 'Disable', 'nonprofit-organization' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'default'     => '/',
        'settings' => 'nonprofit_organization_breadcrumb_separator' ,
        'label'    => esc_html__( 'Breadcrumb Separator',  'nonprofit-organization' ),
        'section'  => 'nonprofit_organization_bradcrumb',
    ] );

	// HEADER SECTION

	Kirki::add_section( 'nonprofit_organization_section_header', array(
	    'title'          => esc_html__( 'Header Settings', 'nonprofit-organization' ),
	    'panel'          => 'nonprofit_organization_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'nonprofit_organization_phone_support_text',
		'section'  => 'nonprofit_organization_section_header',
		'default'  => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'nonprofit_organization_phone_support',
		'section'  => 'nonprofit_organization_section_header',
		'default'  => '',
		'sanitize_callback' => 'nonprofit_organization_sanitize_phone_number',
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'nonprofit_organization_email_support_text',
		'section'  => 'nonprofit_organization_section_header',
		'default'  => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'nonprofit_organization_email_support',
		'section'  => 'nonprofit_organization_section_header',
		'default'  => '',
		'sanitize_callback' => 'sanitize_email',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'nonprofit_organization_header_location_heading',
		'section'     => 'nonprofit_organization_section_header',
		'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Add Location', 'nonprofit-organization' ) . '</h3>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'nonprofit_organization_location_text',
		'section'  => 'nonprofit_organization_section_header',
		'default'  => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'nonprofit_organization_location',
		'section'  => 'nonprofit_organization_section_header',
		'default'  => '',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'nonprofit_organization_header_donation_heading',
		'section'     => 'nonprofit_organization_section_header',
		'default'     => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Add Donation Button', 'nonprofit-organization' ) . '</h3>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'nonprofit_organization_donation_text',
		'section'  => 'nonprofit_organization_section_header',
		'default'  => '',
	] );

	// SLIDER SECTION

	Kirki::add_section( 'nonprofit_organization_blog_slide_section', array(
        'title'          => esc_html__( ' Slider Settings', 'nonprofit-organization' ),
        'panel'          => 'nonprofit_organization_panel_id',
        'priority'       => 160,
    ) );

    Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'nonprofit_organization_blog_box_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_blog_slide_section',
		'default'     => '0',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'nonprofit-organization' ),
			'off' => esc_html__( 'Disable', 'nonprofit-organization' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'nonprofit_organization_title_unable_disable',
		'label'       => esc_html__( 'Slide Title Enable / Disable', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'nonprofit-organization' ),
			'off' => esc_html__( 'Disable', 'nonprofit-organization' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'nonprofit_organization_button_unable_disable',
		'label'       => esc_html__( 'Slide Button Enable / Disable', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'nonprofit-organization' ),
			'off' => esc_html__( 'Disable', 'nonprofit-organization' ),
		],
	] );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'nonprofit_organization_blog_slide_category',
		'label'       => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_blog_slide_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'nonprofit-organization' ),
		'priority'    => 10,
		'choices'     => nonprofit_organization_get_categories_select(),
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'    => 'Extra Slider Text',
		'settings' => 'nonprofit_organization_extra_text',
		'section'  => 'nonprofit_organization_blog_slide_section',
		'default'  => '',
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'nonprofit_organization_slider_content_alignment',
		'label'       => esc_html__( 'Slider Content Alignment', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_blog_slide_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'nonprofit-organization' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'nonprofit-organization' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'nonprofit-organization' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'nonprofit-organization' ),

		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'nonprofit_organization_slider_opacity_color',
		'label'       => esc_html__( 'Slider Opacity Option', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_blog_slide_section',
		'default'     => '0.4',
		'placeholder' => esc_html__( 'Choose an option', 'nonprofit-organization' ),
		'choices'     => [
			'0' => esc_html__( '0', 'nonprofit-organization' ),
			'0.1' => esc_html__( '0.1', 'nonprofit-organization' ),
			'0.2' => esc_html__( '0.2', 'nonprofit-organization' ),
			'0.3' => esc_html__( '0.3', 'nonprofit-organization' ),
			'0.4' => esc_html__( '0.4', 'nonprofit-organization' ),
			'0.5' => esc_html__( '0.5', 'nonprofit-organization' ),
			'0.6' => esc_html__( '0.6', 'nonprofit-organization' ),
			'0.7' => esc_html__( '0.7', 'nonprofit-organization' ),
			'0.8' => esc_html__( '0.8', 'nonprofit-organization' ),
			'0.9' => esc_html__( '0.9', 'nonprofit-organization' ),
			'unset' => esc_html__( 'unset', 'nonprofit-organization' ),
			

		],
	] );

	// FEATURED CAMPAIGNS SECTION

	Kirki::add_section( 'nonprofit_organization_featured_campaigns_section', array(
	    'title'          => esc_html__( 'Featured Campaigns Settings', 'nonprofit-organization' ),
	    'panel'          => 'nonprofit_organization_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_featured_campaigns_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>', 'nonprofit-organization' ) . '</div>',
	    'priority'    => 1,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'nonprofit_organization_enable_heading',
		'section'     => 'nonprofit_organization_featured_campaigns_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Featured Campaigns',  'nonprofit-organization' ) . '</h3>',
		'priority'    => 1,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'nonprofit_organization_featured_campaigns_section_enable',
		'label'       => esc_html__( 'Section Enable / Disable',  'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_featured_campaigns_section',
		'default'     => '0',
		'priority'    => 2,
		'choices'     => [
			'on'  => esc_html__( 'Enable',  'nonprofit-organization' ),
			'off' => esc_html__( 'Disable',  'nonprofit-organization' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'settings' => 'nonprofit_organization_featured_campaigns_heading' ,
        'label'    => esc_html__( 'Heading',  'nonprofit-organization' ),
        'section'  => 'nonprofit_organization_featured_campaigns_section',
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'nonprofit_organization_featured_campaigns_cat_heading',
		'section'     => 'nonprofit_organization_featured_campaigns_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( ' Category Dropdown', 'nonprofit-organization' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'nonprofit_organization_featured_campaigns_number',
		'label'       => esc_html__( 'Number of post to show', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_featured_campaigns_section',
		'default'     => 0,
		'choices'     => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'nonprofit_organization_featured_campaigns_category',
		'label'       => esc_html__( 'Select the category to show left side post', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_featured_campaigns_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'nonprofit-organization' ),
		'priority'    => 10,
		'choices'     => nonprofit_organization_get_categories_select(),
	] );

	// FOOTER SECTION

	Kirki::add_section( 'nonprofit_organization_footer_section', array(
        'title'          => esc_html__( 'Footer Settings', 'nonprofit-organization' ),
        'panel'          => 'nonprofit_organization_panel_id',
        'priority'       => 160,
    ) );

    Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'nonprofit-organization' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( NONPROFIT_ORGANIZATION_BUY_NOW ) . '">' . __( 'GO TO PREMIUM', 'nonprofit-organization' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'nonprofit_organization_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>', 'nonprofit-organization' ) . '</div>',
	] );

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

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'nonprofit_organization_copyright_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_footer_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'nonprofit-organization' ),
			'off' => esc_html__( 'Disable', 'nonprofit-organization' ),
		],
	] );

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'nonprofit_organization_copyright_text_alignment',
		'label'       => esc_html__( 'Copyright text Alignment', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_footer_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'nonprofit-organization' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'nonprofit-organization' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'nonprofit-organization' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'nonprofit-organization' ),

		],
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'nonprofit_organization_copyright_bg',
		'label'       => __( 'Choose Your Copyright Background Color', 'nonprofit-organization' ),
		'section'     => 'nonprofit_organization_footer_section',
		'default'     => '',
	] );

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

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

/*
 *  Customizer Notifications
 */

$nonprofit_organization_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', 'nonprofit-organization' ), 
                '<strong>' . esc_html__( 'Kirki Customizer', 'nonprofit-organization' ) . '</strong>'
            ),
        ),
    ),
    'nonprofit_organization_recommended_actions'       => array(),
    'nonprofit_organization_recommended_actions_title' => esc_html__( 'Recommended Actions', 'nonprofit-organization' ),
    'nonprofit_organization_recommended_plugins_title' => esc_html__( 'Recommended Plugin', 'nonprofit-organization' ),
    'nonprofit_organization_install_button_label'      => esc_html__( 'Install and Activate', 'nonprofit-organization' ),
    'nonprofit_organization_activate_button_label'     => esc_html__( 'Activate', 'nonprofit-organization' ),
    'nonprofit_organization_deactivate_button_label'   => esc_html__( 'Deactivate', 'nonprofit-organization' ),
);

Nonprofit_Organization_Customizer_Notify::init( apply_filters( 'nonprofit_organization_customizer_notify_array', $nonprofit_organization_config_customizer ) );