Change Lost password text to Forgot password

This topic has 3 replies, 2 voices, and was last updated 3 years ago ago by Vinojanath

  • Avatar: Vinojanath
    Vinojanath
    Participant
    October 28, 2021 at 09:03

    Hello, I have tried to change lost password text to forgot password using below function,
    function change_lost_your_password ($text) {
    if ($text == ‘Lost your password?’){
    $text = ‘Forgot your password?’;
    }
    return $text;
    }
    add_filter( ‘gettext’, ‘change_lost_your_password’ );

    But it changes only on My-Account page form only, but not on home page slide form. can you please help me
    My-Account page – https://prnt.sc/1xl0xsn
    Home page – https://prnt.sc/1xl11ws

    2 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 28, 2021 at 09:39

    Hello,

    Install Loco Translate plugin, go to Loco translate > Plugins > XStore Core > New language > Choose English language + Choose a location – System > change texts, check the result, disable the Loco plugin.

    Regards

    Avatar: Vinojanath
    Vinojanath
    Participant
    October 28, 2021 at 10:18

    Amazing it’s help me to fix, Thank you for quick response, I really appreciate it,

  • Viewing 3 results - 1 through 3 (of 3 total)

The issue related to '‘Change Lost password text to Forgot password’' has been successfully resolved, and the topic is now closed for further responses

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.