add_section( 'aces_footer_bottom', array( 'title' => esc_html__( 'Footer Bottom', 'aces' ), 'priority' => 10, 'panel' => $panel, ) ); $wp_customize->add_setting( 'aces_footer_copyright_text', array( 'transport' => 'postMessage', 'default' => esc_html__( 'Copyright 2019 - Aces Theme by Acestheme ', 'aces' ), 'sanitize_callback' => 'wp_kses_post', ) ); $wp_customize->add_control( new Aces_Customizer_Textarea_Control( $wp_customize, 'aces_footer_copyright_text', array( 'label' => esc_html__( 'Section ', 'aces' ), 'section' => 'aces_footer_bottom', 'settings' => 'aces_footer_copyright_text', 'priority' => 10, ) ) ); $wp_customize->add_setting( 'aces_footer_bottom_color_heading', array( 'sanitize_callback' => 'wp_kses', ) ); $wp_customize->add_control( new Aces_Customizer_Heading_Control( $wp_customize, 'aces_footer_bottom_color_heading', array( 'label' => esc_html__( 'Background & Padding', 'aces' ), 'section' => 'aces_footer_bottom', 'priority' => 10, ) ) ); $wp_customize->add_setting( 'aces_footer__bg_color', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_color', ) ); $wp_customize->add_control( new Aces_Customizer_Color_Control( $wp_customize, 'aces_footer__bg_color', array( 'label' => esc_html__( 'Background Color', 'aces' ), 'section' => 'aces_footer_bottom', 'settings' => 'aces_footer__bg_color', 'priority' => 10, ) ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_top_padding', array( 'transport' => 'postMessage', 'default' => '14', 'sanitize_callback' => 'aces_sanitize_number', ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_right_padding', array( 'transport' => 'postMessage', 'default' => '20', 'sanitize_callback' => 'aces_sanitize_number', ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_bottom_padding', array( 'transport' => 'postMessage', 'default' => '14', 'sanitize_callback' => 'aces_sanitize_number', ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_left_padding', array( 'transport' => 'postMessage', 'default' => '20', 'sanitize_callback' => 'aces_sanitize_number', ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_tablet_top_padding', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_number_blank', ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_tablet_right_padding', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_number_blank', ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_tablet_bottom_padding', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_number_blank', ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_tablet_left_padding', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_number_blank', ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_mobile_top_padding', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_number_blank', ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_mobile_right_padding', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_number_blank', ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_mobile_bottom_padding', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_number_blank', ) ); $wp_customize->add_setting( 'aces_theme_footer_bottom_mobile_left_padding', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_number_blank', ) ); $wp_customize->add_control( new Aces_Customizer_Dimensions_Control( $wp_customize, 'aces_theme_footer_bottom_padding_dimensions', array( 'label' => esc_html__( 'Padding (px)', 'aces' ), 'section' => 'aces_footer_bottom', 'settings' => array( 'desktop_top' => 'aces_theme_footer_bottom_top_padding', 'desktop_right' => 'aces_theme_footer_bottom_right_padding', 'desktop_bottom' => 'aces_theme_footer_bottom_bottom_padding', 'desktop_left' => 'aces_theme_footer_bottom_left_padding', 'tablet_top' => 'aces_theme_footer_bottom_tablet_top_padding', 'tablet_right' => 'aces_theme_footer_bottom_tablet_right_padding', 'tablet_bottom' => 'aces_theme_footer_bottom_tablet_bottom_padding', 'tablet_left' => 'aces_theme_footer_bottom_tablet_left_padding', 'mobile_top' => 'aces_theme_footer_bottom_mobile_top_padding', 'mobile_right' => 'aces_theme_footer_bottom_mobile_right_padding', 'mobile_bottom' => 'aces_theme_footer_bottom_mobile_bottom_padding', 'mobile_left' => 'aces_theme_button_mobile_left_padding', ), 'priority' => 10, 'input_attrs' => array( 'min' => 0, 'max' => 100, 'step' => 1, ), ) ) ); $wp_customize->add_setting( 'aces_footer_bottom_content_heading', array( 'sanitize_callback' => 'wp_kses', ) ); $wp_customize->add_control( new Aces_Customizer_Heading_Control( $wp_customize, 'aces_footer_bottom_content_heading', array( 'label' => esc_html__( 'Content', 'aces' ), 'section' => 'aces_footer_bottom', 'priority' => 10, ) ) ); $wp_customize->add_setting( 'aces_footer_bottom_text_color', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_color', ) ); $wp_customize->add_control( new Aces_Customizer_Color_Control( $wp_customize, 'aces_footer_bottom_text_color', array( 'label' => esc_html__( 'Text Color', 'aces' ), 'section' => 'aces_footer_bottom', 'settings' => 'aces_footer_bottom_text_color', 'priority' => 10, ) ) ); $wp_customize->add_setting( 'aces_footer_bottom_link_color', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_color', ) ); $wp_customize->add_control( new Aces_Customizer_Color_Control( $wp_customize, 'aces_footer_bottom_link_color', array( 'label' => esc_html__( 'Link Color', 'aces' ), 'section' => 'aces_footer_bottom', 'settings' => 'aces_footer_bottom_link_color', 'priority' => 10, ) ) ); $wp_customize->add_setting( 'aces_footer_bottom_link_hover_color', array( 'transport' => 'postMessage', 'sanitize_callback' => 'aces_sanitize_color', ) ); $wp_customize->add_control( new Aces_Customizer_Color_Control( $wp_customize, 'aces_footer_bottom_link_hover_color', array( 'label' => esc_html__( 'Link Hover: Color', 'aces' ), 'section' => 'aces_footer_bottom', 'settings' => 'aces_footer_bottom_link_hover_color', 'priority' => 10, ) ) );