Add a dynamic "Login" or "Logout" menu item to any WordPress Menu and control redirects.
As of April 2026, Login or Logout Menu Item is a WordPress menu plugin with 20K+ active installations and a 4.8/5 rating from 23 reviews. It has been downloaded 224K+ times in total. Requires WordPress 6.0+ and PHP false+. Available on WordPress.org since 2017. Recently updated within the last 3 months. Download volume is stable this week. Top alternative: Admin Menu Editor.
With this plugin you can easily add a dynamic login/logout menu item to any menu on your WordPress site. The menu item will change based on whether the current user is logged in or logged out. You can also set a specific login page url, login redirect url and a logout redirect url.
Thanks to Juliobox for his prior efforts on the BAW Login/Logout Menu plugin which this is derived from
After installing and activating the plugin, you can find the settings in your dashboard under: Settings > Login or Logout
Login Page URL – This should be the URL to the page where your users will login at. For most wordpress sites this will be /wp-login.php but if you’re using a membership plugin like MemberPress, it might be something like /login/ instead.
Login Redirect URL…
The plugin don’t seem to work from PHP version 8.0 and above.
I don’t know why this isn’t a standard with WordPress, but am so grateful this developer saw the need and created a functioning, lightweight, easy to use option! Highly recommend this.
… that WP doesn’t offer this functionality on its own 😀
Great plugin, works like a charm.
Thank you so much for this plugin. Elegantly does what I needed two plugins to do before, with less setup and better functionality.
Thanks for this piece of software
| WordPress | 6.0+ requiredTested up to 6.8.5 |
| PHP | false+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.