add_setting('link_textcolor', array( 'default' => '#2BA6CB', //'transport' => 'postMessage', ) ); $wp_customize->add_setting('background_color', array( 'default' => '#f0f4f7', //'transport' => 'postMessage', ) ); $wp_customize->remove_section('static_front_page'); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'link_textcolor', array( 'label' => __( 'Link Color', 'nimbus' ), 'section' => 'colors', 'settings' => 'link_textcolor', ) ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'background_color', array( 'label' => __( 'Background Color', 'nimbus' ), 'section' => 'colors', 'settings' => 'background_color', ) ) ); } /** * This will output the custom WordPress settings to the theme's WP head. * * Used by hook: 'wp_head' * * @see add_action('wp_head',$func) */ public static function render() { ?>