add_section( 'aleanta_responsive_settings' , array( 'title' => esc_html__( 'Responsive', 'aleanta' ), 'priority' => 35, ) ); $wp_customize->add_setting( 'aleanta_general_settings_responsive' , array( 'default' => '', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_setting( 'aleanta_mobile_sticky' , array( 'default' => '', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_setting( 'aleanta_mobile_topbar' , array( 'default' => '', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_setting( 'aleanta_tablet_minicart' , array( 'default' => '', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_setting( 'aleanta_tablet_search' , array( 'default' => '', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_setting( 'aleanta_tablet_phone' , array( 'default' => '', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_setting( 'aleanta_tablet_socials' , array( 'default' => '', 'transport' => 'refresh', 'sanitize_callback' => 'sanitize_text_field' ) ); $wp_customize->add_control( 'aleanta_general_settings_responsive', array( 'label' => esc_html__( 'Responsive', 'aleanta' ), 'section' => 'aleanta_responsive_settings', 'settings' => 'aleanta_general_settings_responsive', 'type' => 'select', 'choices' => array( 'off' => esc_html__( 'Off', 'aleanta' ), 'on' => esc_html__( 'On', 'aleanta' ), ), 'priority' => 5 ) ); $wp_customize->add_control( 'aleanta_mobile_sticky', array( 'label' => esc_html__( 'Header Mobile Behavior', 'aleanta' ), 'description' => esc_html__( 'Off header sticky or fixed on mobile', 'aleanta' ), 'section' => 'aleanta_responsive_settings', 'settings' => 'aleanta_mobile_sticky', 'type' => 'select', 'choices' => array( '' => esc_html__( 'Global', 'aleanta' ), 'mobile-no-sticky' => esc_html__( 'No Sticky', 'aleanta' ), 'mobile-no-fixed' => esc_html__( 'No Fixed', 'aleanta' ), ), 'priority' => 10 ) ); $wp_customize->add_control( 'aleanta_mobile_topbar', array( 'label' => esc_html__( 'Header Mobile Behavior', 'aleanta' ), 'description' => esc_html__( 'Off header top bar on mobile', 'aleanta' ), 'section' => 'aleanta_responsive_settings', 'settings' => 'aleanta_mobile_sticky', 'type' => 'select', 'choices' => array( '' => esc_html__( 'Global', 'aleanta' ), 'no-mobile-topbar' => esc_html__( 'Off', 'aleanta' ), ), 'priority' => 20 ) ); $wp_customize->add_control( 'aleanta_tablet_minicart', array( 'label' => esc_html__( 'Tablet Minicart', 'aleanta' ), 'description' => esc_html__( 'Off header cart on tablet', 'aleanta' ), 'section' => 'aleanta_responsive_settings', 'settings' => 'aleanta_tablet_minicart', 'type' => 'select', 'choices' => array( '' => esc_html__( 'Global', 'aleanta' ), 'no-tablet-minicart' => esc_html__( 'Off', 'aleanta' ), ), 'priority' => 30 ) ); $wp_customize->add_control( 'aleanta_tablet_search', array( 'label' => esc_html__( 'Tablet Search', 'aleanta' ), 'description' => esc_html__( 'Off header search on tablet', 'aleanta' ), 'section' => 'aleanta_responsive_settings', 'settings' => 'aleanta_tablet_search', 'type' => 'select', 'choices' => array( '' => esc_html__( 'Global', 'aleanta' ), 'no-tablet-search' => esc_html__( 'Off', 'aleanta' ), ), 'priority' => 40 ) ); $wp_customize->add_control( 'aleanta_tablet_phone', array( 'label' => esc_html__( 'Tablet Header Phone', 'aleanta' ), 'description' => esc_html__( 'Off header phone on tablet', 'aleanta' ), 'section' => 'aleanta_responsive_settings', 'settings' => 'aleanta_tablet_phone', 'type' => 'select', 'choices' => array( '' => esc_html__( 'Global', 'aleanta' ), 'no-tablet-phone' => esc_html__( 'Off', 'aleanta' ), ), 'priority' => 50 ) ); $wp_customize->add_control( 'aleanta_tablet_socials', array( 'label' => esc_html__( 'Tablet Socials', 'aleanta' ), 'description' => esc_html__( 'Off header social icons on tablet', 'aleanta' ), 'section' => 'aleanta_responsive_settings', 'settings' => 'aleanta_tablet_socials', 'type' => 'select', 'choices' => array( '' => esc_html__( 'Global', 'aleanta' ), 'no-tablet-socials' => esc_html__( 'Off', 'aleanta' ), ), 'priority' => 60 ) ); } ?>