• Resolved John Quail

    (@johnquail)


    The login menu item opens the pop up, but how do I create a login link in any article that also opens a pop-up, instead of redirecting to the login page? Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support alexrollin

    (@alexrollin)

    Hello,

    You can add “uwp-login-link” class to the link or button which will open the login popup and to open registration form you can use “uwp-register-link” class.

    If I have multiple register forms how do I select an specific form in the lightbox? uwp-register-link

    Plugin Author Stiofan

    (@stiofansisland)

    Hello,

    Please note that it is preferable to open a new ticket, this one is already marked as resolved so we don’t get notified as quickly.

    There is two ways to do this:
    1. add an onclick using the form ID:
    onclick="uwp_modal_register_form(2);"
    2. Data attribute: this is a bit of a workaround as it involves wrapping the link in a span/div with a specific ID:

    <span id="uwp-form-select-ajax">
    <a href="#reg-as-doctor-text-here-not-important" data-form_id="2">Open form 2 in lightbox</a>
    </span>

    Thanks,

    Stiofan

    Plugin Author Stiofan

    (@stiofansisland)

    If you just means what forms to show in the lightbox, you can set them from setting at UsersWP->General->Register->Lightbox Form(s).

    Thanks,

    Stiofan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How do I create a login link that opens the pop-up?’ is closed to new replies.