From: Anthony Talarico Date: Thu, 12 May 2016 15:43:28 +0000 (-0400) Subject: fixed page id in the conditional to check pages X-Git-Tag: v1.0.0^2~38 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d401796fb66b1c8501a039efe2b519b25e594fde;p=WP-Themes%2Fthinkdunes.git fixed page id in the conditional to check pages --- diff --git a/lib/navigation.php b/lib/navigation.php index 44e1057..2c40499 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -234,7 +234,7 @@ function glm_side_menu($mobile = false) { $sideMenu = $allMenu = $pageMenuId = array(); - if( 239== $post->post_parent || is_tree(239)){ + if( 142 == $post->post_parent || is_tree(142)){ if (($locations = get_nav_menu_locations()) && isset($locations['chamber'])){ $menu = wp_get_nav_menu_object($locations['chamber']); } @@ -301,7 +301,11 @@ function glm_side_menu($mobile = false) { echo '>'.$pageHead->title.'