add_section('all_cleaning_services_sidebar_section', array( 'title' => esc_html__('Sidebar Section', 'all-cleaning-services'), 'capability' => 'edit_theme_options', 'panel' => 'all_cleaning_services_theme_section_panel' )); // ///////// Search Background Color $wp_customize->add_setting('Search_background_color', array( 'default' => '#01549a', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Search_background_color', array( 'section' => 'all_cleaning_services_sidebar_section', 'description' => __('Heading Background Color', 'all-cleaning-services'), ))); // ////////// Heading Text Color $wp_customize->add_setting('Heading_text_color', array( 'default' => '#fdc401', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Heading_text_color', array( 'section' => 'all_cleaning_services_sidebar_section', 'description' => __('Heading Text Color', 'all-cleaning-services'), ))); // ////////// Text Color $wp_customize->add_setting('Text_color', array( 'default' => '#4169e1', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'Text_color', array( 'section' => 'all_cleaning_services_sidebar_section', 'description' => __('Text Color', 'all-cleaning-services'), ))); // ////////// Text icon Color $wp_customize->add_setting('side_icon_color', array( 'default' => '#fdc401', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'side_icon_color', array( 'section' => 'all_cleaning_services_sidebar_section', 'description' => __('Icon Color', 'all-cleaning-services'), ))); $wp_customize->add_setting('sidebar_headingtext_case',array( 'default' => 'Capitalize', 'sanitize_callback' => 'all_cleaning_services_sanitize_choices', )); $wp_customize->add_control('sidebar_headingtext_case',array( 'type' => 'select', 'label' => __('Title Case','all-cleaning-services'), 'choices' => array ( 'Uppercase' => __('Uppercase','all-cleaning-services'), 'Lowercase' => __('Lowercase','all-cleaning-services'), 'Capitalize' => __('Capitalize','all-cleaning-services'), 'None' => __('None','all-cleaning-services') ), 'section' => 'all_cleaning_services_sidebar_section', ));