id ) ); $class = 'customize-control customize-control-' . $this->type; ?>
  • render_content(); ?>
  • add_panel( 'bredcrumb_setting', array( 'priority' => 1000, 'capability' => 'edit_theme_options', 'title' => __('Breadcrumb Settings', 'callcenter'), 'description' => __('Breadcrumbs are a great way of letting your visitors find out where they are on your site with just a glance. You can enable/disable them on homepage and entire site', 'callcenter'), ) ); $wp_customize->add_section( 'archive_template' , array( 'title' => __('Archive Template', 'callcenter'), 'panel' => 'bredcrumb_setting', ) ); $wp_customize->add_setting( 'archive_image', array( 'default' => get_template_directory_uri().'/images/callout-back.jpg', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'esc_url_raw', ) ); $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'archive_image', array( 'label' => __( 'Upload Breadcrumb Image', 'callcenter' ), 'section' => 'archive_template', ) ) ); $wp_customize->add_section( '404_template', array( 'title' => __('404 Template', 'callcenter'), 'panel' => 'bredcrumb_setting', ) ); $wp_customize->add_setting( 'error_image', array( 'default' => get_template_directory_uri().'/images/callout-back.jpg', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'error_image', array( 'label' => __( 'Upload 404 Breadcrumb Image', 'callcenter' ), 'section' => '404_template', ) ) ); $wp_customize->add_section( 'search_template' , array( 'title' => __('Search Template', 'callcenter'), 'panel' => 'bredcrumb_setting', ) ); $wp_customize->add_setting( 'search_image', array( 'default' => get_template_directory_uri().'/images/callout-back.jpg', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'esc_url_raw', ) ); $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'search_image', array( 'label' => __( 'Upload Breadcrumb Image', 'callcenter' ), 'section' => 'search_template',) ) ); //Woocomerce $wp_customize->add_section( 'woocomerce_template', array( 'title' => __('Shop Template', 'callcenter'), 'panel' => 'bredcrumb_setting', ) ); $wp_customize->add_setting( 'shop_image', array( 'default' => get_template_directory_uri().'/images/callout-back.jpg', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'esc_url_raw', ) ); $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'shop_image', array( 'label' => __( 'Upload Breadcrumb Image', 'callcenter' ), 'section' => 'woocomerce_template', ) ) ); //Cart Page $wp_customize->add_section( 'cart_template', array( 'title' => __('Cart Template', 'callcenter'), 'panel' => 'bredcrumb_setting', ) ); $wp_customize->add_setting('cart_image', array( 'default' => get_template_directory_uri().'/images/callout-back.jpg', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control(new WP_Customize_Image_Control($wp_customize,'cart_image', array( 'label' => __( 'Upload Breadcrumb Image', 'callcenter' ), 'section' => 'cart_template', ) ) ); //Checkout Page $wp_customize->add_section( 'checkout_template', array( 'title' => __('Checkout Template', 'callcenter'), 'panel' => 'bredcrumb_setting', ) ); $wp_customize->add_setting( 'checkout_image', array( 'default' => get_template_directory_uri().'/images/callout-back.jpg', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize,'checkout_image', array( 'label' => __( 'Upload Breadcrumb Image', 'callcenter' ), 'section' => 'checkout_template', ) ) ); //Account Page $wp_customize->add_section( 'account_template' , array( 'title' => __('Account Template', 'callcenter'), 'panel' => 'bredcrumb_setting', ) ); $wp_customize->add_setting( 'account_image', array( 'default' => get_template_directory_uri().'/images/callout-back.jpg', 'capability' => 'edit_theme_options', 'sanitize_callback' => 'esc_url_raw', )); $wp_customize->add_control( new WP_Customize_Image_Control( $wp_customize, 'account_image', array( 'label' => __( 'Upload Breadcrumb Image', 'callcenter' ), 'section' => 'account_template', ) ) ); } add_action( 'customize_register', 'callcenter_banner_setting' ); ?>