How To Change Admin Area Login Logo

How To Change Admin Area Login Logo 1

WordPress add their brand logo on admin area where you will find it in signup and logo pages so if you need to replace it in just one minute by this code snippet where let you filter by WordPress built-in hooks.

Steps to change WordPress logo on admin singnup or login pages:

  1. Open WordPress admin panel then go to Appearance > Theme Editor
  2. Open theme functions.php file, if you work localhost open the same file using any code editor IDE
  3. Add the following code at the bottom of the file.
  4. Save the changes.
function zytheme_login_logo() {
    echo '<style type="text/css">
        h1 a { background-image:url('Your Logo URL Here') !important; }
add_action('login_head', 'zytheme_login_logo');

Did you find the WordPress snippets in this article helpful? Share it with your friends and if you have any questions and want to ask us about it, please don’t hesitate to add comments.