• Resolved N33D

    (@n33d)


    Hi there,

    I have installed the ACF Font Awesome plugin and entered the API key. I also had font awesome loaded with a <script> tag inside my theme like so:

    <script src="https://kit.fontawesome.com/*****.js" crossorigin="anonymous"></script>

    I’m trying to speed up the website and see that Font Awesome is loaded multiple times. So I tried to remove that script tag assuming the ACF Font Awesome Plugin is also loading the FA fonts.

    But when removing the script tag above all the FA icons are not working on the site. Also the icons added by the ACF Font Awesome plugin.

    Any help appreciated, thanks in advance.
    Justin

Viewing 1 replies (of 1 total)
  • Plugin Author Matt Keys

    (@mattkeys)

    This plugin does not enqueue font awesome on your sites front end unless you enable it when adding the font awesome field to your ACF field group. That feature is off by default.

Viewing 1 replies (of 1 total)
  • The topic ‘Not working when I remove the script tag’ is closed to new replies.