Change the WordPress Login Logo Without a Plugin

Have you ever needed to change the default WordPress logo on the admin login page for a clients website? This tip will show you how without the need of a plugin.

Just paste the below code into your theme’s functions.php file and put a replacement logo inside your theme’s images/ directory named login-logo.png with a size of 274px x 63px. This will add some CSS to the head of the login page that will override the WordPress login logo with our own.

Custom WordPress Login Logo

It really is that easy and not a plugin in sight!

Bonus Tip: Change the login logo link URL and title attribute text

Adding the below code to your themes functions.php file will change the login logo link URL to the home page of your blog and the title text to the blog name.

I hope you find these tips helpful!

  • Hey, thanks for this great tut.
    I tried those but the image is not there, did i miss something?

    • David Hancock

      Thanks for reading it.

      You will need to upload the image you want to use for your login logo to your site via FTP. For example my logo is uploaded to /wp-content/themes/twentytwelve-child/images/login-logo.png.

      Good luck!

  • Rehan

    it worked perfectly but on hover on a custom logo i am getting “Powered by WordPress” how would i removed that on hover text?

    • David Hancock

      I’ve explained how to do that in the Bonus bit at the bottom of the post. 😉

  • SCX

    This is really simple, just copy n paste 😀 Thank you

  • dan diamond

    Thanks very much!