Changing WordPress Logo in login page without any plugin

WordPress Oct 09, 2019

By default WordPress come's with the default login Logo , Sometimes we need to change that to brand our site. Here's a short snippet to change it with the logo we need.

Changing login page logo in WordPress

Upload your preferred logo to WordPress media library from media<<add new and copy the URL of the file you uploaded .

Now change the URL https://ncy.local/wp-content/uploads/2019/10/letter-n.png to the one you uploaded.

That's it.

It's not the right way to change the logo from wp-admin/images using ftp or file manager , it will get the back to original on updating WordPress.

The above snippet works with any theme you use , if you add it through code-snippets plugin.

How to add this snippet?

You can add this snippet to your child themes functions.php , We don't recommend adding code to your main theme if its not developed by you. Otherwise you can use a simple plugin https://wordpress.org/plugins/code-snippets/

Express your views in the comment section below.

Yellamaddi Naveen

Naveen is 22 years old , self-taught Wordpress developer , Currently Working as a Wordpress developer at Upwork.