How to change login logo in WordPress
A custom login logo will give your website a professional look, Learn to change login logo in WordPress to promote your brand,
A self hosted WordPress website gives you that personal and easy way to create content, you have a great theme which you makes your website more user-friendly and suits your taste, but when it comes to your login screen, it’s still stuck with the WordPress logo.
Why don’t you give it a personal touch by uploading your own logo. This will give it a personal brand, having your brand will help in your growth. This will look great when you or the authors of your website login, if your website is a professionally maintained website then having a custom logo will be really great.
There are two ways by which you can change login logo in WordPress, one will be manually without any need of plugin, but for this you have to do a little coding.
Lets change login logo
First change login logo manually
If you notice that the logo size of the WordPress icon on your login screen is 84 X 84 px so the new logo should be of same dimensions. Create a logo of same dimensions, and upload it to your website, you have to login to ftp account using a ftp client, Now you have to head to the theme folder, then to images folder and upload the new logo there.
Now you have to head to your theme’s functions.php file and then you paste the below code. Save the functions.php and if you are doing this with ftp the upload the file on the server.
[code]
function new_login_logo() {
echo ‘<style type="text/css">
h1 a {
background-image: url(‘ . get_stylesheet_directory_uri() . ‘/images/new-login-logo.png);
}
‘;
}
add_action(‘login_head’, ‘new_login_logo’);
[/code]
This will change the logo, Now when you save the code in theme’s functions.php file, your logo will be changed to the new login logo.
Change login logo with a plugin
With the help of a plugin you can do all the process easily, this will be good for those who don’t like to code. This will also be helpful is you like to change the theme frequently, as the change of the code will be in theme so when you change it the logo change will also disappear, but with the use of plugin even when you change the theme the login log change will still be there.
For this first you have to install a plugin called Uber login logo, after activation you have to go to dashboard»settings»uber login logo, there you will find an option to enter the URL of the new login logo that you created.
Now you have the new logo with your own custom image and this will automatically use the domain name and title of your domain.
Conclusion
These are the two ways by which you can change the logo of your WordPress website, Now you can perform this easy and promote your brand, this will definitely make your website have a professional look the moment you login to admin panel. Read this to keep you admin panel secured.
Further read:
- How to Change Default Media Upload Location in WordPress
- How to reset WordPress website to default
- How to setup email address that uses your domain name for free in Google
- How to limit comment length in WordPress
If you liked the post then please share it, and to ask a question or for starting a conversation use the comment section below.