add_section( 'aster_it_solutions_footer_options', array( 'panel' => 'aster_it_solutions_theme_options', 'title' => esc_html__( 'Footer Options', 'aster-it-solutions' ), ) ); // column // $wp_customize->add_setting( 'aster_it_solutions_footer_widget_column', array( 'default' => '4', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'aster_it_solutions_sanitize_select', ) ); $wp_customize->add_control( 'aster_it_solutions_footer_widget_column', array( 'label' => __('Select Widget Column','aster-it-solutions'), 'section' => 'aster_it_solutions_footer_options', 'type' => 'select', 'choices' => array( '' => __( 'None', 'aster-it-solutions' ), '1' => __( '1 Column', 'aster-it-solutions' ), '2' => __( '2 Column', 'aster-it-solutions' ), '3' => __( '3 Column', 'aster-it-solutions' ), '4' => __( '4 Column', 'aster-it-solutions' ) ) ) ); $wp_customize->add_setting( 'aster_it_solutions_footer_copyright_text', array( 'default' => '', 'sanitize_callback' => 'wp_kses_post', 'transport' => 'refresh', ) ); $wp_customize->add_control( 'aster_it_solutions_footer_copyright_text', array( 'label' => esc_html__( 'Copyright Text', 'aster-it-solutions' ), 'section' => 'aster_it_solutions_footer_options', 'settings' => 'aster_it_solutions_footer_copyright_text', 'type' => 'textarea', ) ); // Footer Options - Scroll Top. $wp_customize->add_setting( 'aster_it_solutions_scroll_top', array( 'sanitize_callback' => 'aster_it_solutions_sanitize_switch', 'default' => true, ) ); $wp_customize->add_control( new Aster_IT_Solutions_Toggle_Switch_Custom_Control( $wp_customize, 'aster_it_solutions_scroll_top', array( 'label' => esc_html__( 'Enable Scroll Top Button', 'aster-it-solutions' ), 'section' => 'aster_it_solutions_footer_options', ) ) );