Stop So Widgets Bundle from loading font awesome
Hello,
My theme already loads Font Awesome, and I am getting the message on PageSpeeed to…
Serve resources from a consistent URL Content E (58%)
http://mysite.wpengine.com/wp-content/plugins/so-widgets-bundle/icons/fontawesome/font/fontawesome-webfont.woff2?v=4.4.0
http://mysite.wpengine.com/wp-content/themes/mts_schema/fonts/fontawesome-webfont.woff2
I have a child theme but just want to be sure to put the right thing in there to load only the theme Font Awesome.
Thanks!
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
1Hi Laura
Sorry for the late reply here. That’s an interesting question. At the moment, there are a few ways this might be possible. The easiest would be to check if the Widgets Bundle version of Font Awesome is already being enqueued and from there decide if your theme needs to enqueue it too. This is a reasonably complex solution, though.
I’ve logged this issue on our side, we’ll take a look at it and try come up with a more general solution.
https://github.com/siteorigin/so-widgets-bundle/issues/264
Replies on this thread are closed.
Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.