Custom Login Page Logo

Ever wonder how to get rid of the wordpress logo on your login page and use your own? It’s easy, just paste this into your functions.php file

[sourcecode language=”php”]
// custom admin login logo
function custom_login_logo() {
echo ‘<style type=”text/css”>
h1 a { background-image: url(‘.get_bloginfo(‘template_directory’).’/images/custom-login-logo.png) !important; }
</style>’;
}
add_action(‘login_head’, ‘custom_login_logo’);
[/sourcecode]

Upload an image for the logo to your theme’s images folder, and make sure the name matches in the code above.

1 thought on “Custom Login Page Logo

  1. Galen

    I think the admin of this web page is really working hard in support of his site, for the reason that here every information is quality based information.

    Reply

Leave a Reply

Your e-mail address will not be published. Required fields are marked *

Are you Robot? *

For prompt technical support, please use our forum IntoFPV.com. I check blog comments weekly.