Admin and Dashboard - Change the login logo with yours
<?php
// Do NOT include the opening php tag
<!--
Let's start with one about branding: if you ever wanted to change the WordPress logo on the login page with yours (or a client's), that's the code you'll need. It's easy: just open your functions.php file and paste the following:
-->
function my_custom_login_logo() {
echo '<style type="text/css">
h1 a { background-image:url('.get_bloginfo('template_directory').'/images/custom-login-logo.gif) !important; }
</style>';
}
add_action('login_head', 'my_custom_login_logo');
<!--
Reinforcing your brand communication with this little tweak is just the first step, you'll see how many things you can do without installing plugins. [via]
-->