Many premium themes offer a built in function which makes it easy to change your WordPress login logo to your own custom image.
If you’re using a theme which doesn’t offer this feature, then you can still add your own logo by adding some PHP code to your functions.php file, installing a plugin or using a theme which offers admin branding customization, built in.
Customizing Login Page Using PHP Code
Its advisable to create a child theme for all your PHP & CSS custom coding so you avoid losing all your customization when you update your theme.
Code For Parent Theme Only
This PHP code only works in a parent theme which i strongly advise against using because it will be lost when you update the theme.
function parent_theme_login_logo() { ?>
function wpsites_login_logo() { ?>
‘;
}
add_action(‘login_head’, ‘change_wordpress_login_logo’);
I tested this code on my test site using a child theme for customizing the WordPress default theme, Twenty Eleven.
In this example, i have uploaded the custom login page logo to my /images folder on my web server.
In your case, this path may be different so edit the code accordingly with the correct location of your logo.
Custom Login Page Plugins
If you’re not a coder and haven’t created a child theme, it may be safer and easier to install a plugin instead.
Here’s 3 of the most popular login page plugins for adding your own logo.
Theme Login Page Customization
If you’re using a premium WordPress theme like the Woo theme framework, you’ll be able to customize all your admin pages and change the default WordPress login page logo to your own brand easily.
- Not all premium themes offer this feature.
![Login Page Logo Branding Login Page Logo Branding](https://wpsites.net/wp-content/uploads/2011/12/Login-Page-Logo-Branding-660x350.png)
Changing the default WordPress logo on your sites login page to your own is an important part of branding your site if you are using WordPress admin for guest authors, an affiliate program or another reason.
Was This Tutorial Helpful?