• Resolved politicske

    (@politicske)


    Hi. My adblocker was detecting a max CDN URL in the backend and I traced it to this plugin for font awesome. Is there a way to introduce a condition that the CDN loads only when the icons option is activated? A good plugin that adopts this is the Scriptless Social Sharing which only loads font awesome URL when the option is selected. Another way would be to adopt the font awesome used locally which the same plugin I mentioned does where, if it detects font-awesome (from the theme or a font awesome specific plugin), then it loads from that.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WebFactory

    (@webfactory)

    Hi,
    Loading FA, only when needed, is something we need to add! We’ll include it in the next version. I’ll see if we can detect if FA is already on the page too.

    Thank you for letting us know.

    Thread Starter politicske

    (@politicske)

    You are welcome. I use SVG icons and do not use font-awesome icons within this plugin. So I think it would make sense not to load it unless the option is selected. Can’t wait for the update. Cheers!

    Another issue is that this plugin is loading its CSS on every page in WordPress. Is that necessary?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Font Awesome’ is closed to new replies.