Change WordPress login screen logo

function my_custom_login_logo()
{
    echo 'h1 a { background-image:url(' . get_bloginfo('template_directory') . '/images/custom-login-logo.gif) !important; }';
}
add_action('login_head', 'my_custom_login_logo');

Author: Tahir Yasin

Tahir is a Passionate Web Developer from Lahore, Pakistan and a guy with NEVER-STOP-LEARNING attitude who keeps an eye on emerging technologies and customer trends.

Leave a Reply

Your email address will not be published. Required fields are marked *