If you want to change the logo you see where you enter the login credentials in WordPress, this simple tutorial will help you achieve that. This also helps as a brand building, if you want to, especially if you have multiple authors.
Procedure
Note: Do take backup of the file you try this.
01. Place the below code in functions.php file:
function custom_login_logo() {
echo '<style type="text/css">
h1 a {
background-image:url('.get_bloginfo('template_directory').'/images/login_logo.png)
!important; }
</style>';
}
add_action('login_head', 'custom_login_logo');
Now upload a new logo named login_logo.png to to a folder called images in your theme folder. This concludes this simple and useful tutorial. Hope you like it.
Comments
Post a Comment
Thank You for Commenting