'container_class' => '', // class of container
'menu' => '', // menu name
'menu_class' => 'government', // adding custom nav class
- 'theme_location' => 'gov', // where it's located in the theme
+ 'theme_location' => 'gov-nav', // where it's located in the theme
'before' => '', // before each link <a>
'after' => '', // after each link </a>
'link_before' => '', // before each link text
'container_class' => '', // class of container
'menu' => '', // menu name
'menu_class' => 'chamber', // adding custom nav class
- 'theme_location' => 'chamber', // where it's located in the theme
+ 'theme_location' => 'chamber-nav', // where it's located in the theme
'before' => '', // before each link <a>
'after' => '', // after each link </a>
'link_before' => '', // before each link text
}
}
-if ( ! function_exists( 'visitors_mobile_off_canvas' ) ) {
- function visitors_mobile_off_canvas() {
+if ( ! function_exists( 'cvb_mobile_off_canvas' ) ) {
+ function cvb_mobile_off_canvas() {
echo '<ul class="left-off-canvas-list">';
echo '<li class="page_item"><a href="' . get_bloginfo('url') . '">Home</a></li>';
echo '<h3 class="propertyLabel"> Visitor Information </h3>';
'container_class' => '', // class of container
'menu' => '', // menu name
'menu_class' => 'visitors', // adding custom nav class
- 'theme_location' => 'cvb', // where it's located in the theme
+ 'theme_location' => 'cvb-nav', // where it's located in the theme
'before' => '', // before each link <a>
'after' => '', // after each link </a>
'link_before' => '', // before each link text
}
}
-if ( ! function_exists( 'economic_mobile_off_canvas' ) ) {
- function economic_mobile_off_canvas() {
+if ( ! function_exists( 'edc_mobile_off_canvas' ) ) {
+ function edc_mobile_off_canvas() {
echo '<ul class="left-off-canvas-list">';
echo '<li class="page_item"><a href="' . get_bloginfo('url') . '">Home</a></li>';
echo '<h3 class="propertyLabel"> Economic Development </h3>';
'container_class' => '', // class of container
'menu' => '', // menu name
'menu_class' => 'economic', // adding custom nav class
- 'theme_location' => 'edc', // where it's located in the theme
+ 'theme_location' => 'edc-nav', // where it's located in the theme
'before' => '', // before each link <a>
'after' => '', // after each link </a>
'link_before' => '', // before each link text
<?php
switch($GLOBALS['entity_page_slug']){
case "government":
- glm_theme_mobile_off_canvas('government-nav');
+ government_mobile_off_canvas();
break;
case "chamber-of-commerce":
- glm_theme_mobile_off_canvas('chamber-nav');
+ chamber_mobile_off_canvas();
break;
case "convention-visitors-bureau":
- glm_theme_mobile_off_canvas('visitors-nav');
+ cvb_mobile_off_canvas();
break;
case "edc":
- glm_theme_mobile_off_canvas('economic-nav');
+ edc_mobile_off_canvas();
break;
default:
- glm_theme_mobile_off_canvas('top-bar');
+ glm_theme_mobile_off_canvas('top-bar');
break;
}