Last active
August 29, 2015 14:13
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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