Title: Shortcodes for Font Awesome
Author: joho68
Published: <strong>सितम्बर 3, 2020</strong>
Last modified: अप्रैल 16, 2026

---

Search plugins

![](https://ps.w.org/shortcodes-for-font-awesome/assets/banner-772x250.png?rev=2374399)

![](https://ps.w.org/shortcodes-for-font-awesome/assets/icon-256x256.png?rev=2374417)

# Shortcodes for Font Awesome

 By [joho68](https://profiles.wordpress.org/joho68/)

[Download](https://downloads.wordpress.org/plugin/shortcodes-for-font-awesome.1.5.1.zip)

 * [Details](https://mai.wordpress.org/plugins/shortcodes-for-font-awesome/#description)
 * [Reviews](https://mai.wordpress.org/plugins/shortcodes-for-font-awesome/#reviews)
 *  [Installation](https://mai.wordpress.org/plugins/shortcodes-for-font-awesome/#installation)
 * [Development](https://mai.wordpress.org/plugins/shortcodes-for-font-awesome/#developers)

 [Support](https://wordpress.org/support/plugin/shortcodes-for-font-awesome/)

## Description

This WordPress shortcode plugin generates inline HTML for the Font Awesome icon 
libray.

You can use any icon code supported by Font Awesome 7.

A few notes about this plugin:

 * You may choose to host your Font Awesome 7 files locally (default)
 * You may choose to use the Font Awesome CDN
 * You may choose to specify a custom URL for your Font Awesome files
 * You may choose to disable Font Awesome assets if you include them elsewhere
 * This plugin may create entries in your PHP error log (if active)
 * This plugin contains no tracking code and does not process or collect any information
   about the visitor
 * Tested with WordPress 5.5-6.9
 * Tested with PHP 7.x and PHP 8.x
 * See css/fontawesome/LICENSE.TXT for Font Awesome licensing details

### Configuration

Decide if you want to use the included Font Awesome assets, they are the time of
this writing at version 7.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.

### Usage

There is one shortcode available with this plugin:

    ```
    [scfa][/scfa]
    ```

#### General format

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.

### Credits

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](https://www.webbplatsen.se),
Sweden.

This plugin can also be downloaded from [code.webbplatsen.net](https://code.webbplatsen.net/wordpress/wordpress-shortcodes-for-font-awesome/)
and [GitHub](https://github.com/joho1968/SCFA)

[Font Awesome](https://fontawesome.com)

Stay safe!

## Installation

This section describes how to install the plugin and get it working.

 1. Upload the contents of the `shortcodes-for-font-awesome` folder to the `/wp-content/
    plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Configure accordingly

## FAQ

### How to make local customizations

You can replace all of the Font Awesome files in the css/ sub-directory with an 
updated version of Font Awesome. Please note that the webfonts from Font Awesome
go into the css/webfonts/ sub-directory.

### Reference for the Font Awesome free icons

https://fontawesome.com/search?q=filter&m=free

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Shortcodes for Font Awesome” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ joho68 ](https://profiles.wordpress.org/joho68/)
 *   [ WebbPlatsen ](https://profiles.wordpress.org/webbplatsen/)

“Shortcodes for Font Awesome” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/shortcodes-for-font-awesome/contributors)
for their contributions.

[Translate “Shortcodes for Font Awesome” into your language.](https://translate.wordpress.org/projects/wp-plugins/shortcodes-for-font-awesome)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/shortcodes-for-font-awesome/),
check out the [SVN repository](https://plugins.svn.wordpress.org/shortcodes-for-font-awesome/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/shortcodes-for-font-awesome/)
by [RSS](https://plugins.trac.wordpress.org/log/shortcodes-for-font-awesome/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.5.1

 * Upgraded to FontAwesome 7.2
 * Tested plugin with WordPress 6.9.x
 * Fixed issue with plugin not honoring styles (reported by Christian Johanns)

#### 1.5.0

 * Upgraded to FontAwesome 7.0.1
 * Tested plugin with WordPress 6.8.x
 * Fixed issue with plugin not honoring styles (reported by Christian Johanns)

#### 1.4.1

 * Upgraded to FontAwesome 6.7.2
 * Tested plugin with WordPress 6.7.x

#### 1.4.0

 * Upgraded to FontAwesome 6.4
 * Tested plugin with WordPress 6.4.1

#### 1.3.0

 * Upgraded to FontAwesome 6.0
 * Tested plugin with WordPress 5.9
 * Minor i18n (translation) correction
 * Minor cosmetic correction
 * Added support for “Thin” icons (fat, fa-thin)
 * Added support for alternate (new) V6 type names (fa-solid, fa-regular, fa-light,
   fa-duotone, fa-thin, fa-brands

#### 1.2.1

 * Upgraded to FontAwesome 5.15.3
 * Tested plugin with WordPress 5.8
 * Minor i18n (translation) correction
 * Minor cosmetic correction

#### 1.2.0

 * Upgraded to FontAwesome 5.15.2
 * Tested plugin with WordPress 5.7
 * Refactored code and removed all WordPress Plugin Boilerplate code
 * Removed non-minified CSS assets

#### 1.1.0

 * Upgraded to FontAwesome 5.15.1
 * Tested with PHP 7.4
 * Tested plugin with WordPress 5.6

#### 1.0.0

 * Initial release

## Meta

 *  Version **1.5.1**
 *  Last updated **6 months ago**
 *  Active installations **10+**
 *  WordPress version ** 5.5.0 or higher **
 *  Tested up to **6.9.10**
 *  PHP version ** 7.2 or higher **
 *  Languages
 * [English (US)](https://wordpress.org/plugins/shortcodes-for-font-awesome/) and
   [Swedish](https://sv.wordpress.org/plugins/shortcodes-for-font-awesome/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/shortcodes-for-font-awesome)
 * Tags
 * [font](https://mai.wordpress.org/plugins/tags/font/)[Font Awesome](https://mai.wordpress.org/plugins/tags/font-awesome/)
   [FontAwesome](https://mai.wordpress.org/plugins/tags/fontawesome/)[icon](https://mai.wordpress.org/plugins/tags/icon/)
   [webfont](https://mai.wordpress.org/plugins/tags/webfont/)
 *  [Advanced View](https://mai.wordpress.org/plugins/shortcodes-for-font-awesome/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/shortcodes-for-font-awesome/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/shortcodes-for-font-awesome/reviews/)

## Contributors

 *   [ joho68 ](https://profiles.wordpress.org/joho68/)
 *   [ WebbPlatsen ](https://profiles.wordpress.org/webbplatsen/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/shortcodes-for-font-awesome/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://code.webbplatsen.net/wordpress/wordpress-shortcodes-for-font-awesome/)