From e259b9efdee06ff87884777ab280e201e797fba7 Mon Sep 17 00:00:00 2001 From: Anthony Talarico Date: Tue, 22 May 2018 15:43:16 -0400 Subject: [PATCH] fixing the navigation page ids for the topbar menus --- lib/navigation.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/navigation.php b/lib/navigation.php index e792480..5164c83 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -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']); } -- 2.17.1