add_setting( 'footer_copyright', array( 'type' => 'option', 'default' => "© Copyright 2016", //'transport' => 'refresh', // d: 'refresh' | 'postMessage' 'sanitize_callback' => 'sanitize_text_field', )); $wp_customize->add_control( 'footer_copyright', array( 'label' => __( 'Footer copyright', 'alphabet' ), 'type' => 'text', 'section' => 'footer', )); $wp_customize->add_setting( 'footer_backgroung', array( 'type' => 'option', 'default' => 'b6c2c9', 'transport' => 'refresh', // d: 'refresh' | 'postMessage' 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_backgroung', array( 'label' => __( 'Footer background', 'alphabet' ), 'section' => 'footer', ))); $wp_customize->add_setting( 'footer_text_color', array( 'type' => 'option', 'default' => 'ffffff', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'footer_text_color', array( 'label' => __('Footer text color', 'alphabet'), 'section' => 'footer', ))); // Widget Area setting (may do it as a Panel) $wp_customize->add_setting( 'fwidgeteria_background', array( 'type' => 'option', 'default' => 'edf1f2', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'fwidgeteria_background', array( 'label' => __('Widget Area Background color', 'alphabet'), 'section' => 'footer', ))); $wp_customize->add_setting( 'fwidgeteria_color_text', array( 'type' => 'option', 'default' => '888888', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'fwidgeteria_color_text', array( 'label' => __('Widget Area Text color', 'alphabet'), 'section' => 'footer', ))); $wp_customize->add_setting( 'fwidgeteria_color_links', array( 'type' => 'option', 'default' => '141414', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'fwidgeteria_color_links', array( 'label' => __('Widget Area Link color', 'alphabet'), 'section' => 'footer', ))); $wp_customize->add_setting( 'fwidgeteria_color_h3', array( 'type' => 'option', 'default' => '8698a2', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'fwidgeteria_color_h3', array( 'label' => __('Widget Area H3 color', 'alphabet'), 'section' => 'footer', ))); $wp_customize->add_setting( 'fwidgeteria_color_h4', array( 'type' => 'option', 'default' => '000000', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_hex_color', )); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, 'fwidgeteria_color_h4', array( 'label' => __('Widget Area H4 color', 'alphabet'), 'section' => 'footer', ))); // Add a footer/copyright information section. $wp_customize->add_section( 'footer' , array( 'title' => __( 'Footer', 'alphabet' ), 'priority' => 90, // Before Navigation. ));