johannesress
1/27/2014 - 12:20 PM

Enable a custom css file for the login page

Enable a custom css file for the login page

// Create css/wp-login.css in your theme folder
function wpfme_loginCSS() {
	echo '<link rel="stylesheet" type="text/css" href="'.get_bloginfo('template_directory').'/css/wp-login.css"/>';
}
add_action('login_head', 'wpfme_loginCSS');