User Menus is the perfect plugin for websites which have logged in users.
The plugin gives you more control over your nav menu by allowing you to apply visibility controls to menu items e.g who can see each menu item (everyone, logged out users, logged in users, specific user roles).
It also enables you to display logged in user information in the navigation menu e.g “Hello, John Doe”.
Lastly, the plugin allows you to add login, register, and logout links to your menu.
Video Tutorial
User Menus Plugin Features
User Menus allows you to do the following:
- Display menu items to everyone
- Display menu items to only logged out users
- Display menu items to only logged in users
- Display menu item to users with or without a specific user role.
- Show a logged in user’s {avatar} in a menu item with custom size option.
- Show a logged in user’s {username} in a menu item
- Show a logged in user’s {first_name} in a menu item
- Show a logged in user’s {last_name} in a menu item
- Show a logged in user’s {display_name} in a menu item
- Show a logged in user’s nickname} in a menu item
- Show a logged in user’s {email} in a menu item
- Add a logout link to menu (optional redirect settings)
- Add a register link to menu (optional redirect settings)
- Add a login link to menu (optional redirect settings)
** Includes a custom Menu Importer that will allow migrating User Menus data with the normal menu export/import.
Related: How To Change WP-Admin Url For WordPress – iThemes Security
How do I setup this plugin?
To setup the plugin, go to wp-admin > appearance > menu Once a menu item has been added to the menu, expand the menu item and select which user group (everyone (default option), logged out users, logged in users (all logged in users or select specific user roles) can see the menu item
To show a logged in user’s information in a menu item, make a menu item only visible to logged in users and then click the grey arrow button to add a user tag (username, first_name, last_name, nickname, display_name, email) to the menu item label.
To add a logout/login link to menu, expand the “User Links” menu item type and then add the logout and/or login link to the menu.
Get The Plugin: User Menus – Nav Menu Visibilit