• Resolved johnkitware

    (@johnkitware)


    It is default WordPress behavior to not redirect authenticated users from /wp-login -> /wp-admin. However the username/password options are still visible so you can switch users.

    When a authenticated user visits /wp-login to switch users the social login buttons are not visible. They need to logout first via /wp-admin then go to /wp-login. Can we make these buttons remain visible even if the user is authenticated?

    Steps to reproduce:

    1. Login via /wp-login
    2. Go back to /wp-login after redirect
    3. See no social login buttons
    • This topic was modified 4 months, 3 weeks ago by johnkitware.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Laszlo

    (@laszloszalvak)

    Hi @johnkitware

    I am sorry, but this is the expected behavior, as the connect buttons can only be used for registration and login. If you are already logged in to a WordPress account, these buttons won’t really do anything.

    For logged in users we have rather the “Link” and “Unlink” state of the buttons that logged in users can find in the WordPress default edit profile page ( /wp-admin/profile.php ). Those buttons can be used for:

    • linking social media accounts to the currently used WordPress account
    • and unlinking already linked social media accounts from the currently used WordPress account

    If you would like to display these buttons in other positions as well, then you can render them via the shortcode, by using the “link” and “unlink” parameters, e.g.:

    [nextend_social_login link="1" unlink="1"]

    In the documentation below you can check all the available shortcode parameters:

    If you still have questions or problems, just let us know!

    Best regards,
    Laszlo.

    Thread Starter johnkitware

    (@johnkitware)

    Thank you @laszloszalvak . I didn’t think about the features of linking. I understand the buttons won’t really do anything but this is confusing for users who don’t know they are logged in. Instead of hiding the short code completely, it is possible to add an alert like “You’re already logged in”?

    • This reply was modified 4 months, 3 weeks ago by johnkitware.
    Plugin Support Gabor

    (@nextendweb_gabor)

    Hi @johnkitware!

    From our end we don’t have an option for this. But you could for example use a plugin like this one:
    https://www.ads-software.com/plugins/content-control/
    to display content only for logged in users. That way you could write out, that someone is logged in.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.