Skip to content

Instantly share code, notes, and snippets.

@hsquareweb
Created December 2, 2013 16:22
Show Gist options
  • Select an option

  • Save hsquareweb/7752070 to your computer and use it in GitHub Desktop.

Select an option

Save hsquareweb/7752070 to your computer and use it in GitHub Desktop.
Replacing WordPress logo at login
function my_custom_login_logo() {
echo '<style type="text/css">
h1 a { background-image:url('.get_bloginfo('template_directory').'/images/logo.png) !important; }
</style>';
}
add_action('login_head', 'my_custom_login_logo');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment