• Home
  • Enigmas
  • GitHub
  • Music
  • Company

Recent Posts

  • Keeping Your Docker Containers Up to Date with What’s Up Docker (WUD)
  • Setting up Netdata in Linux
  • How to Install and Configure SNMP on a Raspberry Pi for LibreNMS Monitoring
  • How to Monitor Websites and HTTPS Endpoints in LibreNMS via Docker
  • Understanding the Mandelbrot Set, the Julia Set, and Their Relationship

Recent Comments

  1. ades-blog on Understanding Pink Noise Generation in Python
  2. Molnarmilan on Understanding Pink Noise Generation in Python
  3. JP on Jessica’s Mushroom Tortellini
  4. ades-blog on Mom’s Recipe for Ensalada Marisela
  5. Mom on Mom’s Recipe for Ensalada Marisela
Skip to content
Ade's blog
  • Home
  • Enigmas
  • GitHub
  • Music
  • Company
WordPress Logo

Change your WordPress Admin Logo and URL

by ades-blogin code snippetson Posted on March 15, 2024October 29, 2025

To change your WordPress Admin’s login page logo and URL, simply paste the following code into your themes functions.php file:

// WP Admin Logo and URL
function custom_loginlogo() {
	echo '<style type="text/css">
	h1 a {background-image: url('.get_bloginfo('template_directory').'/assets/images/new_logo.png) !important; }
	</style>';
}
add_action('login_head', 'custom_loginlogo');
add_filter( 'login_headerurl', 'my_custom_login_url' );
function my_custom_login_url($url) {
    return 'http://example.com';
}

In the above code, we’ve uploaded a file named new_logo.png to the /assets/images/ folder under the current theme. Of course change out the actual logo image and site URL.

If you need help performing this task, reach out to Tiempo (my company, big button below) for a quick one on one session and we’d be happy to show you how to do that!

Contact Tiempo
Post Views: 987
Tagsadmin,login,logo,url,wordpress,wp admin,wp login
Post authorWritten byades-blog

Post navigation

PreviousPrevious Shock & Strut Assembly for a 2007 Chevy Cobalt

Designed by Tiempo Software

DigitalOcean Referral Badge
Privacy Policy Copyright © 2026 Adrian Sanabria-Diaz's Personal Blog Inspiro Theme by WPZOOM
Scroll to top