add_setting( ASTRA_THEME_SETTINGS . '[footer-color]', array( 'default' => '', 'type' => 'option', 'transport' => 'postMessage', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_hex_color' ), ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, ASTRA_THEME_SETTINGS . '[footer-color]', array( 'label' => __( 'Text Color', 'astra' ), 'section' => 'section-colors-footer', ) ) ); /** * Option: Link Color */ $wp_customize->add_setting( ASTRA_THEME_SETTINGS . '[footer-link-color]', array( 'default' => '', 'type' => 'option', 'transport' => 'postMessage', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_hex_color' ), ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, ASTRA_THEME_SETTINGS . '[footer-link-color]', array( 'label' => __( 'Link Color', 'astra' ), 'section' => 'section-colors-footer', ) ) ); /** * Option: Link Hover Color */ $wp_customize->add_setting( ASTRA_THEME_SETTINGS . '[footer-link-h-color]', array( 'default' => '', 'type' => 'option', 'transport' => 'postMessage', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_hex_color' ), ) ); $wp_customize->add_control( new WP_Customize_Color_Control( $wp_customize, ASTRA_THEME_SETTINGS . '[footer-link-h-color]', array( 'label' => __( 'Link Hover Color', 'astra' ), 'section' => 'section-colors-footer', ) ) ); /** * Option: Divider */ $wp_customize->add_control( new Astra_Control_Divider( $wp_customize, ASTRA_THEME_SETTINGS . '[divider-footer-image]', array( 'section' => 'section-colors-footer', 'type' => 'ast-divider', 'settings' => array(), ) ) ); /** * Option: Footer Background */ $wp_customize->add_setting( ASTRA_THEME_SETTINGS . '[footer-bg-obj]', array( 'default' => astra_get_option( 'footer-bg-obj' ), 'type' => 'option', 'transport' => 'postMessage', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_background_obj' ), ) ); $wp_customize->add_control( new Astra_Control_Background( $wp_customize, ASTRA_THEME_SETTINGS . '[footer-bg-obj]', array( 'type' => 'ast-background', 'section' => 'section-colors-footer', 'label' => __( 'Background', 'astra' ), ) ) );