Replace WordPress login logo, link, and title


In some cases you may want a slightly more personal login page. Here is a snippet you can use to change the default login logo.


Simply add this code to the “functions.php” file within your child theme.



** Replaces Login Logo
add_action( 'login_enqueue_scripts', 'my_login_logo' );
function my_login_logo()

   echo '<style>#login h1 a, .login h1 a{background-image:url(""); width:300px; height:120px; background-size:300px 120px; background-repeat:no-repeat; padding-bottom:30px;}</style>';
add_filter( 'login_headerurl', 'my_login_logo_url' );
function my_login_logo_url()

    return home_url();
add_filter( 'login_headertitle', 'my_login_logo_url_title' );
function my_login_logo_url_title()

    return 'Endurtech';


We hope this article has helped you customize your Admin login page logo, title and link. If this was helpful please take a moment to like us on Facebook, share this on your social media or buy us a cup of coffee.