projects
/
WP-Themes
/
gaslightmedia.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51b04e9
)
Blog pages now show left sidebar
author
Laury GvR
<laury@gaslightmedia.com>
Thu, 7 Apr 2016 20:48:12 +0000
(16:48 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Thu, 7 Apr 2016 20:48:12 +0000
(16:48 -0400)
lib/navigation.php
patch
|
blob
|
history
diff --git
a/lib/navigation.php
b/lib/navigation.php
index
63770cd
..
9a27098
100644
(file)
--- 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;