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('', ''); ?>

106 comments on “Login-logout

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

    1. I tried plugin on the same version of WP and the same theme and plugin works properly.
      Can you share the URL with the issue?

Leave a Reply

Your email address will not be published. Required fields are marked *