projects
/
WP-Themes
/
phsacf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2108fae
)
fixing members only sidebar template checking
author
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 8 Jun 2017 15:30:45 +0000
(11:30 -0400)
committer
Anthony Talarico
<talarico@gaslightmedia.com>
Thu, 8 Jun 2017 15:30:45 +0000
(11:30 -0400)
checking for user to be logged in instead of having member db access privileges
sidebar.php
patch
|
blob
|
history
diff --git
a/sidebar.php
b/sidebar.php
index
907044e
..
11a795d
100644
(file)
--- a/
sidebar.php
+++ b/
sidebar.php
@@
-1,5
+1,5
@@
<?php if (get_page_template_slug( $post->ID ) === "members-only-template.php") { ?>
- <?php if (
current_user_can("glm_members_member"
)) { ?>
+ <?php if (
is_user_logged_in(
)) { ?>
<div id="members-only-sidebar" class="show-for-small-up opensearchserver.ignore">
<div class="row collapse">
<h4 class="sidebar-title"> Board Members Only</h4>