Login Logout Shortcode

plugin banner

A single shortcode you can place anywhere to allow visitors to login/logout.

Author:Pronto Tools (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:4.9.25
Plugin version:1.1.0
Added to WordPress repository:10-06-2016
Last updated:19-06-2018
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:https://github.com/prontotools/login-logout-s...
Total downloads:9 440
Active installs:1 000+
plugin download
Click to start download

Use a simple, single shortcode to allow your visitors to login or logout depending on their current status.

The shortcode outputs an a href link for you to add in the header, footer or anywhere else on your website.

Example Shortcode:

[login-logout text_to_login="Login" text_to_logout="Logout" class="custom-class" redirect="/shop/"]

Available Parameters:

  • text_to_login – The text to prompt logged-out users to log in.
  • text_to_logout – The text to prompt logged-in users to log out.
  • class – Any optional custom classes to be added to the link.
  • redirect – An optional page to redirect to after logging in/out. If not included, users will redirect to whatever page they’re on when they click the link.
  • login_url – An optional parameter that user can change the URL login page