Want only certain people (e.g. logged-in users) to see a menu item?

I knew how to do this with a widget (Jetpack visibility) or even a page (CSS), but didn’t know quite how to do it for a navigation item. Unless, of course, I got into PHP, which I was hoping to avoid.

[box type=”info”]Use just a single menu item or even a bunch of drop down items under it, too. [/box]

The Nav Menu Roles plugin does just that. You can choose to let anyone see it, only logged in users, or even deeper, by user role. Very handy if you have a members only site and want to customize a navigation bar (or even a custom menu in a sidebar) for certain users.

Would some code be a better option than a plugin? Sure, it would load faster and wouldn’t yet be another plugin you needed to wait to load, etc. But on the other hand, if you don’t know how and where to put that code, it’s not going to make it very easy to use.

Need to hide a menu item from, say, non-users? Easy.

Need to hide a menu item from, say, non-users? Easy.