Here’s a handy php snippet to pop in your themes functions.php file which will replace the WordPress logo on the login page for your blog. Change the /images/you-login-logo.png to point to your logo. 274px width x 63px height will be a perfect swap.
/** this function swaps the login page logo **/
function my_login_logo() {
echo '<style type="text/css">
body.login div#login h1 a {
background-image: url('. get_stylesheet_directory_uri() './images/your-login-logo.png);
padding-bottom: 30px;
}
</style>';
}
add_action( 'login_enqueue_scripts', 'my_login_logo' );
Easy as that!
Nice post !
I found many amazing themes in your lists.
Can’t wait to try on my site & recommend other friends.
Thank alot for sharing, just keep it up