From: Laury GvR Date: Thu, 7 Apr 2016 20:48:12 +0000 (-0400) Subject: Blog pages now show left sidebar X-Git-Tag: v1.0.0^2~89 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=be4540eebac188efb816377c768b840516148cdb;p=WP-Themes%2Fgaslightmedia.git Blog pages now show left sidebar --- diff --git a/lib/navigation.php b/lib/navigation.php index 63770cd..9a27098 100644 --- a/lib/navigation.php +++ b/lib/navigation.php @@ -144,10 +144,11 @@ function glm_side_menu() { global $post; $parents = get_post_ancestors($post->ID); $id = ($parents) ? $parents[count($parents)-1]: $post->ID; + $parent = get_page( $id ); if (is_post_type("post") || is_home() ) { $id = 511; - } - $parent = get_page( $id ); + $parent = get_page( 96 ); + } if ($id == 0) { $ID = $post->ID;