-
Notifications
You must be signed in to change notification settings - Fork 7
/
nav.php
18 lines (18 loc) · 932 Bytes
/
nav.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php
global $tech_nav;
if ( ($tech_nav == "on") && (of_get_option( 'nav_menu', '1' ) == '1') ) {
?>
<div id="menu-icon"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></div>
<div id="navmenu" class="site-navigation <?php echo of_get_option( 'nav_type', 'square' ); ?> <?php echo of_get_option( 'nav_type', 'square' ); ?>-<?php echo of_get_option( 'nav_location', 'below' ); ?>">
<?php
wp_nav_menu( array( 'container' => 'div', 'container_id' => 'navwrap', 'theme_location' => 'primary', 'menu_class' => 'top-menu', 'fallback_cb' => 'tech_menu_fallback', 'walker' => new techozoic_menu_walker() ) );
if ( of_get_option( 'search_box', '1' ) == '1' ) {
get_search_form();
}
?>
</div><!--end navmenu-->
<?php
}
if ( of_get_option( 'breadcrumbs', '0' ) == '1' ) {
tech_breadcrumbs();
}