WordPress Navigation Menu Restriction & Visibility Control

Do you want to control the visibility of the navigation menu of your WordPress site?

If you run a membership or community website powered by WordPress, you likely want to restrict or control the visibility of your navigation menus.

The ProfilePress membership plugin integrates with the powerful menu restriction plugin, Nav Menu Roles. It allows you to protect or restrict the WordPress site menu based on specific user roles, whether logged in or logged out or are paid members.

By using these tools, you can create a customized experience for your users, ensuring that each visitor sees only the menu items relevant to them. This enhances user experience, helps maintain the integrity of your content, and encourages users to engage more deeply with your site.

In this guide, we’ll walk you through setting up navigation menu restrictions in WordPress.

How to Restrict WordPress Navigation Menu

To get started, we need to install and activate the Nav Menu Roles WordPress plugin.

Go to your WordPress dashboard, click Add New under the Plugins menu, type “Nav Menu Roles” into the search bar, and click the Install Now and Activate buttons.

After installing the plugin, go to Appearance > Menus and expand your menu item.

If you only want to show this menu item to logged-in WordPress users, you can choose who can see it based on role and now also based on the member’s active membership plan in ProfilePress.

The “Display Mode” setting lets you decide whether to hide or show the menu.

In the “Target audience” setting, you can decide whether to show the menu to all users, logged-in or logged-out users.

Finally, select the role or membership plan to restrict the menu.

Don’t forget to save the changes.

Conclusion

Now that you have learned how to implement menu restrictions and visibility controls in WordPress, you can create a more customized website experience.

By leveraging the power of ProfilePress and Nav Menu Roles, you can effortlessly manage who sees what in your website navigation menu, whether they are WordPress users logged-in or not.