-
Notifications
You must be signed in to change notification settings - Fork 1
/
header.php
45 lines (42 loc) · 1.35 KB
/
header.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
/**
* Header template part.
*
* @author Themedelight
* @package Themedelight/AdventureTours
* @version 1.0.9
*/
get_template_part( 'header','clean' );
$is_sticky_header = adventure_tours_get_option('sticky-header');
if ( $is_sticky_header ) {
TdJsClientScript::addScript( 'sticky-header', 'Theme.initStickyHeader();');
echo '<div class="header-wrap"><div class="header-wrap__backlog"></div>';
}
?>
<header class="header" role="banner">
<div class="container">
<?php get_template_part( 'templates/header/info' ); ?>
<div class="header__content-wrap">
<div class="row">
<div class="col-md-12 header__content">
<?php get_template_part( 'templates/header/logo' ); ?>
<?php if ( has_nav_menu( 'header-menu' ) ) : ?>
<nav class="main-nav-header" role="navigation">
<?php wp_nav_menu(array(
'theme_location' => 'header-menu',
'container' => 'ul',
'menu_class' => 'main-nav',
'menu_id' => 'navigation',
'depth' => 3,
)); ?>
</nav>
<?php endif; ?>
<div class="clearfix"></div>
</div><!-- .header__content -->
</div>
</div><!-- .header__content-wrap -->
</div><!-- .container -->
</header>
<?php if ( $is_sticky_header ) { echo '</div>'; } ?>
<?php get_template_part( 'templates/header/header-section' ); ?>
<div class="container layout-container margin-top margin-bottom">