add_setting('asycom_global_bloglist_sidebar', array( 'default' => 'right', 'sanitize_callback' => 'wp_filter_nohtml_kses' ) ); $wp_customize->add_control('asycom_global_bloglist_sidebar', array( 'type' => 'radio', 'section' => 'asycom_sidebar_options', 'label' => esc_html__('Select blog list sidebar layout','asycom'), 'description' => esc_html__('blog list Sidebar','asycom'), 'choices' => array( 'left' => esc_html__('Left Sidebar','asycom'), 'none' => esc_html__('None - Full width','asycom'), 'right' => esc_html__('Right Sidebar','asycom'), ), )); /* Page Sidebar Layout */ $wp_customize->add_setting('asycom_global_page_sidebar', array( 'default' => 'none', 'sanitize_callback' => 'wp_filter_nohtml_kses' ) ); $wp_customize->add_control('asycom_global_page_sidebar', array( 'type' => 'radio', 'section' => 'asycom_sidebar_options', 'label' => esc_html__('Select page sidebar layout','asycom'), 'description' => esc_html__('Page Sidebar','asycom'), 'choices' => array( 'left' => esc_html__('Left Sidebar','asycom'), 'none' => esc_html__('None - Full width','asycom'), 'right' => esc_html__('Right Sidebar','asycom'), ), )); /* Post Sidebar Layout */ $wp_customize->add_setting('asycom_global_post_sidebar', array( 'default' => 'right', 'sanitize_callback' => 'wp_filter_nohtml_kses' ) ); $wp_customize->add_control('asycom_global_post_sidebar', array( 'type' => 'radio', 'section' => 'asycom_sidebar_options', 'label' => esc_html__('Single post sidebar layout','asycom'), 'description' => esc_html__('Single Post Sidebar','asycom'), 'choices' => array( 'left' => esc_html__('Left Sidebar','asycom'), 'none' => esc_html__('None - Full width','asycom'), 'right' => esc_html__('Right Sidebar','asycom'), ), )); /* Archive Sidebar Layout */ $wp_customize->add_setting('asycom_global_archive_sidebar', array( 'default' => 'right', 'sanitize_callback' => 'wp_filter_nohtml_kses' ) ); $wp_customize->add_control('asycom_global_archive_sidebar', array( 'type' => 'radio', 'section' => 'asycom_sidebar_options', 'label' => esc_html__('Archive post sidebar layout','asycom'), 'description' => esc_html__('Archive Sidebar','asycom'), 'choices' => array( 'left' => esc_html__('Left Sidebar','asycom'), 'none' => esc_html__('None','asycom'), 'right' => esc_html__('Right Sidebar','asycom'), ), ));