????JFIF??x?x????'
| Server IP : 172.67.174.47 / Your IP : 216.73.216.145 Web Server : LiteSpeed System : Linux premium151.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 User : tempvsty ( 647) PHP Version : 8.0.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /././home/tempvsty/./buyeaa.com/wp-content/themes/yoome/templates/headers/ |
Upload File : |
<?php
$yoome_theme_options = yoome_get_theme_options();
$header_classes = array();
if( $yoome_theme_options['ts_enable_sticky_header'] ){
$header_classes[] = 'has-sticky';
}
if( !$yoome_theme_options['ts_enable_tiny_shopping_cart'] ){
$header_classes[] = 'hidden-cart';
}
else{
$header_classes[] = 'show-cart';
}
if( !$yoome_theme_options['ts_enable_tiny_wishlist'] || !class_exists('WooCommerce') || !class_exists('YITH_WCWL') ){
$header_classes[] = 'hidden-wishlist';
}
else{
$header_classes[] = 'show-wishlist';
}
if( !$yoome_theme_options['ts_enable_search'] ){
$header_classes[] = 'hidden-search';
}
else{
$header_classes[] = 'show-search';
}
if( yoome_get_page_options('ts_header_transparent') ){
$header_classes[] = 'header-transparent';
$header_classes[] = 'header-text-' . yoome_get_page_options('ts_header_text_color');
}
?>
<header class="ts-header header-ipad <?php echo esc_attr(implode(' ', $header_classes)); ?>">
<div class="header-container">
<div class="header-template">
<div class="header-middle">
<div class="container">
<div class="logo-wrapper"><?php echo yoome_theme_logo(); ?></div>
<div class="header-right">
<div class="ts-group-meta-icon-toggle">
<span class="icon "></span>
</div>
<?php if( $yoome_theme_options['ts_enable_search'] ): ?>
<div class="search-sidebar-icon search-button">
<span class="icon "></span>
</div>
<?php endif; ?>
<?php if( $yoome_theme_options['ts_enable_tiny_shopping_cart'] ): ?>
<div class="shopping-cart-wrapper"><?php echo yoome_tiny_cart(); ?></div>
<?php endif; ?>
</div>
</div>
</div>
</div>
</div>
</header>
<header class="ts-header header-vertical <?php echo esc_attr(implode(' ', $header_classes)); ?>">
<div class="header-container">
<div class="header-template">
<div class="header-left">
<?php if( $yoome_theme_options['ts_enable_search'] ): ?>
<div class="search-sidebar-icon search-button">
<span class="icon "></span>
</div>
<?php endif; ?>
<?php if( $yoome_theme_options['ts_enable_tiny_shopping_cart'] ): ?>
<div class="shopping-cart-wrapper"><?php echo yoome_tiny_cart(); ?></div>
<?php endif; ?>
<?php if( $yoome_theme_options['ts_enable_tiny_account'] ): ?>
<div class="my-account-wrapper"><?php echo yoome_tiny_account(); ?></div>
<?php endif; ?>
<?php if( class_exists('YITH_WCWL') && $yoome_theme_options['ts_enable_tiny_wishlist'] ): ?>
<div class="my-wishlist-wrapper"><?php echo yoome_tini_wishlist(); ?></div>
<?php endif; ?>
<?php if( $yoome_theme_options['ts_header_language'] ): ?>
<div class="header-language"><?php yoome_wpml_language_selector(); ?></div>
<?php endif; ?>
<?php if( $yoome_theme_options['ts_header_currency'] ): ?>
<div class="header-currency"><?php yoome_woocommerce_multilingual_currency_switcher(); ?></div>
<?php endif; ?>
</div>
<div class="header-right">
<div class="logo-wrapper"><?php echo yoome_theme_logo(); ?></div>
<div class="menu-wrapper hidden-phone">
<div class="ts-menu">
<?php
if ( has_nav_menu( 'primary' ) ) {
wp_nav_menu( array( 'container' => 'nav', 'container_class' => 'main-menu pc-menu ts-mega-menu-wrapper','theme_location' => 'primary','walker' => new Yoome_Walker_Nav_Menu() ) );
}
else{
wp_nav_menu( array( 'container' => 'nav', 'container_class' => 'main-menu pc-menu ts-mega-menu-wrapper' ) );
}
?>
</div>
</div>
</div>
</div>
</div>
</header>