Skip to content
  • Log In
  • Register
WordPress.org

English (South Africa)

  • Themes
  • Plugins
  • About
  • Get Involved
  • Get WordPress
Get WordPress

Plugins

  • My Favorites
  • Beta Testing
  • Developers

This plugin hasn’t 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.

Download

Login Logout Shortcode

By Pronto Tools
  • Details
  • Reviews
  • Installation
  • Development
Support

Description

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

Installation

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Include the shortcode anywhere on your website: [login-logout text_to_login="Login" text_to_logout="Logout" class="" redirect=""]
  4. Enjoy!

FAQ

Installation Instructions
  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Include the shortcode anywhere on your website: [login-logout text_to_login="Login" text_to_logout="Logout" class="" redirect=""]
  4. Enjoy!

Reviews

Does what it says.

Montelupo Mar 5, 2017
It's very simple and does what it says.
Read all 1 reviews

Contributors & Developers

“Login Logout Shortcode” is open source software. The following people have contributed to this plugin.

Contributors
  • prontotools
  • zkancs

Translate “Login Logout Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

1.1.0

  • Add login URL parameter so that user can change the URL login page instead of login on WP admin page

1.0.0

  • First release!

Meta

  • Version: 1.1.0
  • Last updated: 5 years ago
  • Active installations: 1,000+
  • WordPress Version: 4.0 or higher
  • Tested up to WordPress Version: 4.9.22
  • Language:
    English (US)
  • Tags:
    loginlogoutshortcode
  • Advanced View

Ratings

See all
  • 5 stars 1
  • 4 stars 0
  • 3 stars 0
  • 2 stars 0
  • 1 star 0
Log in to submit a review.

Contributors

  • prontotools
  • zkancs

Support

Issues resolved in last two months:

0 out of 1

View support forum

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

English (South Africa)

  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry