Skip to content

Instantly share code, notes, and snippets.

@iagdotme
Created September 3, 2013 09:06
Show Gist options
  • Save iagdotme/6421435 to your computer and use it in GitHub Desktop.
Save iagdotme/6421435 to your computer and use it in GitHub Desktop.
Change WP Login Image
<?php
/* ------------------------------------------------------------------ */
// Custom Login Image
// http://wp.tutsplus.com/tutorials/customizing-wordpress-for-your-clients/
function my_custom_login_logo()
{
echo '<style type="text/css"> h1 a { background-image:url(/assets/img/spLogo.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