We'll create fresh WordPress site with SCFA (Shortcodes for Font Awesome) installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This WordPress shortcode plugin generates inline HTML for the Font Awesome icon libray.
You can use any icon code supported by Font Awesome 6.
A few notes about this plugin:
Decide if you want to use the included Font Awesome assets, they are the time of this writing at version 5.15.2. If you want to use another version, you can replace the included assets, use another URL for the CSS and webfont assets, or specify a Font Awesome CDN kit URL.
There is one shortcode available with this plugin:
[scfa][/scfa]
This is intended as a quick reference for the shortcode. For a complete list of Font Awesome classes, please see fontawesome.com. Some icon styles may only be available with a Pro license. You can (obviously) specify everything class related in the class=”” parameter if that is more convenient for you.
Generate element with icon and default (icon) style:
[scfa icon="address-book"][/scfa]
Generate element with the specified style and icon:
[scfa icon="far address-book"][/scfa]
Generate element with the specified style and icon and size:
[scfa icon="far address-book" size="5x"][/scfa]
There are more examples in the SCFA plugin settings screen.
The Shortcodes for Font Awesome Plugin was written by Joaquim Homrighausen while converting caffeine into code.
Shortcodes for Font Awesome is sponsored by WebbPlatsen i Sverige AB, Stockholm, Sweden.
This plugin can also be downloaded from code.webbplatsen.net and GitHub
Stay safe!