Members
94The best WordPress membership and user role editor plugin. User Roles & Capabilities editor helps you rest...
Hide custom menu items based on user roles.
Nav Menu Roles is a WordPress plugin that allows you to hide custom menu items based on user roles. You can set menu items to be visible only to logged in users, logged out users, or everyone, with additional flexibility to customize visibility based on specific user roles and capabilities.
This plugin is suitable for users who want to control the visibility of menu items in their WordPress site without restricting access to content itself. It is particularly useful for membership sites or any site that requires differentiated navigation based on user status.
Best for: This plugin suits WordPress site owners who need to manage menu visibility based on user roles.
What it does well
Where it falls short
Nav Menu Roles provides a straightforward solution for controlling menu item visibility, but users should be aware of its limitations regarding content access.
HelgaTheViking's own description of Nav Menu Roles, lightly tidied.
This plugin lets you hide custom menu items based on user roles. So if you have a link in the menu that you only want to show to logged in users, certain types of users, or even only to logged out users, this plugin is for you.
Nav Menu Roles is very flexible. In addition to standard user roles, you can customize the functionality by adding your own check boxes with custom labels using the nav_menu_roles filter and then using the nav_menu_roles_item_visibility filter to check against whatever criteria you need. You can check against any user meta values (like capabilities) and any custom attributes added by other plugins.
In WordPress menu items and pages are completely separate entities. Nav Menu Roles does not restrict access to content. Nav Menu Roles is only for showing/hiding nav menu items. If you wish to restrict content then you need to also be using a membership plugin.
Support is handled in the WordPress forums. Please note that support is limited and does not cover any custom implementation of the plugin. Before posting, please read the FAQ. Also, please verify the problem with other plugins disabled and while using a default theme.
Please report any bugs, errors, warnings, code problems to GitHub
Other plugins for membership sites.
The best WordPress membership and user role editor plugin. User Roles & Capabilities editor helps you rest...
Build membership sites with tiered plans, content restriction, drag-&-drop custom registration & login...
Membership & community plugin with user profiles, registration & login, member directories, content re...
Bulk import and export WordPress users and WooCommerce customers from CSV, including roles, passwords and any...
Simple membership plugin adds membership functionality to your site. Protect members only content using conten...
Number one WordPress forum plugin with AI features. Full-fledged forum solution with modern forum design. Comm...