How to Customize Your WordPress Login Logo in Under a Minute

How to Customize Your WordPress Login Logo in Under a Minute

A customized WordPress login is a nice touch to any site, especially if you’re making it for someone other than yourself.

There should be no need to install a plugin to do this for you. In order to keep your site lean, you’ll want to avoid adding loads of plugins that do little things like this.

Here’s how you can customize your WordPress login with your own logo in under a minute. Simply add this to your theme’s functions.php file:

FREE EBOOK
Your step-by-step roadmap to a profitable web dev business. From landing more clients to scaling like crazy.

By downloading this ebook I consent to occasionally receive emails from WPMU DEV.
We keep your email 100% private and do not spam.

FREE EBOOK
Plan, build, and launch your next WP site without a hitch. Our checklist makes the process easy and repeatable.

By downloading this ebook I consent to occasionally receive emails from WPMU DEV.
We keep your email 100% private and do not spam.

function my_custom_login_logo() {
echo '

<style type="text/css"><!-- h1 a { background-image:url('.get_bloginfo('template_directory').'/images/logo.png) !important; } -->

';
}

add_action('login_head', 'my_custom_login_logo');

Replace the logo.png with your filename and make sure to drop the file in your theme’s images directory.

Tip: If you want to fully customize a WordPress site check out Branda, our WordPress white labeling plugin. Branda lets you customize the WordPress login panel for your users and a whole lot more.