I would like to be able to change the text on the Log In button in wp-login.php – however, it’s a bit more complicated than that. I want to be able to change it in the theme, rather than editing the core file directly, so that
a) It doesnât get overwritten when WordPress updates, and
b) It’ll transfer over if I distribute my theme at all.
I don’t know if that’s possible. All I can find on the internet is how to change the CSS of the login page, not the actual HTML/PHP.
The “Log In” string is passed to the translation function, and you can filter that. To prevent needing to filter every little string, you can activate this filter right before the login form is printed.
To supplement what has already been said by Jan Fabry, follows the same function with all terms of the login panel:
By default, this is styled in the core of WP in the login.css and colors-fresh.css
You could always copy this into you theme’s CSS
And make the changes you’d like to see and simply add the
!important
to the ones that are different. LikeAs far as changing the ‘text’ of the button, that’s part of the WP core file and would be over written each time you updated and would not be transferred from site to site.
There’s a couple of plugins that might help with customizing your login page a little more.
BM Custom Login
Custom Login
Just replace “login” button with an image in logins.css
Modify the input ‘value’ with jQuery:
Include the script in the login_head: