get_section('colors')->title = esc_html__('Color Settings', 'bigmart'); $wp_customize->get_section('colors')->priority = 2; /** Color Settings * */ $wp_customize->add_setting('bigmart_template_color', array( 'default' => '#0075F2', 'sanitize_callback' => 'sanitize_hex_color', 'priority' => 1 )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'bigmart_template_color', array( 'section' => 'colors', 'label' => esc_html__('Theme Primary Color', 'bigmart') ))); $wp_customize->add_setting('bigmart_content_color_heading', array( 'sanitize_callback' => 'bigmart_sanitize_text', 'priority' => 1 )); $wp_customize->add_control(new Bigmart_Heading($wp_customize, 'bigmart_content_color_heading', array( 'section' => 'colors', 'label' => esc_html__('Content Color', 'bigmart'), 'description' => esc_html__('This settings apply only in the single posts (i.e. page and post detail pages only)', 'bigmart') ))); $wp_customize->add_setting('bigmart_content_header_color', array( 'default' => '#000000', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'bigmart_content_header_color', array( 'section' => 'colors', 'label' => esc_html__('Heading Color', 'bigmart'), 'description' => esc_html__('Color applies for tags (H1, H2, H3, H4, H5, H6)', 'bigmart') ))); $wp_customize->add_setting('bigmart_content_text_color', array( 'default' => '#333333', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'bigmart_content_text_color', array( 'section' => 'colors', 'label' => esc_html__('Content Text Color', 'bigmart'), 'description' => esc_html__('Color applies for text in the content area.', 'bigmart') ))); $wp_customize->add_setting('bigmart_content_link_color', array( 'default' => '#0075F2', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'bigmart_content_link_color', array( 'section' => 'colors', 'label' => esc_html__('Content Link Color', 'bigmart'), 'description' => esc_html__('Color applies for link text in the content area.', 'bigmart') ))); $wp_customize->add_setting('bigmart_content_link_hov_color', array( 'default' => '#0075F2', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control(new WP_Customize_Color_Control($wp_customize, 'bigmart_content_link_hov_color', array( 'section' => 'colors', 'label' => esc_html__('Content Link Hover Color', 'bigmart'), )));