James Gentes
asked 4 years ago

Hi, I’ve found the /assets/font directory and replaced FontAwesome there, and I’ve also replaced it in /inc/font-awesome, and even in /fonts just to be sure, but nothing seems to allow me to use the latest FontAwesome icons.

I assume the theme needs to be recompiled to take advantage of this. How should it be done?

Thanks,

-James

3 Answers
DominicStaff
answered 4 years ago

Hi,
If you want to update or just want to use the new icon.
Here is small guide for those who are interested in updating Font Awesome to new version and want to use the new icons. (uses old version of FA).

1/Go to Font Awesome website.
2/Download new FA package.
3/Unpack it.
4/Make backup of your theme (just in case).
Overwrite fonts folder with one from unpacked Font Awesome folder.

Or you’ll need to set up a child theme first.
Then you can add this to your child theme’s functions.php

function my_custom_head_output() {
  ?>
  <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
  <?php
}

add_action( 'wp_head', 'my_custom_head_output', 99999 );

Or you can paste the following code into the <head> section of your site’s HTML.
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
Immediately after release, it takes a bit of time for BootstrapCDN to catch up and get the newest version live on their CDN.

Hope this helps !

Azhari Umar
answered 3 years ago

Hi Dominic
Can I use this Icon http://fontawesome.io/icons/
For menu category icon? https://www.designwall.com/guide/dw-argo/category-icons-on-main-menu/
How?
Thanks

DominicStaff
answered 3 years ago

At the moment, the theme does not compatible with the new version of the FontAwesome, you need to update the new version to use the new class of FontAwesome.

Powered by DW Question & Answer Pro