Development Technology

How to add a custom logo to WordPress admin login page

A good way to customize a WordPress theme is by adding a custom logo to your WordPress admin login page.

The easiest way to do this is by opening your functions php file in your WordPress theme and adding this code to the end of the functions file.

How to add a custom logo to WordPress admin login page:

function my_login_logo_one() { 
?> 
<style type="text/css"> 
body.login div#login h1 a {
 background-image: url(https://codefortheculture/wp-content/uploads/2020/09/logo02.png);  //Add your own logo image in this url 
padding-bottom: 30px; 
} 
</style>
 <?php 
} add_action( 'login_enqueue_scripts', 'my_login_logo_one' );

Now simply change the image with your personal logo and your all set!

Like what your see, Follow Us on Social Media
About the author

Code for the Culture

Code for the Culture is a company that specializes in merging the concepts hip hop, design, and technology. Our online resource focused on displaying the most up to date new and golden age hip hop, art/design, and technology. Much about Code for the Culture is through our development and design parent company CodeCuz (Learn more about CodeCuz)

Leave a Reply

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