Hi! The best would be to use the same handle for the library, so WordPress will load the library only once.
Can you tell me which handle the other plugin uses for Font-Awesome library or which just the name of the plugin?
Thread Starter
Bob33
(@bob33)
Hi Konstantinos – FA is being loaded as part of the theme and could be turned off there but I prefer is to have direct control of resources like that for updating and optimising.
From my general experience, plugins that load scripts and fonts which are commonly loaded elsewhere often have an option to them off.
It seems to make things cleaner and simpler.
Not a biggie and once again thanks for your work on the plugin 🙂
Hi!
I’ve just updated my plugin to v.1.1.1 and added a filter to prevent loading font-awesome.
Just add in your theme’s functions.php file the following line:
add_filter( 'scrollup_filter_load_font_awesome', '__return_false' );
Let me know if that works for you.
Thread Starter
Bob33
(@bob33)
Hey thanks Konstantinos!
Works a treat – much appreciated!