Theme Option $wp_customize->get_section('colors')->title = __( 'Theme Option', 'alexis' ); $wp_customize->get_section('colors')->description = __( 'All changes will only be visible after you save & publish it.', 'alexis' ); // add new section to the Theme Customizer $wp_customize->add_setting( 'theme_color', array( 'default' => '#5fccb2', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); // activate the color picker that is part of WordPress 3.4 and upwards $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'theme_color', array( 'label' => __( 'Theme Color', 'alexis' ), 'section' => 'colors', 'settings' => 'theme_color', ) ) ); // add another new section $wp_customize->add_setting( 'menu_text_color', array( 'default' => '#fff', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'menu_text_color', array( 'label' => __( 'Menu Text Color', 'alexis' ), 'section' => 'colors', 'settings' => 'menu_text_color', ) ) ); } /** * This will output the custom WordPress settings to the live theme's WP head. * */ public static function header_output() { ?>