Title: Login-Logout
Author: webvitaly
Published: <strong>Méi 12, 2011</strong>
Last modified: Séptémber 5, 2020

---

Search plugins

![](https://ps.w.org/login-logout/assets/banner-772x250.png?rev=482374)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/login-logout_e0e0ec.svg)

# Login-Logout

 By [webvitaly](https://profiles.wordpress.org/webvitaly/)

[Download](https://downloads.wordpress.org/plugin/login-logout.3.8.zip)

 * [Details](https://su.wordpress.org/plugins/login-logout/#description)
 * [Reviews](https://su.wordpress.org/plugins/login-logout/#reviews)
 *  [Installation](https://su.wordpress.org/plugins/login-logout/#installation)
 * [Development](https://su.wordpress.org/plugins/login-logout/#developers)

 [Support](https://wordpress.org/support/plugin/login-logout/)

## Description

 * **[Advanced iFrame Pro](https://1.envato.market/KdRNz)**
 * **[Login-Logout](http://web-profile.net/wordpress/plugins/login-logout/)**
 * **[Donate](http://web-profile.net/donate/)**
 * **[GitHub](https://github.com/webvitalii/login-logout)**

“Login-Logout” plugin adds widget with login or logout link. Also can be shown register
or site-admin link. It is the replacement of the default Meta widget.

#### If user is not logged in there are such links:

 * login (after login action user will return to previous page);
 * register (if user can register) (if checkbox is active);

#### If user is logged in there are such links:

 * welcome text with link to user profile (if checkbox is active);
 * logout (after logout action user will return to previous page);
 * site admin (if checkbox is active);

## Screenshots

 * [[
 * Login-Logout widget
 * [[
 * Widget output when user is not logged in
 * [[
 * Widget output when user is logged in
 * [[
 * Widget output when user is logged in and inline option is on

## Installation

 1. Install and activate the plugin on the Plugins page
 2. Add “Login-Logout” widget to your sidebar and customize it

## Reviews

![](https://secure.gravatar.com/avatar/69b74a8b449201f3e9e4c562803d8ede0bb97bd5ad04af631f12d6a7cac673ea?
s=60&d=retro&r=g)

### 󠀁[Finally I got it right](https://wordpress.org/support/topic/finally-i-got-it-right/)󠁿

 [danielepais](https://profiles.wordpress.org/danielepais/) Maret 25, 2021

I was having issues with the very annoying logout confirmation but with this plugin
is finally gone.

![](https://secure.gravatar.com/avatar/44d3af495c159f426170e0db34266844a8c67feb0848361ccdfb6bf4e85d3687?
s=60&d=retro&r=g)

### 󠀁[So good, I didn’t need it.](https://wordpress.org/support/topic/so-good-i-didnt-need-it/)󠁿

 [douglasuk](https://profiles.wordpress.org/douglasuk/) Januari 9, 2020

I think it deserves five stars when the instructions tell you what you can do to
NOT use it and still get what you want. Can’t ask better than that!

![](https://secure.gravatar.com/avatar/9038fefd4186ca83516f213a9f8a94fac14c784244d7018c6bad9752e4e6eb92?
s=60&d=retro&r=g)

### 󠀁[Excellent, great, awesome yes it is!](https://wordpress.org/support/topic/excellent-great-awesome-yes-it-is/)󠁿

 [dglite](https://profiles.wordpress.org/dglite/) Januari 16, 2019

Excellent, great, awesome yes it is!

![](https://secure.gravatar.com/avatar/e9eccf83eb9bddaac5d0bbaaba42804804014b7d610919a2f3b41b2e51934bcd?
s=60&d=retro&r=g)

### 󠀁[Awesome!](https://wordpress.org/support/topic/awesome-6148/)󠁿

 [jaydeeforce](https://profiles.wordpress.org/jaydeeforce/) Nopémber 16, 2018

Super easy to set up exactly what it is for.

![](https://secure.gravatar.com/avatar/9236403d160b9567407000b3e9ea072599022060b76ffb5cba81f22f4c6abb51?
s=60&d=retro&r=g)

### 󠀁[Great (and easy to install;-)](https://wordpress.org/support/topic/great-and-easy-to-install/)󠁿

 [thmufl](https://profiles.wordpress.org/thmufl/) Januari 26, 2018

Super easy to install, worked right away. Has solved our login / logout problem 
that we have had for a long time. Many Thanks!

![](https://secure.gravatar.com/avatar/b74954f2257cdea73be95f53998fc1c31678358c2045d1cb36219849a696627d?
s=60&d=retro&r=g)

### 󠀁[Register link not show](https://wordpress.org/support/topic/register-link-not-show/)󠁿

 [androsijep](https://profiles.wordpress.org/androsijep/) Séptémber 3, 2016 1 reply

Register link not show! I check checkbox to display register link but not showing
link

 [ Read all 25 reviews ](https://wordpress.org/support/plugin/login-logout/reviews/)

## Contributors & Developers

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

Contributors

 *   [ webvitaly ](https://profiles.wordpress.org/webvitaly/)

“Login-Logout” has been translated into 5 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/login-logout/contributors)
for their contributions.

[Translate “Login-Logout” into your language.](https://translate.wordpress.org/projects/wp-plugins/login-logout)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/login-logout/), check
out the [SVN repository](https://plugins.svn.wordpress.org/login-logout/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/login-logout/) by
[RSS](https://plugins.trac.wordpress.org/log/login-logout/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 3.8

 * Fixed the PHP 7.2 Deprecated Notice on create_function. Thanks to joneiseman –
   https://wordpress.org/support/users/joneiseman/

#### 3.7

 * Using wp_registration_url() instead of hardcoding registration link. Thanks to
   dmasin – https://profiles.wordpress.org/dmasin/

#### 3.6

 * Bugfixing

#### 3.5

 * Bugfixing
 * Code refactoring
 * Added LOGIN_LOGOUT_PLUGIN_VERSION constant

#### 3.4

 * Added ‘https’ support. Thanks to Sven

#### 3.3

 * Added ‘login_logout_username_link’ filter. Idea and code provided by Jon

#### 3.2

 * One more replace PHP4 style constructors with PHP5 constructors

#### 3.1

 * Replace PHP4 style constructors with PHP5 constructors – https://make.wordpress.
   org/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/

#### 3.0

 * Minor bugfixing
 * Code cleanup

#### 2.9

 * French translation made by Jean-Michel HAROUY – http://www.ceism-angers.fr/

#### 2.8

 * Czech translation made by Daniel Čermák – http://danielcermak.eu/

#### 2.7

 * Spanish translation made by Maria Ramos from WebHostingHub

#### 2.6

 * Serbian translation made by Borisa Djuraskovic from WebHostingHub

#### 2.5

 * minor changes

#### 2.4

 * minor changes

#### 2.3

 * Fixing minor bugs

#### 2.2

 * Added extra item for the list of items

#### 2.1

 * Added html tags support in many fields
 * Added html classes to list items

#### 2.0.1

 * Link to profile bugfix

#### 2.0.0

 * Added inline option
 * Added welcome text

#### 1.8.0

 * Translation ready

#### 1.7.0

 * Added “login text”, “logout text”, “register text” and “site admin text” options

#### 1.6.0

 * Splitting “redirect to” option into “redirect to after login” and “redirect to
   after logout”

#### 1.5.0

 * Added “redirect to” option

#### 1.4.0

 * Change method of widget registering

#### 1.3.0

 * Removed title if it is empty

#### 1.2.0

 * Split register and admin links

#### 1.1.0

 * Added show or hide register or site-admin link

#### 1.0.0

 * Initial release

## Meta

 *  Version **3.8**
 *  Last updated **6 years ago**
 *  Active installations **3.000+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **5.5.18**
 *  Languages
 * [Czech](https://cs.wordpress.org/plugins/login-logout/), [English (US)](https://wordpress.org/plugins/login-logout/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/login-logout/), [Spanish (Spain)](https://es.wordpress.org/plugins/login-logout/),
   [Swedish](https://sv.wordpress.org/plugins/login-logout/), and [Ukrainian](https://uk.wordpress.org/plugins/login-logout/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/login-logout)
 * Tags
 * [login](https://su.wordpress.org/plugins/tags/login/)[logout](https://su.wordpress.org/plugins/tags/logout/)
   [meta](https://su.wordpress.org/plugins/tags/meta/)[sidebar](https://su.wordpress.org/plugins/tags/sidebar/)
   [widget](https://su.wordpress.org/plugins/tags/widget/)
 *  [Advanced View](https://su.wordpress.org/plugins/login-logout/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  24 5-star reviews     ](https://wordpress.org/support/plugin/login-logout/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/login-logout/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/login-logout/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/login-logout/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/login-logout/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/login-logout/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/login-logout/reviews/)

## Contributors

 *   [ webvitaly ](https://profiles.wordpress.org/webvitaly/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/login-logout/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://web-profile.net/donate/)