Skip to content

Instantly share code, notes, and snippets.

@paulburgess
Last active August 29, 2015 14:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save paulburgess/f657ab10e221b986f4f3 to your computer and use it in GitHub Desktop.
Save paulburgess/f657ab10e221b986f4f3 to your computer and use it in GitHub Desktop.
Add your own css file to the WP login screen. Couple with CSS in https://gist.github.com/paulburgess/2d2dd6f210de543f4a2c
// logo link
function wpc_url_login(){
return "/";
}
add_filter('login_headerurl', 'wpc_url_login');
// logo
// add own css file
function login_css() {
wp_enqueue_style( 'login_css', get_template_directory_uri() . '/_/css/login.css' );
}
add_action('login_head', 'login_css');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment