• Resolved peterb80

    (@peterb80)


    Hi Webfactory-Team,

    i really would like to use this plugin, but every time i activate it it overrides the fontawesome link of my theme with its own fontawesome-reference. this results in newer fontawesome icons not showing up.

    could you please implement that the fontawesome-reference is only loaded when the option to use a icon on external links is actually in use?

    Thank you

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

    (@webfactory)

    Hi ??
    If you set the Choose icon type option to “no icon” then we don’t load anything. If any other setting is chosen then we unconditional load FontAwesome or Dashicons. It’s not possible to load them only when there are links on the page because they need to be loaded in the head of the document before any links are parsed.

    Thread Starter peterb80

    (@peterb80)

    Hi Webfactory-Team,

    thanks for the quick reply.
    Unfortunately your solution does not work. If i set the type of internal and external links to “no icon” the font-awesome font is still enqueued and overrides the font of the theme.
    Even if i completely disable all changes to internal and external links font-awesome is still enqueued.

    Plugin Author WebFactory

    (@webfactory)

    Hi,
    And disabling WPEL immediately removes FA?

    Thread Starter peterb80

    (@peterb80)

    “And disabling WPEL immediately removes FA?” Yes, exactly.

    It seems that the plugin loads FA regardless of any settings.

    Hi, similar problem here: There’s a one year old thread named “Font-Awesome always loaded” where your font awesome source overrides the source of another plugin or theme and so FA is always loaded. That’s my problem too. I uncommented the register of font-aweseome in class-wpel-register-scripts.php:40 and solved this problem.

    This does not match this topic here but it could be a hint for changing the FA code.

    Thanks, jan

    Plugin Author WebFactory

    (@webfactory)

    We’re looking into the issue.
    If WPEL loads FA then it overrides any other FA on the page – that can’t change.
    But if no icon is used on links then it shouldn’t load FA at all.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Plugin overrides fontawesome of theme’ is closed to new replies.