Skip to content

cartpauj/login-or-logout-menu-item

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Login or Logout Menu Item ===
Contributors: cartpauj
Tags: login, log in, logout, log out, menu, menu item, menus, dynamic
Requires at least: 5.0
Tested up to: 6.2
Stable tag: 1.2.3

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

== 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.

[How to use?](https://wordpress.org/support/topic/instructions-to-use-please/#post-9679222)

Thanks to Juliobox for his prior efforts on the BAW Login/Logout Menu plugin which this is derived from

== Installation ==

1. Download a .zip of this plugin file
1. Go to your WordPress Dashboard -> Plugins page
1. Click "Add New" -> "Upload"
1. Upload the .zip of this plugin and activate it
1. [How to use?](https://wordpress.org/support/topic/instructions-to-use-please/#post-9679222)

== Screenshots ==

1. Login or Logout Menu Item
2. Login or Logout Menu Item - Settings

== Changelog ==

= 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

= 1.2.0 =
* Fixed save options security vulnerability

= 1.1.1 =
* Fixed - Do not redirect Administrator users when logging in

= 1.1.0 =
* Added a settings page
* Added setting for login page URL
* Added setting for login redirect URL
* Added setting for logout redirect URL

= 1.0.0 =
* First Release

About

Easily add a dynamic login/logout menu item to any menu on your WordPress site.

Topics

Resources

License

Stars

Watchers

Forks

Languages