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
Tina
Hey 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,
Rikard
Hi 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
Hi,
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,
Rikard
Thank you Rikard, will do.
Hi,
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,
Rikard
Hi Rikard thanks you can close it.
Tina
Hi webdesignphx,
Thanks for using Enfold and have a great day :)
Best regards,
Nikko