When we try to access the login page by typing “http://yourwebsite.com/wp-admin/” you will get the basic login page.
On the login page, by default WordPress logo is set. And that’s sometimes we don’t like to show on our website and our client’s website.
So how would we change the logo of WordPress login page?
Well, that is pretty easy.
Read also: Change WordPress Admin Dashboard Logo (Without Plugin)
Here we have posted the code snippets that will allow you to use the custom logo for login page and register user page without installing and using plugins.
Just follow the below guide:
How to Change the Login Logo in WordPress
Below we have embedded the few lines of code that you need to put in your WordPress theme.
For that:
Just copy the below code and paste it into your theme’s functions.php file.
Code to Change Login page Logo
Then change the path of the function code and apply your theme’s image path where you put your logo.
For eg: We have our logo in theme directory and inside in images folder, and also our login logo’s image file name is login-logo.png….
…..So what we do is change the path from “/images/site-login-logo.png“ to “/images/login-logo.png”.
That’s it.
The above code is tested and its work like a charm.
Video Guide: Change Login Logo of WordPress
If you have any questions or get any error with the above code, please let us know in the comment box.
Also, don’t forget to spread this guide to other WordPress blogger or developer on social media website.