PATH:
home
/
lab2454c
/
adenbic.com
/
wp-content
/
themes
/
bumbleb
/
templates
/
headers
<?php $bumbleb_settings = bumbleb_global_settings(); $cart_layout = bumbleb_get_config('cart-layout','dropdown'); $cart_style = bumbleb_get_config('cart-style','light'); $show_minicart = (isset($bumbleb_settings['show-minicart']) && $bumbleb_settings['show-minicart']) ? ($bumbleb_settings['show-minicart']) : false; $enable_sticky_header = ( isset($bumbleb_settings['enable-sticky-header']) && $bumbleb_settings['enable-sticky-header'] ) ? ($bumbleb_settings['enable-sticky-header']) : false; $show_searchform = (isset($bumbleb_settings['show-searchform']) && $bumbleb_settings['show-searchform']) ? ($bumbleb_settings['show-searchform']) : false; $show_wishlist = (isset($bumbleb_settings['show-wishlist']) && $bumbleb_settings['show-wishlist']) ? ($bumbleb_settings['show-wishlist']) : false; $show_language = (isset($bumbleb_settings['show-language']) && $bumbleb_settings['show-language']) ? ($bumbleb_settings['show-language']) : false; $show_currency = (isset($bumbleb_settings['show-currency']) && $bumbleb_settings['show-currency']) ? ($bumbleb_settings['show-currency']) : false; $show_menutop = (isset($bumbleb_settings['show-menutop']) && $bumbleb_settings['show-menutop']) ? ($bumbleb_settings['show-menutop']) : false; $sticky_header = (isset($bumbleb_settings['enable-sticky-header']) && $bumbleb_settings['enable-sticky-header']) ? ($bumbleb_settings['enable-sticky-header']): false; ?> <h1 class="bwp-title hide"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1> <header id='bwp-header' class="bwp-header header-v1 "> <?php if($sticky_header) { bumbleb_menu_stcky(); } ?> <?php bumbleb_campbar(); ?> <?php if(get_theme_mod('top_bar_1', '')) { ?> <div id="bwp-topbar" class="topbar-v1 <?php if(!get_theme_mod('topbar_mobile','')) { ?> hidden-sm hidden-xs <?php } ?>"> <div class="topbar-inner"> <div class="container"> <div class="topbar-container"> <?php if(get_theme_mod('content_left_top_bar_1', 'Hot days! - 50% Get ready for summer!')) { ?> <div class="topbar-left"> <?php echo get_theme_mod('content_left_top_bar_1', 'Hot days! - 50% Get ready for summer!'); ?> </div> <?php } ?> <?php if(get_theme_mod('content_center_top_bar_1', 'Take care of your tire 22% off USE CODE “ MNSKS ”')) { ?> <div class="topbar-center"> <?php echo get_theme_mod('content_center_top_bar_1', 'Take care of your tire 22% off USE CODE “ MNSKS ”'); ?> </div> <?php } ?> <?php if(get_theme_mod('content_right_top_bar_1', '<a href="#">Store Locator</a><a href="#">Order Tracking</a><a href="#">FAQs</a>')) { ?> <div class="topbar-right"> <?php echo get_theme_mod('content_right_top_bar_1', '<a href="#">Store Locator</a><a href="#">Order Tracking</a><a href="#">FAQs</a>'); ?> </div> <?php } ?> <?php if(get_theme_mod('social_1', '') && shortcode_exists("social_link")) { ?> <div class="social-link_topbar"> <?php echo do_shortcode ("[social_link]") ?> </div> <?php } ?> </div> </div> </div> </div> <?php } ?> <?php bumbleb_menu_mobile(); ?> <div class="header-desktop"> <?php if(($show_minicart || $show_wishlist || $show_searchform || is_active_sidebar('top-link')) && class_exists( 'WooCommerce' ) ){ ?> <div class='header-wrapper' data-sticky_header="<?php echo esc_attr($bumbleb_settings['enable-sticky-header']); ?>"> <div class="container"> <div class="container-inner"> <div class="header-container"> <div class="header-left"> <?php bumbleb_header_logo(); ?> <div class="header-main"> <div class="header-main-menu menu-left"> <div class="wpbingo-menu-mobile header-menu"> <div class="header-menu-bg"> <?php bumbleb_top_menu(); ?> </div> </div> </div> </div> </div> <div class="header-right"> <div class="header-search-form hidden-md hidden-sm hidden-xs"> <!-- Begin Search --> <?php if($show_searchform && class_exists( 'WooCommerce' )){ ?> <?php get_template_part( 'search-form2' ); ?> <?php } ?> <!-- End Search --> </div> <div class="header-page-link"> <div class="login-header"> <?php if (is_user_logged_in()) { ?> <?php if(is_active_sidebar('top-link')){ ?> <div class="block-top-link"> <?php dynamic_sidebar( 'top-link' ); ?> </div> <?php } ?> <?php }else{ ?> <a class="active-login" href="#" ><i class="icon-account"></i></a> <?php bumbleb_login_form(); ?> <?php } ?> </div> <?php if($show_wishlist && class_exists( 'WPCleverWoosw' )){ ?> <div class="wishlist-box"> <a href="<?php echo WPcleverWoosw::get_url(); ?>"><i class="icon-Heart"></i></a> </div> <?php } ?> <?php if($show_minicart && class_exists( 'WooCommerce' )){ ?> <div class="remove-cart-shadow"></div> <div class="bumbleb-topcart bumbleb-topcart-desktop <?php echo esc_attr($cart_layout); ?> <?php echo esc_attr($cart_style); ?>"> <?php get_template_part( 'woocommerce/minicart-ajax' ); ?> </div> <?php } ?> </div> </div> </div> </div> </div> </div><!-- End header-wrapper --> <?php }else{ ?> <div class="header-normal"> <div class='header-wrapper' data-sticky_header="<?php echo esc_attr($bumbleb_settings['enable-sticky-header']); ?>"> <div class="container"> <div class="row"> <div class="col-xl-3 col-lg-3 col-md-6 col-sm-6 col-6 header-left"> <?php bumbleb_header_logo(); ?> </div> <div class="col-xl-9 col-lg-9 col-md-6 col-sm-6 col-6 header-main"> <div class="header-menu-bg"> <?php bumbleb_top_menu(); ?> </div> </div> </div> </div> </div> </div> <?php } ?> </div> </header><!-- End #bwp-header -->
[-] header-2.php
[edit]
[+]
..
[-] header-3.php
[edit]
[-] header-4.php
[edit]
[-] header-1.php
[edit]