Dequeueing Open Sans from WP core
-
After trying a myriad of ways, it doesn’t seem possible to dequeue the Open Sans css loaded by the WordPress core with Autoptimize.
I’ve tried various functions and plugins yet none seem to work. My guess is that Autoptimize grabs this call from WP before the theme functions or any plugins are loaded. Is this the case?
The reason I want to dequeue the WP Open Sans is because my site is using https and the WP call to Google Fonts is using http which causes an error.
Alternatively, can you recommend a way to dequeue the WP Google Fonts call before Autoptimize aggregates css files?
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Dequeueing Open Sans from WP core’ is closed to new replies.