Last active
December 9, 2015 21:44
-
-
Save jaredatch/3604586 to your computer and use it in GitHub Desktop.
Load custom CSS on admin login page
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
<?php | |
/** | |
* Customize CSS for login screen | |
* | |
* @since 1.0.0 | |
* @author Jared Atchison | |
* @link http://jaredatchison.com/code/ | |
*/ | |
function ja_login_screen_css() { | |
echo '<link rel="stylesheet" type="text/css" href="' . get_stylesheet_directory() . '/css/style-login.css" />' . "\n"; | |
} | |
add_action( 'login_head', 'ja_login_screen_css', 1 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment