Hello Friends!
Today, we will show how to customize the Logo on the WordPress Login and sign-up page. We often logged into WordPress websites, but never thought to apply our branding to the login page. It is straightforward code, just copy it and implement it on your website. Let’s see how we can change the logo in a minute.
Two Ways to Change
Below are:
- PHP Function
- WordPress Plugins
PHP Function
To begin with, you can use a PHP function to easily change the logo on the WordPress login page. Next, simply copy the code below and paste it into your website’s activated child theme function.php file. You can find this file by following the path: wp-content >> themes >> child-theme (activated) >> functions.php.
function py_login_logo() {
<img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" data-wp-preserve="%3Cstyle%20type%3D%22text%2Fcss%22%3E%20%0Abody.login%20div%23login%20h1%20a%20%7B%0Abackground-image%3A%20url(http%3A%2F%2Flocalhost%2Fwordpress%2Fone.jpeg)%3B%20%20%2F%2FAdd%20your%20own%20logo%20image%20in%20this%20url%20%0Apadding-bottom%3A%2030px%3B%20%0A%7D%20%0A%3C%2Fstyle%3E" data-mce-resize="false" data-mce-placeholder="1" class="mce-object mce-object-style" width="20" height="20" alt=">"> ?php
} add_action( 'login_enqueue_scripts', 'py_login_logo' );
Please ensure that you replace the logo URL field(http://localhost/wordpress/one.jpeg) with your website logo with the proper path.


WordPress Plugins
Using WordPress plugins, we can easily change the WordPress Logo on the Login page. You guys have to install and activate any of the following plugins and follow their instructions. We have searched for the best and updated plugins for you.
You May Like it
Discover more from Wordpress Tutorial for Beginner's
Subscribe to get the latest posts sent to your email.


1 thought on “Customize Logo on WordPress Login/Register Page”
Thanks Fredric…