curlyrip
Member
Posted 9 months ago #
Hi,
Firstly fantastic plugin does exactly what I need it to, and it plugs into gantry with ease, ace!
I have worked out how to hide a menu link from a logged out user.
My only question is how would one hide a menu link from a logged in user?
http://wordpress.org/extend/plugins/menu-items-visibility-control/
You could use a condition like this:
! is_user_logged_in()
curlyrip
Member
Posted 9 months ago #
lunchgirl
Member
Posted 5 months ago #
This plugin causes my whole site content to disappear and just leaves the black footer bar at the top of the page.
Nofyah
Hi,
what's the text of the logic you're using? I mean, what do you enter in the visibility box for the menu item?
lunchgirl
Member
Posted 5 months ago #
! is_user_logged_out()
I have menu items I want to hide from logged out users.
The problem is that is_user_logged_out function does not exists, so it's throwing error and killing the page render process. To show the menu only to logged in users, try this logic:
is_user_logged_in()