Support » Plugin: Advanced Custom Fields: Font Awesome Field » Can I add FA files manually from my theme? :)

  • Resolved Damian P.


    Hi 🙂

    I would like to add FA icons directly from my theme folder, because I wanna set for eg. Expires headers etc. Is it possible? If yes, how can I do that in best way? 🙂


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


    If it is only on the ‘frontend’ of your website that you are trying to load your own FontAwesome, this can be done pretty easily. When you configure your ACF FontAwesome field, there is a yes/no option on if you want the plugin to enqueue FontAwesome for you. Set this to ‘no’ and you can enqueue it yourself however you wish.

    There is also a filter if you are familiar with working with WordPress filters. ACFFA_get_fa_url: Filter the URL used for enqueuing FontAwesome in the frontend and admin areas of the site. This would be another way to approach this.

Viewing 1 replies (of 1 total)
  • The topic ‘Can I add FA files manually from my theme? :)’ is closed to new replies.