projects
/
WP-Themes
/
keweenaw2017.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1088bd
)
Fixed members only off-canvas link
author
Laury GvR
<laury@gaslightmedia.com>
Wed, 20 Sep 2017 19:30:26 +0000
(15:30 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Wed, 20 Sep 2017 19:30:26 +0000
(15:30 -0400)
lib/navigation.php
patch
|
blob
|
history
diff --git
a/lib/navigation.php
b/lib/navigation.php
index
0d2f31b
..
b7376bd
100644
(file)
--- a/
lib/navigation.php
+++ b/
lib/navigation.php
@@
-34,7
+34,7
@@
if ( ! function_exists( 'glm_theme_mobile_off_canvas' ) ) {
echo '<div class="left-off-canvas-list">';
echo '<ul><li class="page_item"><a href="' . get_bloginfo('url') . '">Home</a></li>';
echo glm_get_mobile_nav_menu( 'top-bar' );
- echo '<li class="page_item"><a href="' . get_permalink( get_
option( MEMBERS_ONLY_ID
) ) . '">Members Only</a></li>';
+ echo '<li class="page_item"><a href="' . get_permalink( get_
page_by_path( 'members-only'
) ) . '">Members Only</a></li>';
echo '</ul></div>';
}
}