WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Hyperlink "Lost your password" text?

[Resolved] Hyperlink "Lost your password" text?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Cole Geissinger

    @brainfestation

    While I don’t recommend changing the core code as you run the risk of loosing the changes in future updates, but you can do what you want with it 🙂

    Navigate to and open wp-modal-login/includes/class-wp-modal-login.php

    On line 507 you’ll find this code
    echo '<a href="#forgotten" class="wpml-nav">' . __( 'Lost your password?', 'geissinger-wpml' ) . '</a>';

    just change what’s inside of the href attribute and it should just work? The tabbing functionality is hooked onto that value so changing that will cause your users to be redirected the new page you link to in there.

    @brainfestation
    @cole Geissinger

    I’ll try this as soon as possible. Once I get my other reset password process all configured.

    Please keep the topic open for replies till then, because it’s not super unlikely that some issues will come about. Anyways, thanks for the help!

    @brainfestation
    @cole Geissinger

    For testing purposes, I just tried your solution (with a dummy URL):
    echo '<a href="http://mydomain.com">' . __( 'Lost your password?', 'geissinger-wpml' ) . '</a>';

    For some reason, the redirect still doesn’t work. It sends me to the same password reset modal window?

    @brainfestation
    @cole Geissinger

    It was a caching issue. I fixed it. You can keep this as resolved and closed. I’ll start new thread if I have issues again.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Resolved] Hyperlink "Lost your password" text?’ is closed to new replies.