Show a WordPress Menu Item Only When Logged In
He wasn’t sure if it could be done with the WordPress core or if it required a plugin.
This tutorial shows you how to control the visibility of menu items based on logged-in status or access group. Let’s get started…
Install Power Menus
Hiding a menu item based on logged-in status does require a plugin in WordPress. We’ll use the Power Menus plugin, which was designed for this purpose.
If you’re not sure how to install a plugin, use our Install WordPress Plugins tutorial.
Before using Power Menus
Without the plugin, the only options for a WordPress menu item are:
After using Power Menus
With the plugin, we’re now able to select if we want it to be visible to logged in users only or just to certain user roles.
It’s as easy as that. The plugin does a great job integrating with the WordPress UI and makes it simple to hide menu items.
It’s as simple as that. The module makes an extraordinary showing with regards to incorporating with the WordPress UI and makes it easy to shroud menu things.
Hi,
glad you liked it π