Custom Login Page Logo

by Oscar

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; }
add_action(‘login_head’, ‘custom_login_logo’);

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

Leave a Comment

By using this form, you agree with the storage and handling of your data by this website. Note that all comments are held for moderation before appearing.

1 comment

Galen 6th January 2014 - 7:35 am

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.