add_section('colors', array( 'title' => esc_html__('Color Options', 'elegant-magazine'), 'priority' => 10, 'capability' => 'edit_theme_options', 'panel' => 'theme_option_panel', ) ); // Setting - show_site_title_section. $wp_customize->add_setting('top_header_background_color', array( 'default' => $default['top_header_background_color'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_hex_color', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'top_header_background_color', array( 'label' => esc_html__( 'Top header background color', 'elegant-magazine' ), 'section' => 'header_options_settings', 'settings' => 'top_header_background_color', 'priority' => 9, //'active_callback' => 'elegant_magazine_top_header_status' ) ) ); // Setting - show_site_title_section. $wp_customize->add_setting('top_header_text_color', array( 'default' => $default['top_header_text_color'], 'capability' => 'edit_theme_options', 'sanitize_callback' => 'sanitize_hex_color', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'top_header_text_color', array( 'label' => esc_html__( 'Top header texts color', 'elegant-magazine' ), 'section' => 'header_options_settings', 'settings' => 'top_header_text_color', 'priority' => 9, //'active_callback' => 'elegant_magazine_top_header_status' ) ) );