What Font Awesome does on your site
Font Awesome is the official plugin for the icon library of the same name, published by the team at Fonticons, Inc. It’s free and serves the Free icons without an account. Pro icons require a Font Awesome subscription, starting at $48 per year for the Starter plan (or $8 per month); the plugin then connects your site to your account.
You get two loading modes under Settings > Font Awesome. By default, the plugin loads the Free icons as a web font from the Font Awesome CDN (use.fontawesome.com), and you pick the version, the technology (web font or SVG) and compatibility with the old version 4 syntax. The second mode uses a kit created on fontawesome.com: you paste an API token, choose the kit, and then manage its settings on the Font Awesome site. A kit is the only way to get the latest Pro versions, your custom icons and Pro icons in the chooser; the CDN only serves Pro icons for version 5.
In the block editor, the plugin adds a Font Awesome Icon block and a button in the formatting toolbar to drop an icon into a paragraph. These icons are saved as SVG in your content, along with a stylesheet the plugin fetches into wp-content/uploads/font-awesome/. In the classic editor, you use the [icon name="..."] shortcode or standard Font Awesome HTML. Finally, a troubleshooting tab detects other copies of Font Awesome loaded by your theme or plugins.
Which sites Font Awesome is a good fit for
- Sites that want a few icons in their pages (contact details, social links, plan features) with no theme or builder that already provides them.
- Font Awesome Pro subscribers who want their Pro styles and custom icons in the block editor, through a kit.
- Sites where several plugins each load their own Font Awesome: the conflict scanner finds the duplicates and lets you block them.
- Older themes written with version 4 syntax, which the built-in compatibility keeps displaying correctly.
It’s the wrong choice if your theme or builder already ships the icons you need: you’d just be adding another copy. It’s also not the tool if you want to host the icon files on your own server, because the plugin loads fonts and scripts from Font Awesome’s servers.
Font Awesome strengths and limitations
Strengths
- Official plugin. It’s maintained by the Font Awesome team and keeps up with new library releases, up to version 7.
- Icon chooser in the editor. Search by name, category or keyword, then set size, color, rotation and animation without writing code.
- Conflict detection. The scanner lists the Font Awesome versions loaded on your pages and lets you stop the ones from other plugins from loading.
- Encrypted API token. When the server has OpenSSL and the
wp-config.phpkeys, the kit token is encrypted in the database, and uninstalling removes the plugin’s options.
Limitations
- Relies on Font Awesome’s servers. Fonts and scripts come from the CDN or the kit: every visitor contacts those servers, and the plugin offers no self-hosting.
- Pro is for subscribers. Pro styles, custom icons and searching Pro icons in the chooser require a subscription and a kit.
- Limited CDN for Pro. In CDN mode, Pro icons are only available for version 5; Pro versions 6 and 7 go through a kit.
- Incomplete translations. Part of the admin screens is still untranslated in some languages, such as the “Use CDN” option in French.
The Font Awesome settings we recommend
Everything lives under Settings > Font Awesome, which has two tabs: Settings and Troubleshoot. Test each change on a few pages that show icons, ideally on a staging copy of the site.
| Setting | Recommended value | Why |
|---|---|---|
| Loading mode Settings > Font Awesome > Settings tab | Use CDN for Free icons only; Use A Kit if you have an account or a subscription | The default setup is enough for basic Free icons; a kit is required for Pro version 6 or 7. |
| Technology Settings tab (CDN mode) | Web Font, the default, unless you have a specific need for SVG | CSS pseudo-elements are on by default there, without the overhead flagged for SVG. |
| CSS Pseudo-elements Settings tab, with SVG technology | Off, unless your theme displays its icons through CSS | The plugin itself warns that this setting may cause performance issues with SVG. |
| Version Settings tab | A specific version, the one your pages were tested with | You decide when to move to a new version, after testing it. |
| Older Version Compatibility Settings tab | On as long as a theme or plugin uses version 4 syntax | Without it, old classes such as fa fa-envelope may stop displaying. |
| Conflict detection Troubleshoot tab | Run the scanner, browse your main pages, then block duplicate copies | Several versions loading together can break icon display and bloat your pages. |
| API Token Settings tab, Use A Kit | A token dedicated to this site, regenerated on fontawesome.com if an old one may have leaked | The token grants access to your list of kits and their settings. |
| Updates Plugins > Installed Plugins | Auto-updates on, never below 4.3.2 | Version 4.3.2 fixes a shortcode XSS vulnerability (see below). |
- After activating, open a page with an icon and check that it displays in a private window, while logged out.
- Run the scanner on the Troubleshoot tab and compare the Versions of Font Awesome Active on Your Site list with what you expect.
- State in your privacy policy that icons are loaded from Font Awesome’s servers.
Font Awesome’s patched vulnerabilities
The plugin has had two public vulnerabilities, both patched. The more recent one, CVE-2022-4478, affected versions before 4.3.2: some [icon] shortcode attributes were neither validated nor escaped, so a contributor account could slip in a script that ran for an admin viewing the page. That’s a stored XSS flaw, the kind covered in our article on XSS vulnerabilities in WordPress.
In 2020, release candidates 4.0.0-rc15 and rc16 exposed the API token and access token on sites configured with a kit; version 4.0.0-rc17 fixed how they were stored, and the developer published steps to renew the token. The practical step is still auto-updates (see our guide to automatic plugin updates), plus keeping contributor accounts to a minimum.
WP Feint Pro removes the font-awesome folder name from file addresses and the plugin’s CSS and JS tag IDs from your pages, and renames the generated uploads/font-awesome folder; the free version doesn’t support this plugin, and files served from use.fontawesome.com stay visible. This makes the plugin harder to spot, but it doesn’t replace updating.
What WP Feint hides for Font Awesome
Pro Handled by WP Feint Pro only
The free version does not know the traces specific to Font Awesome: without Pro, only generator tags are removed, as for any plugin.
Free version
Handled by WP Feint Pro only
With Pro
- folder name
- tag IDs
- generated-file folders
Still visible
- files served by the vendor
use.fontawesome.com
These traces stay because the plugin needs them to work (scripts, styles, cookies) or because they come from the server.
Font Awesome FAQ
Do I need a Font Awesome account to use the plugin?
Not for Free icons served by the CDN, which is the default mode. You need an account and an API token to use a kit, and a subscription for Pro icons.
Do my old [icon] shortcodes still work?
Yes, they keep working. They aren’t converted automatically, while icons added with the block editor’s chooser are saved as SVG.
Why does the chooser show fewer icons than before?
Since version 5.2.0, the chooser only offers the icons included in the selected kit. Add icons to the kit on fontawesome.com to see them in WordPress.
My theme already loads Font Awesome. What should I do?
Run the scanner on the Troubleshoot tab. It shows the versions being loaded and lets you block the ones from other themes or plugins; then check that their icons still display.