Dequeue Scripts and Style for Mobile not working?
You should run the conditional tags (e.g. is_front_page()) from inside the callback/function (e.g. remove_default_stylesheet()) — see Where to Use Conditional Tags and the warning here. And there’s no hook named wp_enqueue_style; just use the wp_enqueue_scripts to enqueue/register/dequeue/deregister a stylesheet file. So I’m not sure the exact conditionals you need, but the following would dequeue/deregister the … Read more