My Frugal Tech

  • Home
  • About
  • Services
  • Contact

Change the WordPress Login Logo and URL

August 3, 2011 by Mitchell Wischmann

The WordPress login logo does look nice, but wouldn't it be nice to add your own logo? Well, now you can!

Just copy and paste the following code into your theme's functions.php file (custom_functions.php if you're using Thesis). Don't forget to change the image URL and the background-size to the width and height of your image.

function my_custom_login_logo() { ?>
	<style type="text/css">
		h1 a { background-image:url(*YOUR LOGO URL HERE*) !important; background-size: *image width* *image height* !important; width: *image width* !important; height: *image height* !important; }
	</style>
<?php }

add_action('login_head', 'my_custom_login_logo');

You can also change the link on the login logo! Again, paste this in your theme's functions.php file.

function custom_loginlogo_url($url) {
	return 'https://myfrugaltech.com/';
}

add_filter( 'login_headerurl', 'custom_loginlogo_url' );

Don't forget to change the URL, otherwise people who click on the login logo will be directed here!

Filed Under: WordPress

Comments

  1. Audrey says

    September 25, 2012 at 3:13 am

    I have a 125 x 125 button as opposed to an actual logo. When I tried putting it in, it ended up looking squished. What size should my logo be to look right, or is there a way to specify the size I am using?

    • Mitchell Wischmann says

      September 28, 2012 at 3:52 pm

      There has been a change to the code above to reflect this. Where the code says background-size, change the values to 125px 125px and see if that solves the problem.

Testimonials

Dana Zeliff

My Frugal Tech has helped me with an array of tasks to keep my website running smoothly. The professional service provided to customers is quick and efficient with competitive rates. I highly recommend My Frugal Tech for all your website development and maintenance needs!

Dana Zeliff
The Coupon Challenge

Kristie Sawicki

Thanks to the work Mitchell has done for my site I am able to put my focus on what I love most, and that’s writing. I can trust that whatever is broke he is more than able to fix it, and many times in very little time!

Kristie Sawicki
Saving Dollars and Sense

Angie Schuckenbrock

I highly recommend My Frugal Tech! I have requested Mitchell’s services multiple times and I am always extremely pleased with his work. Not only do I feel completely safe allowing him access to my site, but he works quickly and exactly to my specifications. Mitchell definitely knows his stuff and his prices are amazing!!

Angie Schuckenbrock
Frugal 4 Four

Melissa Buckles

I can not say enough good things about My Frugal Tech. I have been impressed with his service and delivery. He made all the changes to my website that I requested quickly and right to my specifications. I give My Frugal Tech two big thumbs up!

Melissa Buckles
Everyday Savvy

Melissa Garcia

Mitchell is amazing and very talented. I know I can trust Mitchell with my personal information and he is very quick to respond. He is very affordable and he gets the job done. I go to him for all my technical needs.

Melissa Garcia
Consumer Queen

Jennie Leanne

Mitchell is simply AMAZING to work with. He understands exactly what I do and exactly what I need which has saved many hours of my time since I’ve started working with him.

Jennie Leanne
Bargain Blessings

Andrea Deckard

My Frugal Tech consistently delivers timely support and results while creating custom requests that are exactly what I envisioned in my head. Mitchell always acts in the most professional way with his customers’ needs remaining as the priority at all times. He is one of a select few that I trust to provide technical support for my websites.

Andrea Deckard
Savings Lifestyle

Copyright © 2025 My Frugal Tech. All Rights Reserved.