Avoid to load default WP styles in login screen
Is there some way to avoid the load of default WordPress styles in login screen to only load my custom stylesheets? Actually I’m using this code: function login_styles() { // Sets the styles if is the current theme if (get_stylesheet_directory() == get_template_directory()) { // Prints link to stylesheed login.css wp_register_style(…); wp_enqueue_style(…); } } add_action( ‘login_enqueue_scripts’, … Read more