Archived topic
Font Awesome Kits
12 replies · Started by Laura on May 12, 2020
I see Font Awesome is using the kit approach. I also remember reading that Tom said Font Awesome is rough on performance.
They suggest adding a kit code to the head tag.
1. What is your opinion about this newer approach re performance?
2. Where would I add the code to head tags in GP settings?
Thanks in advance.
Hi there,
1. We don't really use FA anymore so haven't done any testing. You can try implement it and do the before/after speed test.
2. wp_head hook in hooks element is what you are looking for:
https://docs.generatepress.com/article/hooks-element-overview/
https://docs.generatepress.com/article/wp-head/
What are you using instead for icons? They are integrated into one of my main plugins, WP GeoDirectory so...I think I have to use them for that anyway.
Is there something you guys are finding is better?
Thanks.
If they are already built-in to a plugin then I guess you might as well just use it.
SVG is definitely better for performance.
Like these?
https://icomoon.io/
I think I saw you recommending them in a previous post?
Yup that'd work too!
What did you mean by SVG? A particular provider?
Nope - I don't use a lot of icons so I just find free SVG icons online and add them when I need them.
Do you add them inline rather than use a resource which loads them?
Yup - there are multiple ways to do this.
Icomoon might be the easiest.
Thanks!
Thanks you! Trying to mark this as resolved but it's not taking it. Trying again.
No problem :)
