add_section('bLab_breadcrumb', array( 'title' => __('Breadcrumb', 'beauty-lab'), 'priority' => 28, )); /*------breadcrumb background image -------*/ $wp_customize->add_setting('bLab_breadcrumb_bg_img', array( 'default' => '', 'transport' => 'refresh', 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'bLab_breadcrumb_bg_img_control', array( 'label' => 'Breadcrumb Background Image', 'section' => 'bLab_breadcrumb', 'settings' => 'bLab_breadcrumb_bg_img', ) ) ); //----blog content layout------ // $wp_customize->add_setting( 'bLab_breadcrumb_bg', array( // 'default' => 'left', // 'transport' => 'refresh', // 'sanitize_callback' => 'themecon_sanitize_select', // )); // $wp_customize->add_control( 'bLab_breadcrumb_bg_control', // array( // 'label' => __( 'Breadcrumb Background', 'beauty-lab' ), // 'section' => 'bLab_breadcrumb', // 'settings' => 'bLab_breadcrumb_bg', // 'type' => 'radio', // 'choices' => array( // 'left' => __('Left Sidebar', 'beauty-lab'), // 'right' => __('Right Sidebar', 'beauty-lab'), // 'fullwidth' => __('Fullwidth', 'beauty-lab'), // ) // ) // ); } add_action( 'customize_register', 'beauty_lab_customize_breadcrumb' ); ?>