• Resolved fidoboy

    (@fidoboy)


    My theme setup already includes FontAwesome so it has no sense that this plugin load it again (and it’s loading an old version 4.7)

    Is there any way to deactivate FontAwesome loading in this plugin? Can I use any hook in functions.php to dequeue it?

    • This topic was modified 2 years, 8 months ago by fidoboy.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Alexandru Tapuleasa

    (@talextech)

    Hi,

    It will only load FontAwesome if you use FA icons. You can disable icons for links or use Dashicons or image icons instead ??

    Thread Starter fidoboy

    (@fidoboy)

    But I do not want to disable icons for links, all I want is to remove the CSS reference to the Font Awesome from this plugin, because it’s already being loaded from my theme.

    There is other plugins, like WPDiscuz and so, that have an option to load or not the FA font. May be you can consider this by adding a switch into your plugin settings.

    Plugin Author Alexandru Tapuleasa

    (@talextech)

    We have it on our ToDo list to update it to FA 5 but at the moment it uses FA 4.7 and if another plugin would load FA5 the icons would not work ??

    Thread Starter fidoboy

    (@fidoboy)

    It’s not so important the font version upgrade as adding an option to toggle the plugin loading of it.

    The plugin works perfectly, with no problem at all, with version 5. Problem is redundant loading, that it’s being loaded twice or even worse, that both versions are being loaded at same time.

    And the solution is as simple as I’ve pointed: to add a switch to avoid loading of the FA Font from this plugin. That way, if some users are not using at all that library, it can be loaded from the plugin, but if already have it, it can be avoided from an option in this plugin. And this same logic works with Dashicons.

    It’s a very small change but very useful. Because all your code works the same with version 5 or even the 6 that it’s in beta

    • This reply was modified 2 years, 8 months ago by fidoboy.
    Plugin Author Alexandru Tapuleasa

    (@talextech)

    Like I said, just don’t use a Font Awesome icon for Internal/External links in WP External Links and it won’t load Font Awesome, no need for an extra switch.

    Regarding this:

    “It will only load FontAwesome if you use FA icons. You can disable icons for links or use Dashicons or image icons instead ??”

    How do we disable icons? ?? Thanks

    Plugin Author Alexandru Tapuleasa

    (@talextech)

    @aph5 Just make sure “Choose icon type:” is set to - no icon - for each Link category (Internal/External/Exceptions) ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Avoid loading FontAwesome’ is closed to new replies.