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:

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.