How to Change WordPress Logo on Admin Signup or Login Page

WordPress provides their own logo on admin signup or login page but sometimes it is required to replace that with own logo especially for branding purpose. You can totally replace it with your own image in just few seconds. This article will elaborate the simple codes & plugins that will help you to Change the WordPress Login Logo.

1. PHP function :
You can easily change the WordPress logo on the Login page with the help of following PHP function. Copy the following code & place it in functions.php file of your active theme. Replace the url field with the file-name of your logo having appropriate path, and store your logo accordingly :

function my_login_logo_one() {
?>
<style type="text/css">
body.login div#login h1 a {
background-image: url(http://localhost/wordpress/one.jpeg); //Add your own logo image in this url
padding-bottom: 30px;
}
</style>
<?php
} add_action( ‘login_enqueue_scripts’, ‘my_login_logo_one’ );

Or search plug-ins. I choose one here:

Add Logo to Admin :

This plugin allows you to Change the WordPress Login Logo.

Step 1 : Install & Activate the plugin.

Step 2 : On your WordPress dashboard, go to the settings section => Add Logo to Admin. You will see the following window. Check the checkbox of Display logo on the login page. Then click on select image link. Browse the new Logo image & Save Changes.

Selection_047

1

No Responses

Write a response