Login-logout

Speedup WordPressLogin-logoutDonateGitHub

WordPress plugin: widget with login or logout link. It is the replacement of the default Meta widget.

"Login Logout" plugin add widget with login or logout link.

If user is not logged in there are two 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 two links:

  • logout (after logout action user will return to previous page);
  • site admin (if checkbox is active);

Translation

  • Spanish translation made by Maria Ramos from WebHostingHub
  • Serbian translation made by Borisa Djuraskovic from WebHostingHub

If you need "login-logout" link you can use this code without the plugin:

<?php wp_loginout( get_permalink() ); ?>

If you need "register-admin" link you can use this code without the plugin:

<?php wp_register('', ''); ?>

121 thoughts on “Login-logout”

  1. i found solution to my complaint earlier, the plugin is perfect! keep it active, will be making my token donation to support you.

    Reply
  2. I am trying to use this but when I click the link to log in it just gives me
    this as the url /?login=failed&errcode=empty_username
    I never see the page to enter the login information
    Have I done something wrong.

    Reply
    • Login-Logout plugin does not change login action. You need to look deeper what can be the reason for your issue. I think it might be another plugin or some custom code in the theme.

      Reply
  3. Why did my login logout move to the left in chrome.
    I have been using this plugin for a long time with no problems.
    just recently my login has moved to the left in chrome but is fine in all other browsers

    Reply
  4. Hi,
    Thank you very much for your plugin but I don't want to use it anymore and I can't totally delete the plugin. there's stil an incorrect french translation 'DéSe connecter à Mon Compte' instead of "Se déconnecter de mon Compte" in the account page (in the colum and in the text). Please, help me to remove this. Thanks!

    Reply
  5. I am using development version (4.7-RC1). With Theme twentyseventeen-child.
    Your plugin looks nice, but the logout link doesn't work. When I logout, it just stays on the login page.

    Reply

Leave a Reply to Lynn A Cancel reply