How to Change the Login Logo in WordPress
<?php | |
function custom_loginlogo() { | |
echo '<style type="text/css">h1 a {background-image: url('.get_bloginfo('template_directory').'/images/login_logo.png) !important; } | |
</style>'; | |
} | |
add_action('login_head', 'custom_loginlogo'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment