add_section( 'footer_settings', array( 'title' => __('Footer Settings','seo-writers-blogily'), 'priority' => 20, 'capability' => 'edit_theme_options', ) ); $wp_customize->add_setting( 'footer_background', array( 'default' => '#eee', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_background', array( 'label' => __( 'Background Color', 'seo-writers-blogily' ), 'section' => 'footer_settings', 'priority' => 1, 'settings' => 'footer_background', ) ) ); $wp_customize->add_setting( 'footer_widget_headline', array( 'default' => '#333', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_widget_headline', array( 'label' => __( 'Widget Headline Color', 'seo-writers-blogily' ), 'section' => 'footer_settings', 'priority' => 1, 'settings' => 'footer_widget_headline', ) ) ); $wp_customize->add_setting( 'footer_widget_border', array( 'default' => '#565656', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_widget_border', array( 'label' => __( 'Widget Border Color', 'seo-writers-blogily' ), 'section' => 'footer_settings', 'priority' => 1, 'settings' => 'footer_widget_border', ) ) ); $wp_customize->add_setting( 'footer_widget_text', array( 'default' => '#565656', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_widget_text', array( 'label' => __( 'Widget Text Color', 'seo-writers-blogily' ), 'section' => 'footer_settings', 'priority' => 1, 'settings' => 'footer_widget_text', ) ) ); $wp_customize->add_setting( 'footer_widget_link', array( 'default' => '#565656', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_widget_link', array( 'label' => __( 'Widget Link Color', 'seo-writers-blogily' ), 'section' => 'footer_settings', 'priority' => 1, 'settings' => 'footer_widget_link', ) ) ); $wp_customize->add_setting( 'footer_copyright_link', array( 'default' => '#565656', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_copyright_link', array( 'label' => __( 'Copyright Link Color', 'seo-writers-blogily' ), 'section' => 'footer_settings', 'priority' => 1, 'settings' => 'footer_copyright_link', ) ) ); $wp_customize->add_setting( 'footer_copyright_text', array( 'default' => '#dedede', 'sanitize_callback' => 'sanitize_hex_color', 'transport' => 'postMessage', ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_copyright_text', array( 'label' => __( 'Copyright Text Color', 'seo-writers-blogily' ), 'section' => 'footer_settings', 'priority' => 1, 'settings' => 'footer_copyright_text', ) ) ); } add_action( 'customize_register', 'seo_writers_blogily_customize_register' ); if(! function_exists('seo_writers_blogily_customize_register_output' ) ): function seo_writers_blogily_customize_register_output(){ ?>