Minify functionality not working with the Local Google Fonts plugin
-
I’m having an issue with the Minify functionality of WP Optimize. My theme is Generate Press and I am using the Local Google Fonts plugin to host my Google fonts on my server.
When I have the WPO setting “Process CSS files” enabled, it’s not picking up the Google fonts that are locally hosted. Instead, Chrome’s DevTools (Network | Fonts) shows them coming from gstatic:
e.g., https://fonts.gstatic.com/s/roboto/v30/KFOkCnqEu92Fr1Mu51xIIzIXKMny.woff2Conversely, when I disable “Process CSS files”, Chrome’s DevTools (Network | Fonts) shows them coming from my site:
e.g., https://www.mysite.com/wp-content/uploads/fonts/ae2acb6ab8ec9687c338e6d9a8db9399/roboto–v30-normal-400.woff2?c=1703541493I have purged both the Page and Minify caches each time before testing.
How do I get Minify to use the locally hosted fonts?
- The topic ‘Minify functionality not working with the Local Google Fonts plugin’ is closed to new replies.