Introducing WordPress Menu Restriction Feature in WP User Frontend Pro

There can be a lot of reason for a WordPress admin to restrict certain menus for certain users. So menu restriction can indeed be a very cool feature to have on your site. Let's say you, as an admin, want to make certain menu visible to only a selective set of users. So what would you do if your settings don't allow that? That would've been quite inconvenient for you for various reasons, right? But with WordPress & WP User Frontend Pro, you need not worry about that at all.

Menu Customization in WordPress

So before showing you how this menu restriction feature works with WPUF, let's find out how the menu customization is necessary for your WordPress site. For many websites, there isn't much to customize in their menu. But if you are running a website with multiple user types & privilege access then menu customization is a must. So here are some of the main reasons to why you may want to customize your menu. So menu customization is required to:

  • Offer subscriber-only access to certain menus, pages, and personal pages.
  • Allow guest posts giving them an easy login by not showing a login button to other visitors.
  • Restrict access to a certain section of the navigation based on their roles such as Administrator, Contributor, Subscribers, Customers etc for multiple user types.
  • Grant access for logged in users to private discussion area those who run a forum or other discussion board.
  • Include a registration link for the not logged in users to enable access to your website.

Use of Menu Restriction feature in WP User Frontend

The all-new menu restriction feature provides easy control over its menu of pages or links that you want to make visible or hide from certain users based on their roles. This means you will be able to restrict menu access to people based on their user roles. In this case, the option of making the menu visible to a certain user consists of Everyone, Logged in users, Logged out users and Subscription pack.

Use Case of Selecting the Types of Users

Everyone:

So when the admin from the backend sets the visibility menu link of ‘Login' to ‘Everyone', this means that specific menu will be visible for everyone in the frontend. So now when anyone needs to log in to your website, they can easily do so as the Login menu is available to all of them.

Logged Out Users:

This menu restriction is set when you want only the logged out users to view the login menu. So this means except for the logged out users, it won't be visible to any of the logged in users. So when a logged in users visit the homepage of the website the Login menu won't be visible to them.

Logged in Users:

When ‘Logged In Users' is selected from the drop-down option, the login menu bar on the homepage of your website will not be visible to other user types except the logged in users. So this means any users other than the logged in user will not be able to view the login option. And also for Logged in Users, you can separately choose the roles such as Administrator, Editor, Author, Contributor, Subscriber, Customer, Shop manager, vendor, Pending Vendor to make certain menu visible for them. So this means choosing any of the available roles will restrict that particular user to view the menu based on their roles.

Subscription Packs:

This option allows the Subscription Pack User from viewing a particular menu. Here are few subscription packs like Pack 1, Daily pack, Monthy Pack, Developer, Regular Pack. So when you choose ‘Subscription packs' option, and ticks a specific or a number of subscription pack users from the list below, then that particular menu is visible for all those selected subscription pack users. Meaning if you choose the Subscription Packs option and tick on Daily Pack, then only the Subscription Pack users of Daily Pack gets to view that particular menu.

How Menu Restriction works at a glance

The demonstration above shows how the total menu restriction feature works in the backend of the WordPress website to the frontend. At first, the logged in administrator shows how the homepage login menu is visible to him after allowing the visibility from the backend. Then the user changes its visibility settings to ‘Logged Out Users' only. This makes the Login menu on the homepage hidden for all logged in users. This was just an example to show how restricting the login menu works. Similarly, you can restrict other menus on the homepage of your website based on users and their roles.

Some Final Thoughts

Being able to restrict menu depending on user roles or subscription is indeed a very handy feature for any website. This certainly gives the site owner the right amount of flexibility and control over their website. And with the right use of it, the admin can surely control of what menu to share and to whom. Especially the ‘Logged in Users' and ‘Logged out Users' option can turn out very useful one for many users. As many site owners would love for them to restrict certain menus for the unregistered users of their website.

Having said that, if you own a WordPress website and want to manage everything from the frontend then try WP User Frontend Pro. With this amazing WordPress plugin, you can effortlessly manage User Profiles, Registration Forms with custom post types, subscription, guest posting and much more.

Share your views on what you think about this menu restricting feature of WPUF in the comments below.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.