add_section('bLab_blog_list_global', array( 'title' => __('Blog Global', 'beauty-lab'), 'panel' => 'beauty_lab_blog', 'priority' => 1, )); //----blog content layout------ $wp_customize->add_setting( 'bLab_blog_sidebar', array( 'default' => 'left', 'transport' => 'refresh', 'sanitize_callback' => 'themecon_sanitize_select', )); $wp_customize->add_control( 'bLab_blog_sidebar_control', array( 'label' => __( 'Blog Sidebar', 'beauty-lab' ), 'section' => 'bLab_blog_list_global', 'settings' => 'bLab_blog_sidebar', 'type' => 'radio', 'choices' => array( 'left' => __('Left Sidebar', 'beauty-lab'), 'right' => __('Right Sidebar', 'beauty-lab'), 'fullwidth' => __('No Sidebar', 'beauty-lab'), ) ) ); } add_action( 'customize_register', 'beauty_lab_customize_blog_global' ); ?>