Plugin Contributor
Ewout
(@pomegranate)
Hi Michael,
Sorry for the late response! I am no expert on this subject, but I believe it’s good practice to leave this choice up to the browser. Not all browsers support WOFF (although most do: http://caniuse.com/#feat=woff). I don’t know what happens if other plugins also use FA, whether or not it gets reloaded and which file the browser then picks…
I think the proof of the pudding is in the eating.
Perhaps it would be even better to recommend the other plugin authors to update their version of FA and include the WOFF version too.
Let me know if you have any other questions!
Ewout
I appreciate the response.
When other theme developers and plugins use Font Awesome, unfortunately FA gets loaded multiple times.
Dynamik has a check box on whether you wish to use it (I deselect it and load it from my Shortcodes plugin). The other developers have hooks in which I can deactivate it.
I ended up merging the wpmenucart CSS with my main CSS and removing the wpmenucart CSS which calls the fonts.
// Dequeue Wpmenucart Icons and wpmenucart CSS
wp_dequeue_style(array(‘wpmenucart-icons’, ‘wpmenucart’));
Thanks.
Plugin Contributor
Ewout
(@pomegranate)
Thanks for sharing your solution, awesome!