hide sidebar from users that arent logged in
-
I’m using the restrict content plugin which works really well but the sidebar still shows the normal content to users that are not logged in.
Currently my single.php grabs my “main” sidebar with…
<?php get_sidebar('main'); ?>
I was hoping to add a conditional tag that grabs the “default” sidebar if a user is not logged in.
Thanks in advance to anyone offering help!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘hide sidebar from users that arent logged in’ is closed to new replies.