Hello Friends, Today we will show How to customize Logo on WordPress Login and SignUp page. Many times we logged into WordPress websites but never thought to apply our own branding to the login page. It is very simple code, just copy it and implement on your website. Let see how we can change the logo in a minute.
So friends here are the two ways to change the logo on WordPress Login/SignUp page, below they are:
- PHP Function
- WordPress Plugins
PHP Function
Using PHP function, we can easily change the logo on WordPress login page. What we need to do is first copy the below code and place it in your website activated child theme function.php file, follow the path wp-content >> themes >> child-theme(activated) >> function.php file.
function py_login_logo() { ?> <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', 'py_login_logo' );
Please ensure that you replace the logo URL field(http://localhost/wordpress/one.jpeg) with your website logo with the proper appropriate path.
WordPress Plugins
Using WordPress plugins we can easily change 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 the best and updated plugins for you.
1 thought on “Customize Logo on WordPress Login/Register Page”
Thanks Fredric…