Your account expired support, please renew to get your support.
Topic Resolution: Resolved
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16380
    Caner
    Support Expired

    Hi,

    Our site shows wrong forgot password urls in Ajax Login Form and woocommerce customer login page.

    It has to show customer version of the forgot password urls (like my-account/lost-password), but it shows the admin version of the forgot password urls (like wp-login.php?action=lostpassword)

    How can we fix this issue?

    Thanks & best,
    Caner

    #16384
    Caner
    Support Expired

    I’ve resolved it by editing 2 template files inc/template-functions.php and woocommerce/myaccount/form-login.php

    I’ve used

    if (freshio_is_woocommerce_activated()) {
                $lost_password_link = wc_get_account_endpoint_url( 'lost-password' );
    		} else {
                $lost_password_link = wp_lostpassword_url();
            }

    then echo esc_url($lost_password_link); for the link src.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.