About the Nav Menu Roles WordPress plugin
It’s an exciting concept, and for those who use a membership plugin or e-Commerce solution, this could be of significant interest to you.
With over one million downloads on WordPress.org and over 100,000 active installations, it seems I’m not alone in thinking this plugin is useful.
Why would you show or hide a WordPress navigation menu item?
It’s important to understand why you’d even consider doing this, and there’s a few reasons for doing so such as:
- You’re running an online store (maybe with WooCommerce or Easy Digital Downloads) and want a cleaner menu structure, for example.
- You’re running a membership website using WordPress and a membership plugin and want to clean up the menu system.
There are probably even more reasons, off the top of my head, that’s all I’ve got so far—sorry brain freeze.
Installing the Nav Menu Roles plugin
Where are the settings for it?
Settings for Nav Menu Roles WordPress plugin
Let’s take a look at what each one does, respectively.
Logged in user settings
Logged out users and everyone
There are no additional settings for either of these two options, and why would you need one?
*Important to remember
That’s the review
Not much of a review granted. The plugin does exactly what it says on the tin. I could stop there and tell you it performs very well indeed, super simple to use, and don’t forget it’s free.
Where’s the fun in that? How about I show you a little something, maybe a mini-tutorial? A real-world usage scenario?
Making a custom menu in WooCommerce
For this part I’m going to install WooCommerce, I want to show you a real example of how the plugin could be of benefit. (Slopes off to install WooCommerce add a few products and other bits and pieces.)
How to hide a WordPress navigation menu item
I’ve selected ‘Editor‘ under the Logged In Users setting. So what does that do to the front end, considering I’m an Administrator, not an Editor?
Let’s get sexy with it.
How to make a custom menu in WooCommerce
You’ll more than likely want to keep things simple. Using WooCommerce and all the pages it creates and endpoints, it can be a bit of a mess to a visitor if, of course, you wanted to display all of them at once.
Narrowing down menu items based on logged out users
As you can see, I’ve made the following available to logged out users:
- Home, About, Shop & Register / Login
I want my visitors to see how clear it is that they can register for an account or login if they have an existing one.
Putting it all together, what does our custom WooCommerce menu look like?
All possible thanks to the Nav Menu Roles WordPress plugin
|Criteria||Score (Out Of 5)|
|Ease of use||5|
|Final Review Score||5|
Kathy Darling has created an awesome plugin here, and I thank her for taking the time out to make something so useful.
Written By Ben
With ten years plus working with WordPress, I guess you could say I’m a bit of a whizz with it. That said, I’m still learning just like you. If you’d like more reviews, news, tutorials, don’t forget to subscribe to my newsletter.
- About the Nav Menu Roles WordPress plugin
- Why would you show or hide a WordPress navigation menu item?
- Installing the Nav Menu Roles plugin
- Settings for Nav Menu Roles WordPress plugin
- That’s the review
- Making a custom menu in WooCommerce
- How to make a custom menu in WooCommerce
- All possible thanks to the Nav Menu Roles WordPress plugin
- Review Verdict