Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 130709

Using this and the Menu Icons plugin loads two Font Awesome CSS files

$
0
0

Replies: 0

I’m using version 1.6.0 of Better Font Awesome (https://wordpress.org/plugins/better-font-awesome/) and version 0.10.2 of Menu Icons (https://wordpress.org/plugins/menu-icons/), and I’m currently seeing two instances of the Font Awesome CSS file being loaded onto my public pages.

I see BFA tries to remove/dequeue existing Font Awesome CSS (to then load the selected version from a CDN), but it appears the CSS used by Menu Icons is still being loaded from the site’s local files.

https://github.com/kucrut/wp-menu-icons/blob/2cee84e7b5f866d08641e0eaa74accb947e02c23/includes/front.php shows Menu Icons using the ‘wp_enqueue_scripts’ action with a priority of 7 to call the function which enqueues styles.

I’d love to see BFA add improved support for Menu Icons (a 100,000+ active install plugin). Thanks for the great plugin!


Viewing all articles
Browse latest Browse all 130709

Trending Articles