Skip Navigation

[Resolved] Using Awesome Font 4.5+

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to use an icon that is available in Font Awesome 4.5+, but Toolset Starter comes with 4.4. How can I update the version?

Solution: A new version of Font Awesome will be included in a future version of Types

This support ticket is created 6 years, 12 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.95 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 5 replies, has 2 voices.

Last updated by Christian Cox 3 years, 10 months ago.

Assisted by: Christian Cox.

Author
Posts
#516255

Dear Sir/Madam,

I use the latest Toolset Starter Theme, I think it is using the Awesome Font 4.4.0, I want to have some icon which is 4.5.0, may I know how I can use the 4.5.0 instead?

Best regards,

Kelvin.

#516282

Hi, we realize we're a bit behind on Font Awesome versions and our developers are shooting to add an update to version 4.7 in the next release of our Types core plugin. Unfortunately I do not have a release date for the next version, so the best way to keep tabs on the upcoming releases is by subscribing to our blog.

#516323

Dear Christian Cox,

Thanks for your reply. Do you have hook to replace the version from 4.4 to 4.5, so that I can use it immediately? I assume Toolset only call it by adding <link ....> or <script src=......>

Best regards,

Kelvin.

#516549

Actually it's not quite that simple because references to the font files are also embedded in our own stylesheets. So you could dequeue the Font Awesome stylesheets but you would still have references to the outdated font files in other stylesheets. If the missing icon is essential and you can't work around the issue, you can use the following code to dequeue / enqueue the proper stylesheet:

add_action('init', 'font_awesome_4_5_func', 11);
function font_awesome_4_5_func(){
    wp_deregister_style( 'font-awesome' );
    wp_register_style( 'font-awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css', array(), '4.5.0' );
    wp_enqueue_style( 'font-awesome' );
}

Then you can search through all the CSS files and replace any reference to 4.4.0 font files. Note that updates to the Toolset Starter Theme will overwrite any modifications you make to the code.

#516808

Thanks a lot.

#1645651

Hi, just a quick "FYI" update to let you know that support for Font Awesome 5 is now available! You can find the configurations in Toolset > Settings > General tab.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.