Using Font Awesome Icons

i noticed that with X and Pro Awesome Fonts 4.7 is automatic supported.
Is it possible to use version 5.x of Awesome Fonts?

And where can I put this link?
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">

Hi There,

Yes, it’s possible. You have to setup a child theme first:

After that adding this custom code under functions.php file locates in your child theme:

add_action( 'wp_head', 'print_fa_font' );
function print_fa_font(){
  ?>
  <link rel="stylesheet" href="//use.fontawesome.com/releases/v5.2.0/css/all.css" integrity="sha384-hWVjflwFxL6sNzntih27bfxkr27PmbbK/iSvJ+a4+0owXq79v+lsFkW54bOGbiDQ" crossorigin="anonymous">
  <?php
}

Hope that helps and thank you for understanding.

Thanks.
It works like a charm

We are delighted to assist you with this.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.