Change WordPress Login Page Logo


Lot of people use WordPress as Community Website, or as a Service Website which required users to login, so here is a way to change the default WordPress logo image to your Organisation logo or whatever you want to.

You can change it in a number of different ways:

Editing the CSS at /wp-admin/css/wp-admin.css
Replacing the wordpress-logo.png  image at /wp-admin/images/wordpress-logo.png

The Methods above will be overwritten when you update WordPress

so the best way is to add this code to your functions.php file located at your current Theme

usually at /wp-content/themes/Your_Theme/functions.php
function custom_loginlogo() {
echo '<style type="text/css">
h1 a {background-image: url('.get_bloginfo('template_directory').'/images/login_logo.png) !important; }
add_action('login_head', 'custom_loginlogo');
upload login_logo.png to /wp-content/themes/Your_Theme/images
and your done

Would you like to share your thoughts?

Your email address will not be published. Required fields are marked *