Login Logout Menu Plugin
Login Logout Menu is a handy plugin which allows you to add login, logout, register and profile menu items in your selected menu.
Login Logout Menu plugin will help you to add the dynamic login and logout menu to any menu of your WordPress website. You can also set the Login Page url, Login redirect url, and logout redirect url. The menu item will change based on the current user status (Login or Logout).
You can use the following plugin shortcodes to display the Login, Logout, Register, Password reset, Username and Profile links on your website pages.
- login_logout_menu__login_link
- login_logout_menu__logout_link
- login_logout_menu__profile_link
- login_logout_menu__register_link
- login_logout_menu__username_link
- login_logout_menu__reset_pass_link
- login_logout_menu__login_logout_link
Check out our documentation to implement the shortcodes and filters of Login Logout Menu Plugin.
If you find our plugin useful, please leave a good rating/review and check out our other plugins below.
Installation
- Upload the plugin to your ‘wp-content/plugins’ directory, or download and install automatically through your admin panel.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to Menus, You will see a separate section for Login,Logout,Register and Profile Menu Items.
- Drag and Drop these menu items to your menus you have created already.
Screenshots
Menus Screen for Login | Logout | Profile | Register Icons
Login Menu Item
Logout and Profile Menu Item
Changelog
1.5.1 – 2024-06-11
- Enhancement: Added a filter
login_logout_menu_avatar_attrs
allows to modify the attributes used for rendering the HTML markup of the login/logout menu avatar. - Enhancement: Added a filter
login_logout_menu_avatar_html
allows customization of the HTML markup for the avatar displayed in the login/logout menu. - Compatibility: Compatible with WordPress 6.5
1.5.0 – 2024-01-09
- New Feature: Added the User Avatar functionality.
- Enhancement: Added a filter
login_logout_menu_avatar
to change the html structure of login logout menu avatar. - Enhancement: Added a filter
login_logout_menu_avatar_args
to change the login logout menu avatar’s arguments. - Enhancement: Code re-factor and optimize.
- Compatibility: Compatible with WordPress 6.4
- Compatibility: Compatible with PHP 8.3
1.4.0 – 2022-12-26
- Bugfix: Apply escaping on the login menu shortcode attributes for security.
- Compatibility: Compatible with Theme My Login
- Compatibility: Compatible with WordPress 6.1
- Compatibility: Compatible with PHP 8.1
1.3.3 – 2022-06-22
- Compatibility: Compatible with OceanWP theme.
- Compatibility: Compatible with WordPress 6.0
1.3.2 – 2022-05-19
- Enhancement: Added a filter
before_login_logout_menu_items
to change the menu item behavior. - Compatibility: Compatible with WordPress 6.0
1.3.1 – 2021-07-22
- Bugfix: Shortcode Parameters for Login/Logout redirects.
- Compatibility: Compatible with WordPress 5.8.
1.3.0 – 2021-06-16
- Enhancement: Added a shortcode
login_logout_menu__login_link
for using the Login link. - Enhancement: Added a shortcode
login_logout_menu__logout_link
for using the Logout link. - Enhancement: Added a shortcode
login_logout_menu__profile_link
for using the Profile page link. - Enhancement: Added a shortcode
login_logout_menu__register_link
for using the Registration page link. - Enhancement: Added a shortcode
login_logout_menu__username_link
for using the Username link. - Enhancement: Added a shortcode
login_logout_menu__reset_pass_link
for using the Reset Password link. - Enhancement: Added a shortcode
login_logout_menu__login_logout_link
for using the Login/Logout link.
1.2.0 – 2021-04-01
- New Feature: Create a new nav menu item for showing username. (if user is Login)
- Enhancement: Added a filter
login_logout_menu_login
to change the Login URL. - Enhancement: Added a filter
login_logout_menu_logout
to change the Logout URL. - Enhancement: Added a filter
login_logout_menu_profile
to change the Profile page URL. - Enhancement: Added a filter
login_logout_menu_register
to change the Registration page URL. - Enhancement: Added a filter
login_logout_menu_username
to change the Username. - Enhancement: Added a filter
login_logout_menu_username_url
to change the Username URL. - Compatibility: Compatible with WordPress 5.7.
- Compatibility: Compatible with PHP 8.0.
1.1.0 – 2019-06-09
- Compatibility: Compatible with WordPress 5.2
1.0.0 – 2018-01-05