Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
wordpress custom login logo change function
/* ------------------------------------------------
Custom login image logo
------------------------------------------------ */
function my_custom_login_logo() {
echo '<style type="text/css">
h1 a { background-image:url('.get_bloginfo('template_url').'/images/loginlogo.png) !important; }
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