Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Changing your WordPress Login Logo
// add my own Login Logo
function guru_login_logo() { ?>
<style type="text/css">
#login h1 a, .login h1 a {
background-image: url(<?php echo get_stylesheet_directory_uri(); ?>/images/your-logo.png);
background-size: 320px 65px;
background-repeat: no-repeat;
padding-bottom: 10px;
<?php }
add_action( 'login_enqueue_scripts', 'guru_login_logo' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment