AlkantarClanX12
Current Path : /home/thanudqk/siamfreetour.com/wp-content/themes/consultstreet/template-parts/ |
Current File : /home/thanudqk/siamfreetour.com/wp-content/themes/consultstreet/template-parts/site-navbar.php |
<?php $consultstreet_menu_style = get_theme_mod('consultstreet_menu_style', 'sticky'); $consultstreet_menu_container_size = get_theme_mod('consultstreet_menu_container_size', 'container-full'); ?> <!-- Navbar --> <nav class="navbar navbar-expand-lg not-sticky navbar-light navbar-header-wrap <?php if($consultstreet_menu_style == 'sticky'){echo 'header-sticky'; }?>"> <div class="<?php echo esc_attr($consultstreet_menu_container_size); ?>"> <div class="row align-self-center"> <div class="align-self-center"> <?php echo esc_html( consultstreet_header_logo() ); ?> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="<?php esc_attr_e('Toggle navigation','consultstreet'); ?>"> <span class="navbar-toggler-icon"></span> </button> </div> <?php wp_nav_menu( array( 'theme_location' => 'primary', 'container' => 'div', 'container_class' => 'collapse navbar-collapse', 'container_id' => 'navbarNavDropdown', 'menu_class' => 'nav navbar-nav m-right-auto', 'fallback_cb' => 'consultstreet_wp_bootstrap_navwalker::fallback', 'walker' => new consultstreet_wp_bootstrap_navwalker() ) ); ?> </div> </div> </nav> <!-- /End of Navbar -->