Hide menu items on your WordPress membership site

chrislema-face

nav-menu-roles

Want to hide menu items?

A lot of times, when you're building a membership site, you set up your navigation regardless of your membership offerings. You do this because every link in your menu routes people back to your signup page.

This is a natural consequence of having pages that are protected in your main menu. Most membership plugins will offer you a way to reroute non-logged in users to a special page.

But what if you want to simply hide menu items instead?

Well, you can. By role.

Take a look:

menu-by-role

You can click “By Role” and then determine which roles should see the menu item. It's really that simple.

The plugin that does it all

There's a simple plugin that does all the work for you. It's called Nav Menu Roles.

I'm sure there are other ways to do this. And you can always write code to do this. But for the folks who don't write code, it really doesn't get any easier than this.

Note: this doesn't actually do any content protection.

So you still need to pick a membership plugin to do that. But this can leverage those roles to show or hide menu items.

So check it out and let me know what you think.

Your membership site will thank you for it.

About Chris Lema

Chris Lema has been working with WordPress since 2005. Over the years he's been a blogger, a speaker at WordCamps, a coach for WordPress product companies, and the founder of the conference for WordPress business owners, called CaboPress. Today he's the VP of Products at Liquid Web, where he manages the world's first managed platform for WooCommerce stores.

Chris Lema

Chris Lema has been working with WordPress since 2005. Over the years he's been a blogger, a speaker at WordCamps, a coach for WordPress product companies, and the founder of the conference for WordPress business owners, called CaboPress. Today he's the VP of Products at Liquid Web, where he manages the world's first managed platform for WooCommerce stores.

Join more than 7,500 others

My posts. Your inbox. Beautiful.

Chris Lema Speaking

Do You Want To Pick My Brain?

Over the last few years, through private consulting, coaching, and using the pay-by-the-minute Clarity service, I've helped hundreds of folks like you solve their WordPress problems and overcome their technical challenges.

“In 18 minutes Chris was able to save me months of lost time and tens of thousands of dollars by directing me to the right technologies to create my course marketplace. The value was 100x what I paid.” — Josh

Have a question right now? Most of my Clarity calls last less than 20 minutes. Let's set up a call.