Is there a way using this plugin to hide a custom menu from non-logged in users?
Custom menus, as well as default Toolbar items, are displayed to roles selected in a list of checkboxes. The checkbox “Visitor” will designate non-logged in users, as well as those who are not registrered at all on your site.
If you select all roles of your site and not “Visitor”, you’ll display a menu to all but non-logged-in users of your site, which is what you want if I understand correctly.
To develop further, you may also show custom menus to some of the roles of your site only: admins, authors, pay members, whatever.
Hey thanks for the reply!
I can’t get it to work that way.
I have created 2 custom menus and designated neither to the custom nav place.
Within WP Toolbar I checked off that the registered user types could see one nav menu and that visitors saw the other, but only the visitor menu ever shows up!
Do you have a URL where I can check why your menu doesn’t show ? If unwilling to share this publicly you may reach me by email, at the address on top of every plugin file.
But won’t you need to login?
I don’t know for site users, my account is still pending approval, but as far as visitors, I don’t see the Toolbar at all…
Thanks for granting me with admin rights, there, most useful.
I didn’t try to play with settings as I see other users registrered on this site. What is your concern exactly, everything seems in place to me, and I see all I should see…?
I’m trying to get the full nav menu to only appear to logged in users.
in appearance/menus i have 2 menus configured wpslogin and wpsprofile
I’d like the login menu to appear to any non-logged in user, and the more full complete menu to appear for the logged in users.
I’m not sure if this plugin can do that?
Thanks for any help
Yes, these menus were created by the plugin, and what you describe is their exact default settings, that were unchanged when I checked on your site. You will need to make sure the Toolbar is actually displayed to non-logged-in users by checking “Visitor” in the “Toolbar” option at the “Toolbar” tab, and you should be all set 🙂
Other than that, I noticed you added an item “Register” to the Profile menu, which I believe will be useless, given that this menu is displayed to logged-in users only (and obviously, registrered)…
I can’t get it to work. I checked “visitor” in the toolbar tab. I unchecked the WPS Profile menu in the Appearance/Menus from the menu locations, so that now there are no menus checked for either menu locations. I logged out and navigated to the website url, and still saw the profile menu.
I guess I can’t get it right!
Just navigated to your site, not logged-in I could see the Toolbar, totally empty, neither the Profile menu nor the Login menu.
I took the initiative to check the “Visitor” checkbox for the “WP User Menu” at the “Toolbar” tab so that this Toolbar item actually shows to visitor, and now it does show the login menu to visitor, as per the options tab “Custom Menus”. If this isn’t what you want, just let me know.
I appreciate the settings for this partocular item may be tricky, this is essentially due to the various scenarios detailed in the section 2.5 of the User Guide.
- The topic ‘Hide Custom Menu from Non-Logged In Users’ is closed to new replies.