BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
Login or Logout Menu Item icon
Maintained Tested up to 7.0.6 #2 in Dynamic

Login or Logout Menu Item

Add a dynamic "Login" or "Logout" menu item to any WordPress Menu and control redirects.

Active installs20K+10K+ tier
Downloads · 30d2K▼ -17.7% vs prev. 30d
Rating4.8/523 reviews
Health score78/100Good
All-time downloads264.8KSince Oct 2017
Support resolved1 / 1100% in last 2 months
RequiresWP 6.0PHP any
Downloads · 7d509▲ +12.6% week over week
Our verdict

Solid choice

Login or Logout Menu Item is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20K+ sites, is rated 4.8/5 and was last updated 4 months ago, and scores 78/100 on our health check.

  • Proven at scale on 20K+ active sites
  • Loved by users — 4.8/5 from 23 reviews

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

166333500Jun 28Aug 11Sep 25
Yesterday87
Daily average (1y)177
Peak day7,262May 28, 2026
Last 12 months64.3K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Login or Logout Menu Item stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
Dynamic #80 6,759 Best Dynamic plugins →
login #22 8,537 Best login plugins →
logout #1 842 Best logout plugins →
menu #10 10,000 Best menu plugins →
menu item #1 8,342 Best menu item plugins →

Version adoption

Share of active sites per release.

  • 1.369.5%
  • 1.230.0%
  • Other0.51%

Rating breakdown

★★★★★★★★★★ 4.8 from 23 reviews

  • 5★95.7%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★4.3%

About Login or Logout Menu Item

From the official readme · v1.3.2

Description

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

CONFIGURE SETTINGS

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 – This is the URL you would like your users to be redirected to after they’ve successfully logged in. You can set it to / to take them to the home page after logging in. If you’re using a membership plugin like MemberPress, you might want to use /account/ instead. NOTE: Some plugins may override this if they are configured to redirect your users somewhere else during login.

Logout Redirect URL – This is the URL you would like your users to be redirected to after they click the Logout link from this menu item. Use a / to redirect them to the home page, or you might want to redirect them back to the login page at /login/ or /wp-login.php etc.

ADD ITEM TO MENU

In your dashboard visit Appearance > Menus.

Then at the top right of that page click the Screen Options button and ensure that Login/Logout checkbox is checked.

Then select a menu to edit, or create a new menu if you don’t already have one.

In the left sidebar find Login/Logout and click the checkbox next to Login|Logout and then click Add to Menu.

You can now drag the menu item wherever you’d like it to appear in your menu. The URL in the menu settings must be left at #lolmiloginout# but you can change the Navigation Label if you’d like it to say something else. Just ensure that the | is there in the label separating the two words.

Now save your menu. That’s it!

BLOCK EDITOR (NAVIGATION BLOCK)

If you’re using the block editor’s Navigation block:

  1. Add or edit a Navigation block on your page or in the Site Editor
  2. Click the (+) to add a new link
  3. In the search field, type “login” or “logout”
  4. Select “Login|Logout” from the suggestions
  5. The link will automatically show “Login” to logged-out users and “Logout” to logged-in users

You can also manually type #lolmiloginout# as the URL if you prefer.

Troubleshooting

After logging in, menu still shows “Login” or Vice-Versa – This is most commonly caused by caching. If you’re using a caching solution such as Cloudflare, WPRocket, or others, be sure that caching is disabled for logged in users, and disable browser caching options as well.

Login is redirecting users somewhere other than my settings – Many times other plugins will have their own login redirect handling which overrides this plugin’s, such as MemberPress for example. In this case, the other plugins will need to be configured to redirect the user where you’d like them to go.

Installation

  1. Download a .zip of this plugin file
  2. Go to your WordPress Dashboard -> Plugins page
  3. Click “Add New” -> “Upload”
  4. Upload the .zip of this plugin and activate it
  5. For usage instructions, see Details tab and screenshots

Changelog

1.3.2

  • Ensure WP 7.0 Compatibility

1.3.1

  • Removed translations in-plugin, these can be managed at wordpress.org

1.3.0

  • Added support for the block editor Navigation block
  • Search “login” or “logout” in the Navigation block link picker to add the dynamic link

1.2.3

  • Small tweaks to help avoid hosting blocks
  • Fix nonce validation

1.2.2

  • Bump WP Compatibility

1.2.1

  • Fixed error when saving options on some web-host’s

Full changelog on WordPress.org →

Screenshots

Login or Logout Menu Item
Login or Logout Menu Item
Login or Logout Menu Item - Settings
Login or Logout Menu Item - Settings

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Login or Logout Menu Item alternatives

All Dynamic plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Dynamic Conditions Dynamic Conditions Activates conditions for dynamic tags to show/hide a widget or section. by rtowebsites 60K+ ★★★★★★★★★★ 4.8 (114) 2 years ago 39
3 Dynamic Widgets Dynamic Widgets Dynamic Widgets gives you full control on which pages a widget will display. It lets you… by Kalmang 10K+ ★★★★★★★★★★ 4.7 (109) 8 months ago 61
4 WP Display Header WP Display Header Select a specific header or random header image for each content item or archive page. by Konstantin Obenland 7K+ ★★★★★★★★★★ 4.5 (27) 3 weeks ago 87
5 JC Submenu JC Submenu JC Submenu plugin allows you to automatically populate your navigation menus with custom… by jcollings 4K+ ★★★★★★★★★★ 4.6 (49) 6 years ago 33
6 Dynamic Year Block Dynamic Year Block A block that always displays the current year in your footer copyright notice. by Marcio Duarte 2K+ ★★★★★★★★★★ 5 (8) 1 month ago 79
7 Category Posts in Custom Menu Category Posts in Custom Menu Dynamic menus: List all posts from a category in your menu. Also works for tags, custom… by Diana van de Laarschot 2K+ ★★★★★★★★★★ 4.8 (43) 4 weeks ago 76
8 Dynamic Animations for Elementor Dynamic Animations for Elementor Extension for Elementor, you can move widgets with amazing effects. by Dynamic.ooo 1K+ ★★★★★★★★★★ 3.7 (9) 8 years ago 34
9 WP Dynamic Keywords Injector WP Dynamic Keywords Injector WP Dynamic Keywords Injector inserts dynamic keywords, spintax, page title and title tag. by Seerox 1K+ ★★★★★★★★★★ 5 (5) 1 month ago 73
10 Dynamic Copyright Year Dynamic Copyright Year Take year updates off your New Year’s list. This plugin dynamically updates copyright year… by 5 Star Plugins (Rob) 800+ ★★★★★★★★★★ 3 (3) 1 month ago 67
11 Dynamic Image Resizer Dynamic Image Resizer Make your images change sizes dynamically. by Samuel Wood (Otto) 200+ ★★★★★★★★★★ 5 (5) 14 years ago 38

FAQ

Login or Logout Menu Item: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Sep 26, 2026

Is Login or Logout Menu Item free?

Yes. Login or Logout Menu Item is free to download and use from the official WordPress.org plugin directory.

Is Login or Logout Menu Item safe to use in 2026?

Login or Logout Menu Item is a solid plugin choice in 2026, with a few things worth checking first. It runs on 20K+ sites, is rated 4.8/5 and was last updated 4 months ago, and scores 78/100 on our health check.

How many websites use Login or Logout Menu Item?

Login or Logout Menu Item is active on 20K+ WordPress websites and has been downloaded 264,813 times since it launched in October 2017. It was downloaded 2,004 times in the last 30 days.

Does Login or Logout Menu Item work with WordPress 7.1?

Login or Logout Menu Item is officially tested up to WordPress 7.0.6, while the latest release is 7.1.2. It may still work, but try it on a staging site first.

When was Login or Logout Menu Item last updated?

The latest version, 1.3.2, was released on May 28, 2026 (4 months ago).

Who makes Login or Logout Menu Item?

Login or Logout Menu Item is developed and maintained by cartpauj.

What are the best alternatives to Login or Logout Menu Item?

The most popular alternatives to Login or Logout Menu Item are Dynamic Conditions (60K+ installs), Dynamic Widgets (10K+ installs) and WP Display Header (7K+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.