adding parks and rec menu item
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 22 May 2018 20:13:29 +0000 (16:13 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 22 May 2018 20:13:29 +0000 (16:13 -0400)
adding parks and rec menu item, registering nav menu item

lib/navigation.php

index 5164c83..0166c2f 100644 (file)
@@ -5,6 +5,7 @@ register_nav_menus(array(
   'departments' => 'departments-services',
   'township'    => 'township-resources',
   'calendar'    => 'township-calendar',
+  'parks'       => 'Parks and Rec',
   'mobile-menu' => 'Off Canvas',
   'alt-menu'    => "How Do I...",
 ));
@@ -19,6 +20,7 @@ if ( ! function_exists( 'glm_theme_top_bar' ) ) {
         echo glm_get_top_bar_nav_menu( 'departments' );
         echo glm_get_top_bar_nav_menu( 'calendar' );
         echo glm_get_top_bar_nav_menu( 'township' );
+        echo glm_get_top_bar_nav_menu( 'parks' );
         echo '</ul>';
     }
 }
@@ -65,6 +67,7 @@ if ( ! function_exists( 'glm_theme_mobile_off_canvas' ) ) {
         echo glm_get_mobile_nav_menu('departments');
         echo glm_get_mobile_nav_menu('calendar');
         echo glm_get_mobile_nav_menu('township');
+        echo glm_get_mobile_nav_menu('parks');
         echo glm_get_mobile_nav_menu('alt-menu');
         echo '</ul></div>';
     }