Why are my styles being applied to the admin area?
All my enqueued styles are applied to the back-end as well. I have never encountered this behavior before. Here’s my code: wp_register_style( ‘main-styles’, get_stylesheet_directory_uri() . ‘/css/styles.css’, false, ‘1.0.0’, ‘all’); wp_enqueue_style(‘main-styles’); 2 Answers 2 Why are my styles being applied to the admin area? Assuming that is all of the code, it is because you are … Read more