Change Login logo

This snippet allows you to change the logo you see when you login to WordPress(http://website.com/wp-admin). Just put the snippet in functions.php, and then add your login image to a folder called images in your theme folder.

Code Snippet:

<?php
function custom_login_logo() {
    echo '&lt;style type="text/css">
        h1 a { background-image:url('.get_bloginfo('template_directory').'/images/login_logo.png) !important; }
    &lt;/style>';
}
add_action('login_head', 'custom_login_logo');
?>

Posted in Admin area