-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnavbar.php
executable file
·60 lines (59 loc) · 1.8 KB
/
navbar.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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
<a id="top"></a>
<div id="banner" class="ocpsoft-mobile-navbar navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span>
</button>
<a class="brand" href="<?php bloginfo('url'); ?>"> ocpsoft <!-- <img alt="OCPSoft logo" src="./img/desktop_logo.png"/>-->
</a>
<div class="nav-collapse in collapse">
<ul class="nav">
<?php
wp_nav_menu( array(
'theme_location' => 'mobile',
'fallback_cb' => 'wp_page_menu',
'items_wrap' => '%3$s',
'depth' => 1,
'container' => '',
'container_class' => '',
'container_id' => '',
'walker' => new OCPsoft_Nav_Menu()
) );
?>
</ul>
</div>
</div>
</div>
</div>
<div class="ocpsoft-nav">
<ul class="nav">
<li class="ocpsoft-logo"><a href="<?php bloginfo('url'); ?>"><img alt="OCPSoft logo" src="<?php bloginfo('stylesheet_directory');?>/img/desktop_logo.png" /> </a>
</li>
<?php
wp_nav_menu( array(
'theme_location' => 'primary',
'menu' => '',
'container' => 'ul',
'container_class' => '',
'container_id' => '',
'menu_class' => '',
'menu_id' => '',
'echo' => true,
'fallback_cb' => 'wp_page_menu',
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'items_wrap' => '%3$s',
'depth' => 0,
'walker' => new OCPsoft_Nav_Menu
) );
?>
</ul>
<div style="clear: both;"></div>
</div>
<?php
if (is_active_sidebar('sidebar-header'))
dynamic_sidebar('sidebar-header');
?>