Blocking Style Enqueue
-
How can I remove the inline style section being added to the head section of every page [ie, the <style text/css>class, class, etc</style>.
1) I use html5 so it should read only <style>.
2) it inserts many lines of css when it would be better as a separate css file, ideally my own theme’s style.css.I can remove all the enqueued scripts via the recommended additions to the functions.php file [ add_filter( ‘wpcf7_load_js’, ‘__return_false’ ); and add_filter( ‘wpcf7_load_css’, ‘__return_false’ ); ]
But doing so does not remove the added style section.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Blocking Style Enqueue’ is closed to new replies.