RogerWheatley
Member
Posted 7 months ago #
How do we change the alt/title tag to the image?
Currently it shows the "Powered by..." alt/title tag instead of either a blank one or one that reflects the site.
I looked at the plugin code, but not to sure. Do we need to create a couple var's like alt and title? Any code examples kicking around?
Appreciated!
http://wordpress.org/extend/plugins/login-logo/
Don't think I have access to change that. I might have to use a translation filter hack. I'll look into it.
RevelationTravis
Member
Posted 5 months ago #
Place the following code in your functions.php file and you should be set:
//Replaces the WordPress URL and Title on the login page
function custom_login_url () {
echo bloginfo ('url');
}
add_filter ('login_headerurl', 'custom_login_url');
function custom_login_title () {
echo bloginfo ('name');
}
add_filter ('login_headertitle', 'custom_login_title');
Looks like the filter existed after all!
http://plugins.trac.wordpress.org/changeset/545887/login-logo/trunk
That'll be in the next release, but you can use Trunk if you want it early.