Fonts field – render Google font link in header ?
Hi,
we’re having validator error with style link added to body (insted to head) for Fonts field for embedding Google fonts.
Any chance that Google fonts can be loaded in header … perhaps via wp_add_inline_style method ?
Thanks
This is our free support forum. Replies can take several days.
Need fast email support? Get SiteOrigin Premium
Replies
5Same is valid for icon widget – the style link is added to body ( the id=”siteorigin-widget-icon-font-[typicons] …”) . Also doesn’t pass the validator …
Sorry, please ignore previous posts. I found out what was wrong (I missed some) SO functions for Google font.
However, the “Icon widget”, which uses siteorigin_widget_get_icon() method, still outputs () inside body tag.
Can this be changed so it doesn’t load inside
tag ?
Sorry again, the validator doesn’t allow style tag, not link tag:
And style tag is SO panels:
PLEASE IGNORE THIS THREAD (it was very late in the night … :) )
Glad to hear you got everything sorted micemade :)
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.