/ Published in: PHP
Add the following line to code to your theme's functions.php file
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function my_custom_login_logo() { echo '<style type="text/css"> h1 a { background-image:url('.get_bloginfo('template_url').'/images/login-logo.png) !important; } </style>'; } add_action('login_head', 'my_custom_login_logo');