Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
// Add to functions.php
add_action('login_head', 'custom_wp_login_logo');
function custom_wp_login_logo() {
echo '<style type="text/css">
h1 a {
background-image:url('. get_bloginfo( 'template_directory' ) .'/img/logo_backoffice.jpg) !important;
}
</style>';
}
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.