Include FONT AWESOME in WordPress Core?
-
The idea:
FontAwesome should be included in WordPress CoreWhy:
If you browse the 1000’s of themes and Plugins already using FA variations, hacked up versions, old versions, new versions, standard, non-standard, SVG, old font files (on and on) it becomes clear that such an unbelievably high percentage of Plugins/themes utilize FA that it should just be a WP utility at this pointLogic:
WordPress comes bundled with jQuery,
ergo, it stands to reason FontAwesome should be bundled tooGeneral idea:
CLASS wp_admin_enqueue_font_awesome() – admin panel
CLASS wp_enqueue_font_awesome() – front endhttps://fontawesome.com/v5/docs/web/use-with/wordpress/
This simple action alone would reduce the amount of space being used on servers around the world to store FA resources in Themes and Plugins.
Real World problem:
I have worked on sites that have had as many as 3 plugins and 2 themes (parent and child), all with different versions of FA installed – I notice it’s taking up a lot of space, especially when developers are doing things like including ALL the SVG’s or the old versions with the font files… What compounds the issue even worse is when 2 more Plugins have “their own icon libraries” which range from ‘absurd’ to ‘meh’ – so now ya got 8 “icon libraries” to mess with (WP icons included).Reminds me of dealing with old $jQuery “no-conflict” issues across WooCommerce plugins and PmPro plugins and BuddyPress Plugins and BBpress Plugins all shoved into 1 site…
- The topic ‘Include FONT AWESOME in WordPress Core?’ is closed to new replies.