-
Notifications
You must be signed in to change notification settings - Fork 0
/
header.php
37 lines (33 loc) · 1.16 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
<?php
get_template_part('nav');?>
<div class="home-nav " id="home-nav">
<div class="container">
<div class="row">
<div class="col-md-4 col-8">
<a class="navbar-brand" href="<?php echo site_url(); ?>"><img id="main-blue-logo" src="<?php echo get_template_directory_uri()?>/img/anton-logo-white.svg" alt="<?php the_title()?>"></a>
</div>
<div class="col-md-8 col-4">
<nav class="navbar navbar-expand-md justify-content-end navbar-light nav-index" role="navigation">
<button class="navbar-toggler" onclick="getMenu()">
<span class="navbar-toggler-icon"></span>
</button>
<?php
wp_nav_menu([
'menu' => 'Menú Principal',
'theme_location' => 'menu-1',
'container' => 'div',
'container_id' => 'bs4navbar',
'container_class' => 'justify-content-end bs4navbar',
'menu_id' => false,
'menu_class' => 'navbar-nav navbar-blue-menu mb-auto',
'depth' => 2,
'fallback_cb' => 'bs4navwalker::fallback',
'walker' => new bs4navwalker()
]);
?>
</nav>
</div>
</div>
</div>
</div>
<div id="content" class="site-content">