<?php

if ( ! defined( 'AUTO_PARTS_SUPPLIER_BUY_NOW_1' ) ) {
define('AUTO_PARTS_SUPPLIER_BUY_NOW_1',__('https://www.misbahwp.com/products/auto-parts-wordpress-theme','auto-parts-supplier'));
}

if ( class_exists("Kirki")){

	// LOGO

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'auto_parts_supplier_logo_resizer',
		'label'       => esc_html__( 'Adjust Your Logo Size ', 'auto-parts-supplier' ),
		'section'     => 'title_tagline',
		'choices'     => [
			'min'  => 10,
			'max'  => 245,
			'step' => 5,
		],
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'auto_parts_supplier_display_header_title',
		'label'       => esc_html__( 'Site Title Enable / Disable Button', 'auto-parts-supplier' ),
		'section'     => 'title_tagline',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'auto-parts-supplier' ),
			'off' => esc_html__( 'Disable', 'auto-parts-supplier' ),
		],
	] );

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

	// FONT STYLE TYPOGRAPHY

	Kirki::add_panel( 'auto_parts_supplier_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Typography', 'auto-parts-supplier' ),
	) );

	Kirki::add_section( 'auto_parts_supplier_font_style_section', array(
		'title'      => esc_html__( 'Typography Option',  'auto-parts-supplier' ),
		'priority'   => 2,
		'capability' => 'edit_theme_options',
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

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

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

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

		// PANEL
	Kirki::add_panel( 'auto_parts_supplier_panel_id_5', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Animations', 'auto-parts-supplier' ),
	) );

	// ANIMATION SECTION
	Kirki::add_section( 'auto_parts_supplier_section_animation', array(
	    'title'          => esc_html__( 'Animations', 'auto-parts-supplier' ),
	    'priority'       => 2,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_section_animation',
	    '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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'auto_parts_supplier_animation_enabled',
		'label'       => esc_html__( 'Turn To Show Animation', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_section_animation',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'auto-parts-supplier' ),
			'off' => esc_html__( 'Disable', 'auto-parts-supplier' ),
		],
	] );

	// PANEL
	Kirki::add_panel( 'auto_parts_supplier_panel_id_2', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Dark Mode', 'auto-parts-supplier' ),
	) );

	// DARK MODE SECTION
	Kirki::add_section( 'auto_parts_supplier_section_dark_mode', array(
	    'title'          => esc_html__( 'Dark Mode', 'auto-parts-supplier' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_section_dark_mode',
	    '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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'auto_parts_supplier_is_dark_mode_enabled',
		'label'       => esc_html__( 'Turn To Dark Mode', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_section_dark_mode',
		'default'     => false,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'auto-parts-supplier' ),
			'off' => esc_html__( 'Disable', 'auto-parts-supplier' ),
		],
	] );


	// PANEL
	Kirki::add_panel( 'auto_parts_supplier_panel_id_3', array(
	    'priority'    => 10,
	    'title'       => esc_html__( '404 Settings / No Result', 'auto-parts-supplier' ),
	) );

	// 404 SECTION
	Kirki::add_section( 'auto_parts_supplier_section_404', array(
		'panel'          => 'auto_parts_supplier_panel_id_3',
	    'title'          => esc_html__( '404 Settings', 'auto-parts-supplier' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_section_404',
	    '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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_404_page_title',
		'section'  => 'auto_parts_supplier_section_404',
		'default'  => esc_html__('404 Not Found', 'auto-parts-supplier'),
		'priority' => 10,
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_404_page_content',
		'section'  => 'auto_parts_supplier_section_404',
		'default'  => esc_html__('Sorry, no posts matched your criteria.', 'auto-parts-supplier'),
		'priority' => 10,
	] );

	// NO Result
	Kirki::add_section( 'auto_parts_supplier_no_result', array(
		'panel'          => 'auto_parts_supplier_panel_id_3',
	    'title'          => esc_html__( 'No Result Page Settings', 'auto-parts-supplier' ),
	    'priority'       => 3,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_no_result',
	    '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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_no_results_page_title',
		'section'  => 'auto_parts_supplier_no_result',
		'default'  => esc_html__('404 Not Found', 'auto-parts-supplier'),
		'priority' => 10,
	] );

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

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


	// PANEL

	Kirki::add_panel( 'auto_parts_supplier_panel_id', array(
	    'priority'    => 10,
	    'title'       => esc_html__( 'Theme Options', 'auto-parts-supplier' ),
	) );

	//COLOR SECTION

	Kirki::add_section( 'auto_parts_supplier_section_color', array(
	    'title'          => esc_html__( 'Global Color', 'auto-parts-supplier' ),
	    'panel'          => 'auto_parts_supplier_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'auto_parts_supplier_global_colors',
		'section'     => 'auto_parts_supplier_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.', 'auto-parts-supplier' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'auto_parts_supplier_first_color',
		'label'       => __( 'Choose Your First Color', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_section_color',
		'default'     => '#EC2324',
	] );

	// Additional Settings

	Kirki::add_section( 'auto_parts_supplier_additional_settings', array(
	    'title'          => esc_html__( 'Additional Settings', 'auto-parts-supplier' ),
	    'panel'          => 'auto_parts_supplier_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_additional_settings',
	    '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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'auto_parts_supplier_scroll_enable_setting',
		'label'       => esc_html__( 'Here you can enable or disable your scroller.', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_additional_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'auto_parts_supplier_scroll_top_position',
		'label'       => esc_html__( 'Alignment for Scroll To Top', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_additional_settings',
		'default'     => 'Right',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'auto-parts-supplier' ),
			'Center' => esc_html__( 'Center', 'auto-parts-supplier' ),
			'Right'  => esc_html__( 'Right', 'auto-parts-supplier' ),
		],
	]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'dashicons',
		'settings' => 'auto_parts_supplier_scroll_top_icon',
		'label'    => esc_html__( 'Select Appropriate Scroll Top Icon', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_additional_settings',
		'default'  => 'dashicons dashicons-arrow-up-alt',
		'priority' => 10,
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'menu_text_transform_auto_parts_supplier',
		'label'       => esc_html__( 'Menus Text Transform', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_additional_settings',
		'default'     => 'CAPITALISE',
		'placeholder' => esc_html__( 'Choose an option', 'auto-parts-supplier' ),
		'choices'     => [
			'CAPITALISE' => esc_html__( 'CAPITALISE', 'auto-parts-supplier' ),
			'UPPERCASE' => esc_html__( 'UPPERCASE', 'auto-parts-supplier' ),
			'LOWERCASE' => esc_html__( 'LOWERCASE', 'auto-parts-supplier' ),

		],
	]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'auto_parts_supplier_menu_zoom',
		'label'       => esc_html__( 'Menu Transition', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_additional_settings',
		'default' => 'None',
		'placeholder' => esc_html__( 'Choose an option', 'auto-parts-supplier' ),
		'choices'     => [
			'None' => __('None','auto-parts-supplier'),
            'Zoominn' => __('Zoom Inn','auto-parts-supplier'),
            
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'auto_parts_supplier_container_width',
		'label'       => esc_html__( 'Theme Container Width', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_additional_settings',
		'default'     => 100,
		'choices'     => [
			'min'  => 50,
			'max'  => 100,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'auto_parts_supplier_sticky_header',
		'label'       => esc_html__( 'Here you can enable or disable your Sticky Header.', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_additional_settings',
		'default'     => false,
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'auto_parts_supplier_site_loader',
		'label'       => esc_html__( 'Here you can enable or disable your Site Loader.', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_additional_settings',
		'default'     => false,
		'priority'    => 10,
	] );

		new \Kirki\Field\Select(
	[
		'settings'    => 'auto_parts_supplier_preloader_type',
		'label'       => esc_html__( 'Preloader Type', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_additional_settings',
		'default' => 'four-way-loader',
		'placeholder' => esc_html__( 'Choose an option', 'auto-parts-supplier' ),
		'choices'     => [
			'four-way-loader' => __('Type 1','auto-parts-supplier'),
            'cube-loader' => __('Type 2','auto-parts-supplier'),
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'auto_parts_supplier_page_layout',
		'label'       => esc_html__( 'Page Layout Setting', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_additional_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'auto-parts-supplier' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','auto-parts-supplier'),
            'Right Sidebar' => __('Right Sidebar','auto-parts-supplier'),
            'One Column' => __('One Column','auto-parts-supplier')
		],
	] );

	if ( class_exists("woocommerce")){

	// Woocommerce Settings

	Kirki::add_section( 'auto_parts_supplier_woocommerce_settings', array(
			'title'          => esc_html__( 'Woocommerce Settings', 'auto-parts-supplier' ),
			'panel'          => 'auto_parts_supplier_panel_id',
			'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_woocommerce_settings',
	    '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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'auto_parts_supplier_shop_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable shop page sidebar.', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'auto_parts_supplier_product_sidebar',
		'label'       => esc_html__( 'Here you can enable or disable product page sidebar.', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_woocommerce_settings',
		'default'     => '1',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'auto_parts_supplier_related_product_setting',
		'label'       => esc_html__( 'Here you can enable or disable your related products.', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_woocommerce_settings',
		'default'     => true,
		'priority'    => 10,
	] );

	new \Kirki\Field\Number(
	[
		'settings' => 'auto_parts_supplier_per_columns',
		'label'    => esc_html__( 'Product Per Row', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 4,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Number(
	[
		'settings' => 'auto_parts_supplier_product_per_page',
		'label'    => esc_html__( 'Product Per Page', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_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', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_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', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_woocommerce_settings',
		'default'  => 3,
		'choices'  => [
			'min'  => 1,
			'max'  => 10,
			'step' => 1,
		],
	]
	);

	new \Kirki\Field\Select(
	[
		'settings'    => 'auto_parts_supplier_shop_page_layout',
		'label'       => esc_html__( 'Shop Page Layout Setting', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'auto-parts-supplier' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','auto-parts-supplier'),
            'Right Sidebar' => __('Right Sidebar','auto-parts-supplier')
		],
	] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'auto_parts_supplier_product_page_layout',
		'label'       => esc_html__( 'Product Page Layout Setting', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_woocommerce_settings',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'auto-parts-supplier' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','auto-parts-supplier'),
            'Right Sidebar' => __('Right Sidebar','auto-parts-supplier')
		],
	] );

	
	new \Kirki\Field\Radio_Buttonset(
	[
		'settings'    => 'auto_parts_supplier_woocommerce_pagination_position',
		'label'       => esc_html__( 'Woocommerce Pagination Alignment', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_woocommerce_settings',
		'default'     => 'Center',
		'priority'    => 10,
		'choices'     => [
			'Left'   => esc_html__( 'Left', 'auto-parts-supplier' ),
			'Center' => esc_html__( 'Center', 'auto-parts-supplier' ),
			'Right'  => esc_html__( 'Right', 'auto-parts-supplier' ),
		],
	]
	);

}

	// POST SECTION

	Kirki::add_section( 'auto_parts_supplier_section_post', array(
	    'title'          => esc_html__( 'Post Settings', 'auto-parts-supplier' ),
	    'panel'          => 'auto_parts_supplier_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_section_post',
	    '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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'auto_parts_supplier_post_excerpt_number_1',
		'label'       => esc_html__( 'Post Content Range', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_section_post',
		'default'     => 15,
		'choices'     => [
			'min'  => 10,
			'max'  => 100,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'toggle',
		'settings'    => 'auto_parts_supplier_pagination_setting',
		'label'       => esc_html__( 'Here you can enable or disable your Pagination.', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_section_post',
		'default'     => true,
		'priority'    => 10,
	] );

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'auto_parts_supplier_single_post_sidebar_layout',
		'label'       => esc_html__( 'Single Post Sidebar Layout Setting', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_section_post',
		'default' => 'Right Sidebar',
		'placeholder' => esc_html__( 'Choose an option', 'auto-parts-supplier' ),
		'choices'     => [
			'Left Sidebar' => __('Left Sidebar','auto-parts-supplier'),
            'Right Sidebar' => __('Right Sidebar','auto-parts-supplier'),
		],
	] );

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

		// Breadcrumb
	Kirki::add_section( 'auto_parts_supplier_bradcrumb', array(
	    'title'          => esc_html__( 'Breadcrumb Settings', 'auto-parts-supplier' ),
	    'panel'          => 'auto_parts_supplier_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_bradcrumb',
	    '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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'auto_parts_supplier_breadcrumb_enable',
		'label'       => esc_html__( 'Breadcrumb Enable / Disable', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_bradcrumb',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'auto-parts-supplier' ),
			'off' => esc_html__( 'Disable', 'auto-parts-supplier' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'default'     => '/',
        'settings' => 'auto_parts_supplier_breadcrumb_separator' ,
        'label'    => esc_html__( 'Breadcrumb Separator',  'auto-parts-supplier' ),
        'section'  => 'auto_parts_supplier_bradcrumb',
    ] );

	// HEADER SECTION

	Kirki::add_section( 'auto_parts_supplier_section_header', array(
	    'title'          => esc_html__( 'Header Settings', 'auto-parts-supplier' ),
	    'panel'          => 'auto_parts_supplier_panel_id',
	    'priority'       => 160,
	) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_section_header',
	    '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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'auto_parts_supplier_header_announcement_text_heading',
		'section'     => 'auto_parts_supplier_section_header',
		'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Topbar Text', 'auto-parts-supplier' ) . '</h3>',
		'priority'    => 10,
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'auto_parts_supplier_header_inner_phone_numer_text',
		'section'     => 'auto_parts_supplier_section_header',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Phone Number Text',  'auto-parts-supplier' ) . '</h3>',
	] );

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'settings' => 'auto_parts_supplier_header_inner_phone_aditional_heading' ,
        'section'  => 'auto_parts_supplier_section_header',
    ] );

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

	Kirki::add_field( 'theme_config_id', [
        'type'     => 'text',
        'settings' => 'auto_parts_supplier_header_inner_phone_numer' ,
        'section'  => 'auto_parts_supplier_section_header',
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'auto_parts_supplier_header_button_heading',
		'section'     => 'auto_parts_supplier_section_header',
		'priority'    => 12,
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Wishlist Urls',  'auto-parts-supplier' ) . '</h3>',
	] );


	Kirki::add_field( 'theme_config_id', [
		'type'     => 'url',
		'label'       => esc_html__( 'Wishlist URL', 'auto-parts-supplier' ),
		'settings' => 'auto_parts_supplier_wislist_url',
		'section'  => 'auto_parts_supplier_section_header',
		'default'  => '',
		'priority' => 12,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'auto_parts_supplier_header_sign_button_heading',
		'section'     => 'auto_parts_supplier_section_header',
		'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Header Button', 'auto-parts-supplier' ) . '</h3>',
		'priority'    => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'label'       => esc_html__( 'Header Button Text', 'auto-parts-supplier' ),
		'settings' => 'auto_parts_supplier_header_button_text',
		'section'  => 'auto_parts_supplier_section_header',
		'default'  => '',
		'priority' => 10,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'url',
		'label'       => esc_html__( 'Header Button URL', 'auto-parts-supplier' ),
		'settings' => 'auto_parts_supplier_header_button_url',
		'section'  => 'auto_parts_supplier_section_header',
		'default'  => '',
		'priority' => 10,
	] );

	// SLIDER SECTION

	Kirki::add_section( 'auto_parts_supplier_blog_slide_section', array(
        'title'          => esc_html__( ' Slider Settings', 'auto-parts-supplier' ),
        'panel'          => 'auto_parts_supplier_panel_id',
        'priority'       => 160,
    ) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_blog_slide_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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'auto_parts_supplier_blog_box_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_blog_slide_section',
		'default'     => '1',
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'auto-parts-supplier' ),
			'off' => esc_html__( 'Disable', 'auto-parts-supplier' ),
		],
	] );

	new \Kirki\Field\Image(
		[
			'settings'    => 'auto_parts_supplier_slider_banner_image',
			'label'       => esc_html__( 'Upload Slider Image', 'auto-parts-supplier' ),
			'section'     => 'auto_parts_supplier_blog_slide_section',
			'default'     => '',
		]
	);

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'auto_parts_supplier_title_unable_disable',
		'label'       => esc_html__( 'Slide Title Enable / Disable', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_blog_slide_section',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'auto-parts-supplier' ),
			'off' => esc_html__( 'Disable', 'auto-parts-supplier' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'auto_parts_supplier_text_unable_disable',
		'label'       => esc_html__( 'Slide Text Enable / Disable', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_blog_slide_section',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'auto-parts-supplier' ),
			'off' => esc_html__( 'Disable', 'auto-parts-supplier' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'auto_parts_supplier_button_unable_disable',
		'label'       => esc_html__( 'Slide Button Enable / Disable', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_blog_slide_section',
		'default'     => true,
		'priority'    => 10,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'auto-parts-supplier' ),
			'off' => esc_html__( 'Disable', 'auto-parts-supplier' ),
		],
	] );

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

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'number',
		'settings'    => 'auto_parts_supplier_blog_slide_number',
		'label'       => esc_html__( 'Number of slides to show', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_blog_slide_section',
		'default'     => 0,
		'choices'     => [
			'min'  => 1,
			'max'  => 5,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'select',
		'settings'    => 'auto_parts_supplier_blog_slide_category',
		'label'       => esc_html__( 'Select the category to show slider ( Image Dimension 1600 x 600 )', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_blog_slide_section',
		'default'     => '',
		'placeholder' => esc_html__( 'Select an category...', 'auto-parts-supplier' ),
		'priority'    => 10,
		'choices'     => auto_parts_supplier_get_categories_select(),
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'auto_parts_supplier_slider_short_heading_12',
		'section'     => 'auto_parts_supplier_blog_slide_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Number of Text', 'auto-parts-supplier' ) . '</h3>',
		'priority'    => 10,
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'slider',
		'settings'    => 'auto_parts_supplier_post_excerpt_number',
		'label'       => esc_html__( 'Number of Slide Text To Show ', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_blog_slide_section',
		'default'     => 22,
		'choices'     => [
			'min'  => 10,
			'max'  => 50,
			'step' => 1,
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_slider_short_heading',
		'label'    => esc_html__( 'Slider Short Heading', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_blog_slide_section',
		'priority' => 10,
    ] );

	new \Kirki\Field\Select(
	[
		'settings'    => 'auto_parts_supplier_slider_content_alignment',
		'label'       => esc_html__( 'Slider Content Alignment', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_blog_slide_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'auto-parts-supplier' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'auto-parts-supplier' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'auto-parts-supplier' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'auto-parts-supplier' ),

		],
	] );

		new \Kirki\Field\Select(
	[
		'settings'    => 'auto_parts_supplier_slider_opacity_color',
		'label'       => esc_html__( 'Slider Opacity Option', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_blog_slide_section',
		'default'     => 'Unset',
		'placeholder' => esc_html__( 'Choose an option', 'auto-parts-supplier' ),
		'choices'     => [
			'0' => esc_html__( '0', 'auto-parts-supplier' ),
			'0.1' => esc_html__( '0.1', 'auto-parts-supplier' ),
			'0.2' => esc_html__( '0.2', 'auto-parts-supplier' ),
			'0.3' => esc_html__( '0.3', 'auto-parts-supplier' ),
			'0.4' => esc_html__( '0.4', 'auto-parts-supplier' ),
			'0.5' => esc_html__( '0.5', 'auto-parts-supplier' ),
			'0.6' => esc_html__( '0.6', 'auto-parts-supplier' ),
			'0.7' => esc_html__( '0.7', 'auto-parts-supplier' ),
			'0.8' => esc_html__( '0.8', 'auto-parts-supplier' ),
			'0.9' => esc_html__( '0.9', 'auto-parts-supplier' ),
			'unset' => esc_html__( 'Unset', 'auto-parts-supplier' ),
		],
	] );

	// OUR PRODUCTS SECTION

	Kirki::add_section( 'auto_parts_supplier_products_section', array(
        'title'          => esc_html__( 'Our Brands Settings', 'auto-parts-supplier' ),
        'panel'          => 'auto_parts_supplier_panel_id',
        'priority'       => 160,
    ) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_products_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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	    'priority'    => 1,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'auto_parts_supplier_products_section_enable_heading',
		'section'     => 'auto_parts_supplier_products_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Enable / Disable Products Section', 'auto-parts-supplier' ) . '</h3>',
		'priority'    => 1,
	] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'switch',
		'settings'    => 'auto_parts_supplier_products_section_enable',
		'label'       => esc_html__( 'Section Enable / Disable', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_products_section',
		'default'     => '0',
		'priority'    => 2,
		'choices'     => [
			'on'  => esc_html__( 'Enable', 'auto-parts-supplier' ),
			'off' => esc_html__( 'Disable', 'auto-parts-supplier' ),
		],
	] );

	Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_products_main_heading',
		'label'    => esc_html__( 'Main Heading', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_products_section',
		'priority' => 5,
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_products_brand_button_text',
		'label'    => esc_html__( 'Button Text', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_products_section',
		'priority' => 5,
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'url',
		'settings' => 'auto_parts_supplier_products_brand_button_url',
		'label'    => esc_html__( 'Button Url', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_products_section',
		'priority' => 5,
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'auto_parts_supplier_left_post_box',
		'section'     => 'auto_parts_supplier_products_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Left Post Box', 'auto-parts-supplier' ) . '</h3>',
		'priority'    => 5,
	] );

    new \Kirki\Field\Image(
		[
			'settings'    => 'auto_parts_supplier_brand_left_post_image',
			'label'       => esc_html__( 'Upload Left Image ', 'auto-parts-supplier' ),
			'section'     => 'auto_parts_supplier_products_section',
			'default'     => '',
			'priority'    => 5,
		]
	);

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_brand_short_heading',
		'label'    => esc_html__( 'Left Short Heading', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_products_section',
		'priority' => 5,
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_brand_heading',
		'label'    => esc_html__( 'Left Main Heading', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_products_section',
		'priority' => 5,
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_brand_content',
		'label'    => esc_html__( 'Left Content', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_products_section',
		'priority' => 5,
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_products_brand_post_button_text',
		'label'    => esc_html__( 'Button Text', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_products_section',
		'priority' => 5,
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'url',
		'settings' => 'auto_parts_supplier_products_brand_post_button_url',
		'label'    => esc_html__( 'Button Url', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_products_section',
		'priority' => 5,
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'auto_parts_supplier_brands_logos_image_logos',
		'section'     => 'auto_parts_supplier_products_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Brands Logos', 'auto-parts-supplier' ) . '</h3>',
		'priority'    => 7,
	] );

    for ($i=1; $i <= 8 ; $i++) { 

    	new \Kirki\Field\Image(
			[
				'settings'    => 'auto_parts_supplier_brands_logos_image' .$i,
				'label'       => esc_html__( 'Upload Brands Logos ', 'auto-parts-supplier' ) .$i,
				'section'     => 'auto_parts_supplier_products_section',
				'default'     => '',
				'priority'    => 7,
			]
		);
	}

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'custom',
		'settings'    => 'auto_parts_supplier_brands_logos_image_logos',
		'section'     => 'auto_parts_supplier_products_section',
			'default'         => '<h3 style="color: #2271b1; padding:10px; background:#fff; margin:0; border-left: solid 5px #2271b1; ">' . __( 'Brands Banner', 'auto-parts-supplier' ) . '</h3>',
		'priority'    => 8,
	] );

	new \Kirki\Field\Image(
		[
			'settings'    => 'auto_parts_supplier_brand_banner_image',
			'label'       => esc_html__( 'Upload Brand Banner Image ', 'auto-parts-supplier' ),
			'section'     => 'auto_parts_supplier_products_section',
			'default'     => '',
			'priority'    => 8,
		]
	);

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_brand_banner_short_heading',
		'label'    => esc_html__( 'Brand Banner Short Heading', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_products_section',
		'priority'    => 8,
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_brand_banner_heading',
		'label'    => esc_html__( 'Brand Banner Heading', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_products_section',
		'priority'    => 8,
    ] );

    Kirki::add_field( 'theme_config_id', [
		'type'     => 'text',
		'settings' => 'auto_parts_supplier_brand_banner_content',
		'label'    => esc_html__( 'Brand Banner Content', 'auto-parts-supplier' ),
		'section'  => 'auto_parts_supplier_products_section',
		'priority'    => 8,
    ] );

    

	// FOOTER SECTION

	Kirki::add_section( 'auto_parts_supplier_footer_section', array(
        'title'          => esc_html__( 'Footer Settings', 'auto-parts-supplier' ),
        'panel'          => 'auto_parts_supplier_panel_id',
        'priority'       => 160,
    ) );

	Kirki::add_field( 'theme_config_id', [
	    'label'       => '<span class="custom-label-class">' . esc_html__( 'INFORMATION ABOUT PREMIUM VERSION :-', 'auto-parts-supplier' ) . '</span>',
	    'default'     => '<a class="premium_info_btn" target="_blank" href="' . esc_url( AUTO_PARTS_SUPPLIER_BUY_NOW_1 ) . '">' . __( 'GO TO PREMIUM', 'auto-parts-supplier' ) . '</a>',
	    'type'        => 'custom',
	    'section'     => 'auto_parts_supplier_footer_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><p>6. 10% OFF Use Code "SUMMER10"</p>', 'auto-parts-supplier' ) . '</div>',
	] );

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

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

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

	new \Kirki\Field\Select(
	[
		'settings'    => 'auto_parts_supplier_copyright_text_alignment',
		'label'       => esc_html__( 'Copyright text Alignment', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_footer_section',
		'default'     => 'LEFT-ALIGN',
		'placeholder' => esc_html__( 'Choose an option', 'auto-parts-supplier' ),
		'choices'     => [
			'LEFT-ALIGN' => esc_html__( 'LEFT-ALIGN', 'auto-parts-supplier' ),
			'CENTER-ALIGN' => esc_html__( 'CENTER-ALIGN', 'auto-parts-supplier' ),
			'RIGHT-ALIGN' => esc_html__( 'RIGHT-ALIGN', 'auto-parts-supplier' ),

		],
	] );

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

	Kirki::add_field( 'theme_config_id', [
		'type'        => 'color',
		'settings'    => 'auto_parts_supplier_copyright_bg',
		'label'       => __( 'Choose Your Copyright Background Color', 'auto-parts-supplier' ),
		'section'     => 'auto_parts_supplier_footer_section',
		'default'     => '#000000',
	] );

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

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

}