-
AuthorPosts
-
July 29, 2022 at 11:21 am #1359811
Hi Enfold team our client TWU577.org is hoping to change the placeholder text on the “Lost Password” form field – it appears when you click “Lost Your Password?”. Do I need to modify an Enfold Child Theme file? It should say: “Enter employee number or email” instead of enter username or email.
Please let me know how I can change this.
Thanks
TinaJuly 29, 2022 at 11:53 am #1359829Hey Tina,
That is default WordPress functionality, it’s not controlled by the theme. Maybe this will help you out? https://stackoverflow.com/questions/41022243/wordpress-how-do-i-customize-lost-your-password-text-on-login-page
Best regards,
RikardAugust 1, 2022 at 3:18 pm #1360120Hi Rikard,
thanks for the link. However I don’t think it’s exactly what I am looking for.This is the html I am trying to change:
<td class=”lwa-remember-email”><input type=”text” name=”user_login” class=”lwa-user-remember” value=”Enter username or email” onfocus=”if(this.value == ‘Enter username or email’){this.value = ”;}” onblur=”if(this.value == ”){this.value = ‘Enter username or email’}”/>to:
<td class=”lwa-remember-email”><input type=”text” name=”user_login” class=”lwa-user-remember” value=”Enter employee number or email” onfocus=”if(this.value == ‘Enter employee number or email’){this.value = ”;}” onblur=”if(this.value == ”){this.value = ‘Enter employee number or email’}”/>do you know how to add that in the functions php file?
Thanks
Tina-
This reply was modified 3 years, 2 months ago by
webdesignphx.
August 1, 2022 at 6:00 pm #1360143Hi,
Thanks for the update. I’m not sure how to do that, but this is default WordPress functionality, and thus not theme specific. It might be better if you post this question on a general WordPress help forum.
Best regards,
RikardAugust 1, 2022 at 7:01 pm #1360171Thank you Rikard, will do.
August 1, 2022 at 7:46 pm #1360183Hi,
Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.
Best regards,
RikardAugust 3, 2022 at 7:03 am #1360414Hi Rikard thanks you can close it.
TinaAugust 3, 2022 at 7:28 am #1360419Hi webdesignphx,
Thanks for using Enfold and have a great day :)
Best regards,
Nikko -
This reply was modified 3 years, 2 months ago by
-
AuthorPosts
- The topic ‘Change lost username field text to something else’ is closed to new replies.
