Skip to content

Instantly share code, notes, and snippets.

@stebrech
Created November 30, 2012 14:32
Show Gist options
  • Save stebrech/4176105 to your computer and use it in GitHub Desktop.
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