Description
This plugin allows you to display any Font Awesome 5, Font Awesome 6 or Font Awesome kit icon as an editor block (Gutenberg) or a custom HTML block.
You can also add the icon as HTML code or, inline, by using the [fa class="fas fa-fw fa-phone"]
shortcode.
Read more about the Block for Font Awesome plugin here.
Screenshots
Blocks
This plugin provides 1 block.
- Block for Font Awesome Display a Font Awesome 5, Font Awesome 6 or Font Awesome kit icon in a Gutenberg block or a custom HTML block.
Installation
- Log into your WordPress site
- Install and activate plugin
- Add a Font Awesome Icon block
Reviews
This is the third time I’m leaving this review. Do not remove it. My experience is my experience, and per the FAQs, is well within the guidelines. My experience is that the product does not work as intended.
Kevin Steve
March 23, 2022
This works really well with Gutenberg!
It’s very easy to use and I love using it.
annamariaerik
August 4, 2021
simple plugin and works great
Kevin Kovadia
June 8, 2020
thanks for making this plugin. can you please add some screenshot, I am not able to use properly this plugin.
Contributors & Developers
“Block for Font Awesome” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Block for Font Awesome” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.5.0
- SECURITY: Further sanitize and escape all settings
- UPDATE: Update Font Awesome 6 to 6.6.0 (from 6.5.2)
- UPDATE: Add useBlockProps from wp.blockEditor
- UPDATE: Add PanelBody to the variable declarations at the top
- UPDATE: Change wp.editor.InspectorControls to wp.blockEditor.InspectorControls since wp.editor is deprecated
1.4.6
- FIX: Fix external CSS array not being initialized when saving settings
1.4.5
- FIX: Fix XSS vulnerability
1.4.4
- FIX: Fix XSS vulnerability
- UPDATE: Update Font Awesome 6 to 6.5.2 (from 6.5.1)
1.4.3
- FIX: Add extra condition for loading Font Awesome 6 + Local stylesheets
1.4.2
- FEATURE: Add option to add an array of external (or local) stylesheets
- UPDATE: Update WordPress compatibility
1.4.1
- FIX: Add nonce to settings page
1.4.0
- FIX: Fix CSRF vulnerability
- SECURITY: Restrict directory indexing
- SECURITY: Make sure all options are sanitized before casting to integer
- UPDATE: Update WordPress compatibility
- UPDATE: Update Font Awesome 6 to 6.5.1 (from 6.4.2)
1.3.3
- UPDATE: Updated WordPress compatibility
- UPDATE: Updated Font Awesome 6 to 6.4.2 (from 6.4.0)
1.3.2
- UPDATE: Updated WordPress compatibility
1.3.1
- UPDATE: Updated WordPress compatibility
- UPDATE: Updated Font Awesome 6 to 6.4.0 (from 6.2.1)
1.3.0
- FIX: Fixed Font Awesome kit not being loaded in the back-end
- UPDATE: Updated WordPress compatibility
- UPDATE: Updated Font Awesome 6 to 6.2.1 (from 6.2.0)
1.2.6
- FIX: Fixed color picker for new Gutenberg versions (replaced ColorPalette with ColorPicker)
- UPDATE: Updated WordPress compatibility
- UPDATE: Updated Font Awesome 6 to 6.2.0 (from 6.1.2)
1.2.5
- UPDATE: Updated WordPress compatibility
- UPDATE: Updated description to include Font Awesome 6 and Font Awesome kit icons
- UPDATE: Updated Font Awesome 6 to 6.1.2 (from 6.1.1)
1.2.4
- UPDATE: Updated block editor filter to support WordPress 5.8+
- UPDATE: Updated WordPress requirements to support WordPress 5.8+
1.2.3
- FIX: Fixed Font Awesome 6 source being hardcoded to a local path
1.2.2
- FIX: Fixed Font Awesome 6 source option not being selected
1.2.1
- UPDATE: Removed hardcoded Font Awesome 6 source files and replaced with CDN versions
1.2.0
- FEATURE: Added Font Awesome 6 (6.1.1) support
- FEATURE: Added Font Awesome Kit support
- FEATURE: Added link target (self or new tab)
- UPDATE: Updated Font Awesome to 5.15.4 (from 5.15.3)
- UPDATE: Updated WordPress compatibility
- UPDATE: Updated codebase to conform to latest WordPress Coding Standards (WPCS) ruleset
- UPDATE: Added plugin version parameter to admin.css to fix caching issues
1.1.10
- UPDATE: Updated Font Awesome to 5.15.3 (from 5.15.2)
- UPDATE: Updated WordPress compatibility
1.1.9
- FIX: Fixed array and string offset access syntax with curly braces in PHP 8
1.1.8
- UPDATE: Updated Font Awesome to 5.15.2 (from 5.15.1)
1.1.7
- FEATURE: Added option to enqueue Font Awesome on front-end
- FEATURE: Added option to enqueue Font Awesome on back-end
- UPDATE: Updated WordPress compatibility
1.1.6
- FEATURE: Added icon URL (link)
- FEATURE: Added icon alignment
- UPDATE: Updated Font Awesome to 5.15.1 (from 5.15.0)
- FIX: Added missing translations
1.1.5
- UPDATE: Updated Font Awesome to 5.15.0 (from 5.14.0)
- UPDATE: Updated WordPress compatibility
1.1.4
- UPDATE: Updated Font Awesome to 5.14.0 (from 5.13.0)
- UPDATE: Updated WordPress compatibility
- UPDATE: Tested with the latest Gutenberg plugin version
1.1.3
- UPDATE: Updated Font Awesome to 5.13.0 (from 5.12.1) to include the new COVID-19 icons
- UPDATE: Tested with the latest Gutenberg plugin version
1.1.2
- UPDATE: Updated Font Awesome to 5.12.1 (from 5.10.1)
- UPDATE: Updated WordPress compatibility
1.1.1
- FIX: Fixed SVN import
- UPDATE: Updated plugin assets
1.1.0
- FIX: Enqueued Font Awesome 5 in admin section (do not depend on other themes and plugins)
- FIX: Fixed wrong inspector panel label
- UPDATE: Updated Font Awesome to 5.10.1 (from 5.9.0)
- UPDATE: Updated description to include the shortcode
1.0.2
- UPDATE: Added fixed-width parameter
- UPDATE: Added custom colour picker
1.0.1
- FIX: Changed plugin initialization to avoid a console error
- UPDATE: Changed name and slug
- UPDATE: Updated Font Awesome to 5.9.0 (from 5.8.2)
- UPDATE: General cleanup
1.0.0
- Initial release