<?php get_template_part('parts/search');?>
</div>
<div id="sec-head-nav" class="large-12 columns text-right">
- <ul>
- <li><a href="<?php echo esc_url( home_url() ); ?>">Home</a></li>
- <li><a href="<?php echo get_permalink(38); ?>">Contact</a></li>
- </ul>
+ <?php glm_theme_second_header(); ?>
</div>
</div>
</div>
'top-bar' => 'Site Navigation',
'footer' => 'Footer Navigation',
'chamber' => 'Chamber Navigation',
- 'community' => 'Community Navigation'
+ 'community' => 'Community Navigation',
+ 'second-header' => 'Secondary Header Navigation'
));
/**
));
}
}
+/**
+ * Secondary Header Navigation
+**/
+if ( ! function_exists( 'glm_theme_second_header' ) ) {
+ function glm_theme_chamber() {
+ wp_nav_menu(array(
+ 'container' => false, // remove nav container
+ 'container_class' => '', // class of container
+ 'menu' => '', // menu name
+ 'menu_class' => '', // adding custom nav class
+ 'theme_location' => 'second-header', // where it's located in the theme
+ 'before' => '', // before each link <a>
+ 'after' => '', // after each link </a>
+ 'link_before' => '', // before each link text
+ 'link_after' => '', // after each link text
+ 'depth' => 3, // limit the depth of the nav
+ 'fallback_cb' => false, // fallback function (see below)
+ 'walker' => new Glm_Theme_Top_Bar_Walker()
+ ));
+ }
+}
/**
* Mobile off-canvas
*/