Skip to content
  • Home
  • WordPress
    • Version
    • Maintenance
    • Plugins
  • SEO
    • Google Adsense
  • Social Media
    • Twitter
    • Youtube
  • Tutorial
    • CSS
    • PHP
    • Database
      • MySQL
  • Hosting
    • WHM
    • cPanel
  • Home
  • WordPress
    • Version
    • Maintenance
    • Plugins
  • SEO
    • Google Adsense
  • Social Media
    • Twitter
    • Youtube
  • Tutorial
    • CSS
    • PHP
    • Database
      • MySQL
  • Hosting
    • WHM
    • cPanel

Customize Logo on WordPress Login/Register Page

  • December 8, 2018
  • One Comment
  • CSS, PHP, Wordpress
Customize WP login logo

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 logo
BEFORE
website branding
AFTER

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.

Login Logo

My WordPress Login Logo

Share:

Facebook
Twitter
Pinterest
LinkedIn
PrevPreviousEnable HTTP Security Headers
NextDisable Gutenberg Block Editor in WordPress 5.0Next

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

  1. phpyouth
    December 8, 2018 at 1:38 pm

    Thanks Fredric…

    Reply

Leave a Comment Cancel Reply

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

Useful Guides
  • WordPress vs AI Website Builders (Wix, Framer, Durable) – 2026 Comparison
  • SEO Marketing for Law Firms
  • SEO for Immigration Lawyer
  • How to Stop Google Ads Spam Leads
  • SEO for Immigration Lawyers
Useful Links
  • Business & Strategy
  • cPanel
  • CSS
  • Database
  • Elementor
  • Google Adsense
  • Google Product Feed
  • Gravity Form
  • Hosting
  • HTML
  • Maintenance
  • Memberpress
  • MySQL
  • PHP
  • phpMyAdmin
  • Pinterest
  • Plugins
  • Security
  • SEO
  • Slider Revolution
  • Social Media
  • Technology
  • Tutorial
  • Twitter
  • version
  • Website Builders
  • WHM
  • WooCommerce
  • Wordpress
  • Youtube

© 2026 PHPYouth Software Solutions Pvt. Ltd. All Rights Reserved. | Privacy Policy | Hosted By Godaddy | Security By Sucuri

MemberPress