%k25u25%fgd5n!
<?php
/**
* Navigation Bar
*/
$navbar_logo = $navlogo_class = $navbar_affix = '';
$navbar_layout = 'white';
$basket_icon = 'disabled';
$navbar_class = 'navbar-collapse collapse';
$navbar_mobile_width = '1198';
if ( function_exists( 'FW' ) ) {
$navbar_affix = fw_get_db_settings_option( 'navbar-affix' );
$navbar_breakpoint = fw_get_db_settings_option( 'navbar-breakpoint' );
if ( !empty($navbar_breakpoint) ) {
$navbar_mobile_width = $navbar_breakpoint;
}
// Current page layout
$navbar_layout = windazo_get_navbar_layout('white');
if ( $navbar_layout == 'full-width' OR $navbar_layout == 'hamburger' OR $navbar_layout == 'hamburger-transparent' OR $navbar_layout == 'hamburger-left' ) {
$navbar_mobile_width = '4000';
$navbar_logo = 'white';
}
if ( $navbar_layout == 'transparent' OR $navbar_layout == 'desktop-center-transparent' ) {
$navbar_logo = 'white';
}
$basket_icon = fw_get_db_settings_option( 'basket-icon' );
if ( empty($basket_icon) ) {
$basket_icon = 'disabled';
}
}
if ( $navbar_layout != 'disabled' ):
windazo_the_topbar_block( $navbar_layout );
?>
<div id="nav-wrapper" class="navbar-layout-<?php echo esc_attr($navbar_layout);?>">
<nav class="navbar" data-spy="<?php echo esc_attr($navbar_affix); ?>" data-offset-top="0">
<div class="container">
<?php
if ( $navbar_layout == 'desktop-center' OR $navbar_layout == 'desktop-center-transparent' OR $navbar_layout == 'hamburger' ) {
windazo_the_navbar_social($navbar_layout);
}
?>
<div class="navbar-logo <?php echo esc_attr($navlogo_class); ?>">
<?php
windazo_the_logo($navbar_logo);
?>
</div>
<?php
if ( $navbar_layout == 'desktop-center' OR $navbar_layout == 'desktop-center-transparent' OR $navbar_layout == 'full-width' OR $navbar_layout == 'hamburger' OR $navbar_layout == 'hamburger-transparent' ) {
windazo_the_navbar_icons( $navbar_layout );
}
?>
<div id="navbar" class="<?php echo esc_attr( $navbar_class ); ?>" data-mobile-screen-width="<?php echo esc_attr( $navbar_mobile_width ); ?>">
<div class="toggle-wrap">
<?php
windazo_the_logo('white');
?>
<button type="button" class="navbar-toggle collapsed">
<span class="close">×</span>
</button>
<div class="clearfix"></div>
</div>
<?php
windazo_get_wp_nav_menu();
if ( $navbar_layout != 'desktop-center' AND $navbar_layout != 'desktop-center-transparent' ) {
windazo_the_navbar_icons( $navbar_layout );
}
?>
<div class="mobile-controls">
<?php
windazo_the_navbar_icons( $navbar_layout, true );
?>
</div>
</div>
<div class="navbar-controls">
<button type="button" class="navbar-toggle collapsed">
<span class="icon-bar top-bar"></span>
<span class="icon-bar middle-bar"></span>
<span class="icon-bar bottom-bar"></span>
</button>
</div>
</div>
</nav>
</div>
<?php
endif;