Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
custom logo in wp-login.php
// Add CSS within in wp-login, place in (child) theme functions.php
add_action('login_enqueue_scripts', function(){
wp_enqueue_style('login-styles', get_stylesheet_directory_uri().'/login.css');
//login.css, place in (child) theme folder
body .login h1 a {
background-image: url('path/to/custom-logo.png');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment