<?php

if ( class_exists("Kirki")){

	// LOGO

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

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

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

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

	// FONT STYLE TYPOGRAPHY

	Kirki::add_panel( 'psychologist_therapy_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Typography', 'psychologist-therapy' ),
	) );

	Kirki::add_section( 'psychologist_therapy_font_style_section', array(
		'title'      => esc_html__( 'Typography Option',  'psychologist-therapy' ),
		'priority'   => 2,
		'capability' => 'edit_theme_options',
	) );

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

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

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

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

		// PANEL
	Kirki::add_panel( 'psychologist_therapy_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'psychologist-therapy' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'psychologist_therapy_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'psychologist-therapy' ),
	    'priority'       => 2,
	) );

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

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

	// PANEL
	Kirki::add_panel( 'psychologist_therapy_panel_id_2', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Dark Mode', 'psychologist-therapy' ),
	) );

	// DARK MODE SECTION
	Kirki::add_section( 'psychologist_therapy_section_dark_mode', array(
	    'title'          => esc_html__( 'Dark Mode', 'psychologist-therapy' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'psychologist_therapy_is_dark_mode_enabled',
		'label'       => esc_html__( 'Turn To Dark Mode', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_section_dark_mode',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'psychologist-therapy' ),
			'off' => esc_html__( 'Disable', 'psychologist-therapy' ),
		],
	] );


	// PANEL
	Kirki::add_panel( 'psychologist_therapy_panel_id_3', array(
	    'priority'    => 10,
	    'title'       => esc_html__( '404 Settings / No Result', 'psychologist-therapy' ),
	) );

	// 404 SECTION
	Kirki::add_section( 'psychologist_therapy_section_404', array(
		'panel'          => 'psychologist_therapy_panel_id_3',
	    'title'          => esc_html__( '404 Settings', 'psychologist-therapy' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'psychologist_therapy_404_page_title',
		'section'  => 'psychologist_therapy_section_404',
		'default'  => esc_html__('404 Not Found', 'psychologist-therapy'),
		'priority' => 10,
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'psychologist_therapy_404_page_content',
		'section'  => 'psychologist_therapy_section_404',
		'default'  => esc_html__('Sorry, no posts matched your criteria.', 'psychologist-therapy'),
		'priority' => 10,
	] );

	// NO Result
	Kirki::add_section( 'psychologist_therapy_no_result', array(
		'panel'          => 'psychologist_therapy_panel_id_3',
	    'title'          => esc_html__( 'No Result Page Settings', 'psychologist-therapy' ),
	    'priority'       => 3,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'psychologist_therapy_no_results_page_title',
		'section'  => 'psychologist_therapy_no_result',
		'default'  => esc_html__('404 Not Found', 'psychologist-therapy'),
		'priority' => 10,
	] );

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

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

	// PANEL

	Kirki::add_panel( 'psychologist_therapy_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Options', 'psychologist-therapy' ),
	) );

	//COLOR SECTION

	Kirki::add_section( 'psychologist_therapy_section_color', array(
	    'title'          => esc_html__( 'Global Color', 'psychologist-therapy' ),
	    'panel'          => 'psychologist_therapy_panel_id',
	    'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'psychologist_therapy_global_colors',
		'section'     => 'psychologist_therapy_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.', 'psychologist-therapy' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'psychologist_therapy_first_color',
		'label'       => __( 'Choose Your First Color', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_section_color',
		'default'     => '#fec140',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'psychologist_therapy_second_color',
		'label'       => __( 'Choose Your Second Color', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_section_color',
		'default'     => '#fef8ec',
	] );

	// Additional Settings

	Kirki::add_section( 'psychologist_therapy_additional_settings', array(
	    'title'          => esc_html__( 'Additional Settings', 'psychologist-therapy' ),
	    'panel'          => 'psychologist_therapy_panel_id',
	    'priority'       => 10,
	) );

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

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

	new \Kirki\Field\Radio_Buttonset(
		[
			'settings'    => 'psychologist_therapy_scroll_top_position',
			'label'       => esc_html__( 'Alignment for Scroll To Top', 'psychologist-therapy' ),
			'section'     => 'psychologist_therapy_additional_settings',
			'default'     => 'Right',
			'priority'    => 10,
			'choices'     => [
				'Left'   => esc_html__( 'Left', 'psychologist-therapy' ),
				'Center' => esc_html__( 'Center', 'psychologist-therapy' ),
				'Right'  => esc_html__( 'Right', 'psychologist-therapy' ),
			],
		]
		);

	new \Kirki\Field\Select(
	[
		'settings'    => 'menu_text_transform_psychologist_therapy',
		'label'       => esc_html__( 'Menus Text Transform', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_additional_settings',
		'default'     => 'UPPERCASE',
		'placeholder' => esc_html__( 'Choose an option', 'psychologist-therapy' ),
		'choices'     => [
			'CAPITALISE' => esc_html__( 'CAPITALISE', 'psychologist-therapy' ),
			'UPPERCASE' => esc_html__( 'UPPERCASE', 'psychologist-therapy' ),
			'LOWERCASE' => esc_html__( 'LOWERCASE', 'psychologist-therapy' ),

		],
	]	);

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'psychologist_therapy_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_additional_settings',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

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

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

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

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

	if ( class_exists("woocommerce")){

	// Woocommerce Settings

	Kirki::add_section( 'psychologist_therapy_woocommerce_settings', array(
			'title'          => esc_html__( 'Woocommerce Settings', 'psychologist-therapy' ),
			'panel'          => 'psychologist_therapy_panel_id',
			'priority'       => 160,
	) );

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

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

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

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

	new \Kirki\Field\Number(
	[
		'settings' => 'psychologist_therapy_per_columns',
		'label'    => esc_html__( 'Product Per Row', 'psychologist-therapy' ),
		'section'  => 'psychologist_therapy_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 4,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Number(
	[
		'settings' => 'psychologist_therapy_product_per_page',
		'label'    => esc_html__( 'Product Per Page', 'psychologist-therapy' ),
		'section'  => 'psychologist_therapy_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', 'psychologist-therapy' ),
		'section'  => 'psychologist_therapy_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', 'psychologist-therapy' ),
		'section'  => 'psychologist_therapy_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	]
	);

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

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

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'psychologist_therapy_woocommerce_pagination_position',
		'label'       => esc_html__( 'Woocommerce Pagination Alignment', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_woocommerce_settings',
		'default'     => 'Center',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'psychologist-therapy' ),
			'Center' => esc_html__( 'Center', 'psychologist-therapy' ),
			'Right'  => esc_html__( 'Right', 'psychologist-therapy' ),
		],
	]
	);

}	

	// POST SECTION

	Kirki::add_section( 'psychologist_therapy_section_post', array(
	    'title'          => esc_html__( 'Post Settings', 'psychologist-therapy' ),
	    'panel'          => 'psychologist_therapy_panel_id',
	    'priority'       => 160,
	) );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'psychologist_therapy_post_excerpt_number',
		'label'       => esc_html__( 'Post Content Range', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_section_post',
		'default'     => 10,
		'choices'     => [
			'min'  => 0,
			'max'  => 100,
			'step' => 1,
		],
	] );

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

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

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

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'psychologist_therapy_search_sidebar_layout',
		'label'       => esc_html__( 'Search Page Sidebar Layout Setting', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'psychologist-therapy' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','psychologist-therapy'),
            'Right Sidebar' => __('Right Sidebar','psychologist-therapy'),
            'Three Column' => __('Three Column','psychologist-therapy'),
            'Four Column' => __('Four Column','psychologist-therapy'),
            'Grid Layout Without Sidebar' => __('Grid Layout Without Sidebar','psychologist-therapy'),
            'Grid Layout With Right Sidebar' => __('Grid Layout With Right Sidebar','psychologist-therapy'),
            'Grid Layout With Left Sidebar' => __('Grid Layout With Left Sidebar','psychologist-therapy')
		],
	] );
	
	// Breadcrumb
	Kirki::add_section( 'psychologist_therapy_bradcrumb', array(
	    'title'          => esc_html__( 'Breadcrumb Settings', 'psychologist-therapy' ),
	    'panel'          => 'psychologist_therapy_panel_id',
	    'priority'       => 160,
	) );

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


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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'psychologist_therapy_breadcrumb_enable',
		'label'       => esc_html__( 'Breadcrumb Enable / Disable', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_bradcrumb',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'psychologist-therapy' ),
			'off' => esc_html__( 'Disable', 'psychologist-therapy' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'default'     => '/',
        'settings' => 'psychologist_therapy_breadcrumb_separator' ,
        'label'    => esc_html__( 'Breadcrumb Separator',  'psychologist-therapy' ),
        'section'  => 'psychologist_therapy_bradcrumb',
    ] );

	// HEADER SECTION

	Kirki::add_section( 'psychologist_therapy_section_header', array(
	    'title'          => esc_html__( 'Header Settings', 'psychologist-therapy' ),
	    'panel'          => 'psychologist_therapy_panel_id',
	    'priority'       => 160,
	) );

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

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

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'psychologist_therapy_header_phone_number',
		'section'  => 'psychologist_therapy_section_header',
		'default'  => '',
		'sanitize_callback' => 'psychologist_therapy_sanitize_phone_number',
	] );

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

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'psychologist_therapy_search_box_enable',
		'section'     => 'psychologist_therapy_section_header',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'psychologist-therapy' ),
			'off' => esc_html__( 'Disable', 'psychologist-therapy' ),
		],
	] );

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

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

	// SLIDER SECTION

	Kirki::add_section( 'psychologist_therapy_blog_slide_section', array(
        'title'          => esc_html__( 'Slider Settings', 'psychologist-therapy' ),
        'panel'          => 'psychologist_therapy_panel_id',
        'priority'       => 160,
    ) );

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'psychologist_therapy_blog_box_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_blog_slide_section',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'psychologist-therapy' ),
			'off' => esc_html__( 'Disable', 'psychologist-therapy' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'psychologist_therapy_title_unable_disable',
		'label'       => esc_html__( 'Slide Title Enable / Disable', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_blog_slide_section',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'psychologist-therapy' ),
			'off' => esc_html__( 'Disable', 'psychologist-therapy' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'psychologist_therapy_text_unable_disable',
		'label'       => esc_html__( 'Slide Text Enable / Disable', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_blog_slide_section',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'psychologist-therapy' ),
			'off' => esc_html__( 'Disable', 'psychologist-therapy' ),
		],
	] );


	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'psychologist_therapy_button_unable_disable',
		'label'       => esc_html__( 'Slide Button Enable / Disable', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_blog_slide_section',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'psychologist-therapy' ),
			'off' => esc_html__( 'Disable', 'psychologist-therapy' ),
		],
	] );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'psychologist_therapy_blog_slide_category',
		'label'       => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_blog_slide_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'psychologist-therapy' ),
		'priority'    => 10,
		'choices'     => psychologist_therapy_get_categories_select(),
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'psychologist_therapy_slider_content_alignment',
		'label'       => esc_html__( 'Slider Content Alignment', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_blog_slide_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'psychologist-therapy' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'psychologist-therapy' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'psychologist-therapy' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'psychologist-therapy' ),

		],
	] );

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

		],
	] );

	// OUR SESSION SECTION

	Kirki::add_section( 'psychologist_therapy_session_section', array(
	    'title'          => esc_html__( 'Our Session Settings', 'psychologist-therapy' ),
	    'panel'          => 'psychologist_therapy_panel_id',
	    'priority'       => 160,
	) );

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

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'psychologist_therapy_session_section_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_session_section',
		'default'     => false,
		'priority'    => 2,
		'choices'     => [
			'on'  => esc_html__( 'Enable',  'psychologist-therapy' ),
			'off' => esc_html__( 'Disable',  'psychologist-therapy' ),
		],
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'psychologist_therapy_session_text_heading',
		'section'     => 'psychologist_therapy_session_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Our Session', 'psychologist-therapy' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'       => esc_html__( 'Heading', 'psychologist-therapy' ),
		'settings' => 'psychologist_therapy_session_heading',
		'section'  => 'psychologist_therapy_session_section',
		'default'  => '',
		'priority' => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'       => esc_html__( 'Text', 'psychologist-therapy' ),
		'settings' => 'psychologist_therapy_session_heading_text',
		'section'  => 'psychologist_therapy_session_section',
		'default'  => '',
		'priority' => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'psychologist_therapy_session_category',
		'label'       => esc_html__( 'Select the category to show session ', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_session_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'psychologist-therapy' ),
		'priority'    => 10,
		'choices'     => psychologist_therapy_get_categories_select(),
	] );

	// FOOTER SECTION

	Kirki::add_section( 'psychologist_therapy_footer_section', array(
        'title'          => esc_html__( 'Footer Settings', 'psychologist-therapy' ),
        'panel'          => 'psychologist_therapy_panel_id',
        'priority'       => 160,
    ) );

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

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

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

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'psychologist_therapy_copyright_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_footer_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'psychologist-therapy' ),
			'off' => esc_html__( 'Disable', 'psychologist-therapy' ),
		],
	] );

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'psychologist_therapy_copyright_text_alignment',
		'label'       => esc_html__( 'Copyright text Alignment', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_footer_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'psychologist-therapy' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'psychologist-therapy' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'psychologist-therapy' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'psychologist-therapy' ),

		],
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'psychologist_therapy_copyright_bg',
		'label'       => __( 'Choose Your Copyright Background Color', 'psychologist-therapy' ),
		'section'     => 'psychologist_therapy_footer_section',
		'default'     => '',
	] );
}

/*
 *  Customizer Notifications
 */

$psychologist_therapy_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', 'psychologist-therapy' ), 
                '<strong>' . esc_html__( 'Kirki Customizer', 'psychologist-therapy' ) . '</strong>'
            ),
        ),
    ),
    'psychologist_therapy_recommended_actions'       => array(),
    'psychologist_therapy_recommended_actions_title' => esc_html__( 'Recommended Actions', 'psychologist-therapy' ),
    'psychologist_therapy_recommended_plugins_title' => esc_html__( 'Recommended Plugin', 'psychologist-therapy' ),
    'psychologist_therapy_install_button_label'      => esc_html__( 'Install and Activate', 'psychologist-therapy' ),
    'psychologist_therapy_activate_button_label'     => esc_html__( 'Activate', 'psychologist-therapy' ),
    'psychologist_therapy_deactivate_button_label'   => esc_html__( 'Deactivate', 'psychologist-therapy' ),
);

Psychologist_Therapy_Customizer_Notify::init( apply_filters( 'psychologist_therapy_customizer_notify_array', $psychologist_therapy_config_customizer ) );