Skip to content

Instantly share code, notes, and snippets.

@stebrech
Created November 30, 2012 14:32
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save stebrech/4176105 to your computer and use it in GitHub Desktop.
Ersetze das WordPress Logo auf der Login-Seite mit deinem eigenem Logo.
function custom_login_logo() {
echo
'<style type="text/css">
h1 a {
background-image:url('.get_site_url().'/wp-content/uploads/login.png) !important;
background-size: 100% auto !important;
margin-left: 8px !important;
width: 312px !important;
}
</style>';
}
add_action('login_head', 'custom_login_logo');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment