How to Customize WordPress’s Admin Login Logo

Posted by admin 30 July 2010

By default the WordPress’s admin login looks like the following:

WordPress Admin Login Screen

If you want to change the logo to customize it then add the following piece of code to the “functions.php” file of your WordPress theme:

add_action('login_head', 'wp_custom_login_logo');
function wp_custom_login_logo()
{
echo '<style type="text/css">';
echo 'h1 a { background-image:url('.get_bloginfo('template_directory').'/images/my-logo.gif) !important; }';
echo '</style>';
}

Make sure to upload your custom logo (my-logo.gif) to the “images” directory of your wordpress theme.

Related posts:

  1. Adding a Fancy Siggy
Tags: , ,

Leave your response!

You can subscribe to these comments via RSS.