fixing the navigation page ids for the topbar menus
authorAnthony Talarico <talarico@gaslightmedia.com>
Tue, 22 May 2018 19:43:16 +0000 (15:43 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Tue, 22 May 2018 19:43:16 +0000 (15:43 -0400)
lib/navigation.php

index e792480..5164c83 100644 (file)
@@ -205,24 +205,24 @@ function glm_side_menu($mobile = false) {
 //    if (($locations = get_nav_menu_locations()) && isset($locations['top-bar-1']))      {
 //        $menu       = wp_get_nav_menu_object($locations['top-bar-1']);
 //     }
-    if(is_page(195) || 195 == $post->post_parent || is_in_tree(195)){
+    if(is_page(16) || 16 == $post->post_parent || is_in_tree(16)){
         if (($locations = get_nav_menu_locations()) && isset($locations['boards'])) {
             $menu       = wp_get_nav_menu_object($locations['boards']);
         }
     }
 
-    if(is_page(197) || 197 ==  $post->post_parent || is_in_tree(197)){
+    if(is_page(18) || 18 ==  $post->post_parent || is_in_tree(18)){
         if (($locations = get_nav_menu_locations()) && isset($locations['departments'])) {
             $menu       = wp_get_nav_menu_object($locations['departments']);
         }
     }
 
-    if(is_page(199) || 199 == $post->post_parent || is_in_tree(199)){
+    if(is_page(20) || 20 == $post->post_parent || is_in_tree(20)){
         if (($locations = get_nav_menu_locations()) && isset($locations['calendar'])) {
             $menu       = wp_get_nav_menu_object($locations['calendar']);
         }
     }
-    if(is_page(201) || 201 == $post->post_parent || is_in_tree(201)){
+    if(is_page(24) || 24 == $post->post_parent || is_in_tree(24)){
         if (($locations = get_nav_menu_locations()) && isset($locations['township'])) {
             $menu       = wp_get_nav_menu_object($locations['township']);
         }