Skip to content

Instantly share code, notes, and snippets.

@WordPress-Handbuch
Last active April 11, 2019 06:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save WordPress-Handbuch/6f730b93064fba2eb3e4e99218a0bfde to your computer and use it in GitHub Desktop.
Save WordPress-Handbuch/6f730b93064fba2eb3e4e99218a0bfde to your computer and use it in GitHub Desktop.
Change the WordPress login page logo to any other image
function wh_custom_login_logocss() {
echo '<style type="text/css">
.login h1 a { background-image: url(/pfadunddateinamedeslogos.png); background-size: contain; width:315px; }
</style>';
}
add_action( 'login_head', 'wh_custom_login_logocss' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment