add_section( 'upper_widgets', array( 'title' => __('Upper Widgets','bloggist'), 'priority' => 1, 'capability' => 'edit_theme_options', ) ); $wp_customize->add_setting( 'upperwidgets_bg_color', array( 'default' => '#fff', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'upperwidgets_bg_color', array( 'label' => __( 'Background Colors', 'bloggist' ), 'section' => 'upper_widgets', 'priority' => 1, 'settings' => 'upperwidgets_bg_color', ) ) ); $wp_customize->add_setting( 'upperwidgets_title_color', array( 'default' => '#000', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'upperwidgets_title_color', array( 'label' => __( 'Title Colors', 'bloggist' ), 'section' => 'upper_widgets', 'priority' => 1, 'settings' => 'upperwidgets_title_color', ) ) ); $wp_customize->add_setting( 'upperwidgets_text_color', array( 'default' => '#000', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'upperwidgets_text_color', array( 'label' => __( 'Text Colors', 'bloggist' ), 'section' => 'upper_widgets', 'priority' => 1, 'settings' => 'upperwidgets_text_color', ) ) ); $wp_customize->add_setting( 'upperwidgets_link_color', array( 'default' => '#000', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'upperwidgets_link_color', array( 'label' => __( 'Link Colors', 'bloggist' ), 'section' => 'upper_widgets', 'priority' => 1, 'settings' => 'upperwidgets_link_color', ) ) ); $wp_customize->add_setting( 'upperwidgets_border_color', array( 'default' => '#000', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'upperwidgets_border_color', array( 'label' => __( 'Border Colors', 'bloggist' ), 'section' => 'upper_widgets', 'priority' => 1, 'settings' => 'upperwidgets_border_color', ) ) ); } add_action( 'customize_register', 'clean_bloggist_customize_register' ); if(! function_exists('clean_bloggist_customizer_css_final_output' ) ): function clean_bloggist_customizer_css_final_output(){ ?>