Custom Login Logo
-
I have the following code in the child theme functions.php file. This did display the custom logo in the login page , but somewhere along the way after numerous WP version upgrades,I do not see the image displayed anymore.. Any clues? The image is still in my themes/images directory as it was before.
function my_custom_login_logo() {
echo ‘<style type=”text/css”>
h1 a { background-image:url(‘.get_bloginfo(‘template_directory’).’/images/custom-logo-login.png) !important; }
</style>’;
}add_action(‘login_head’, ‘my_custom_login_logo’);
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Login Logo’ is closed to new replies.