Font Awesome and WordPress — two great tastes that can go great together! Especially now that we have the official Font Awesome WordPress plugin to make it easy.
Advertisement
Remove ads with a Pro plan!
A subscription to a Pro-level plan will remove all third-party advertisements on fontawesome.com.
And of course Pro-level plans come with…
All 26,233 icons in Font Awesome
5 Classic styles of every icon
3 Sharp styles of every icon
A Perpetual License to use Pro
Services and tools to make easy work of using icons
Leveraging the latest release or a specific version of our icons.
Choosing the tech, either SVG or Web Font.
Walking through older version compatibility if you - or your plugins - are still using Font Awesome 4 or 5 syntax.
Troubleshooting and resolving problems when multiple versions of Font Awesome are loading on your site from other plugins/themes and causing display or technical issues.
Making things even awesomer using icons from Font Awesome Version 6.
Once you've installed the plugin, using Font Awesome with WordPress is easy — whether you want to use a Kit to serve Free + Pro icons, or the classic CDN to serve Free icons. But first, you'll need to get it set up.
Use a Kit (Recommended)
Since every Font Awesome account comes with a free Kit, we recommend using a Kit in your WordPress plugin. Kits are super easy to set up and provide the most flexibility. (And when you use a Pro Kit, you'll get full access to Pro icons—including v6 styles!—in the plugin's Icon Chooser to add icons to your content easily. And any icons you've uploaded!)
Follow these steps to use a Kit in your WordPress plugin:
Set up a Kit: Create a new one if you don't already have a Kit set up. You can tweak the Kit to use Free or Pro icons, Web Font or SVG, a specific or the latest Font Awesome version, and other settings in the Kit's settings page to suit your needs.
Add Your Token to Your WordPress Plugin: Return to your WordPress site and open up the Font Awesome WordPress plugin settings. Select Use a Kit and paste your API token into the field. Save those changes.
Select Your Kit in the Plugin: Pick a Kit from the list. You’ll see the settings for the Kit you’ve chosen listed below so you can double-check that it’s set up the way you want. Make your selected Kit active in your project by saving your settings.
The Font Awesome WordPress plugin set up to use Kits
To adjust your Kit settings, head to your Kits page on FontAwesome.com, select the Kit you're using, go to the Settings tab, make and save your changes, then hit "Refresh kits data" in the WordPress plugin.
Font Awesome Kits use an API Token to securely get your Kits in WordPress without needing to share your Font Awesome credentials with your WordPress server. If your token ever gets compromised, you can easily generate a new one in your Font Awesome account.
Use the Font Awesome CDN (Default)
Font Awesome 6 Pro is not available on the Font Awesome CDN
By default, the plugin starts with the following settings:
Font Awesome Version 5
Font Awesome Free Icons
Web Font
Font Awesome CDN
You can make changes directly in the plugin's settings.
Why do we recommend Kits instead of CDN?
With Kits, you can use the Icon Chooser to find and add icons to your WordPress content easily. And you can only use Version 6's Pro icons — including the new Thin style! — with a Kit.
Adjust the Plugin Settings
Advertisement
Remove ads with a Pro plan!
A subscription to a Pro-level plan will remove all third-party advertisements on fontawesome.com.
And of course Pro-level plans come with…
All 26,233 icons in Font Awesome
5 Classic styles of every icon
3 Sharp styles of every icon
A Perpetual License to use Pro
Services and tools to make easy work of using icons
If you're using the Font Awesome CDN, you can adjust your settings right in the plugin. If you're using a Kit, you can adjust these same settings in each Kit's settings on fontawesome.com.
Free vs. Pro
With this plugin, you can use any of the Font Awesome Free icons with no additional set-up, and now, when using a Kit, you can easily enable Pro icons by selecting "Pro" in your kit's settings.
Your best option for versions is to select the latest — it gives you the newest icons and capabilities, but if you need a particular previous version for some reason, you can pick it from the list. When a new version of Font Awesome is released, you can update your settings to match. (Bonus! If you select the latest with Kits, you always get the newest version.)
Older Version Compatibility
Suppose you haven't had a chance to update icon names in your HTML to match the latest version of Font Awesome. Or you're using plugins or themes that rely on older Font Awesome version (i.e. v4 or v5).
Kits automatically handle making v6 backwards compatible with projects using older versions.
The Font Awesome 5 Free CDN will also handle backwards compatibility with projects using Font Awesome 5. (The CDN does not support Version 6.) If you need support for Version 4, you can enable the "Older Version Compatibility" feature (which loads v4 specific shims) in plugin's settings.
Manual Installation (Advanced)
Advertisement
Remove ads with a Pro plan!
A subscription to a Pro-level plan will remove all third-party advertisements on fontawesome.com.
And of course Pro-level plans come with…
All 26,233 icons in Font Awesome
5 Classic styles of every icon
3 Sharp styles of every icon
A Perpetual License to use Pro
Services and tools to make easy work of using icons
If you'd rather not use the official plugin, you can configure your WordPress system to use Font Awesome via a Font Awesome 6 kit or Free CDN. To do so, make sure you are an advanced user who doesn’t have conflicts with other versions of Font Awesome from other themes or plugins, is comfortable modifying the WordPress functions.php file, or can’t install the Font Awesome plugin for some reason.
Help us help you! Use our official plugin as a composer package to include Font Awesome icons in your plugin or theme development the right way and keep your plugin or theme — and your users' sites — running at their best.