Title: CMB2 Field Type: Font Awesome
Author: Serkan Algur
Published: <strong>February 6, 2018</strong>
Last modified: June 30, 2019

---

Search plugins

![](https://ps.w.org/cmb2-field-type-font-awesome/assets/banner-772x250.png?rev=
1816166)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/cmb2-field-type-font-awesome/assets/icon-256x256.png?rev=1816166)

# CMB2 Field Type: Font Awesome

 By [Serkan Algur](https://profiles.wordpress.org/kaisercrazy/)

[Download](https://downloads.wordpress.org/plugin/cmb2-field-type-font-awesome.zip)

 * [Details](https://pcm.wordpress.org/plugins/cmb2-field-type-font-awesome/#description)
 * [Reviews](https://pcm.wordpress.org/plugins/cmb2-field-type-font-awesome/#reviews)
 *  [Installation](https://pcm.wordpress.org/plugins/cmb2-field-type-font-awesome/#installation)
 * [Development](https://pcm.wordpress.org/plugins/cmb2-field-type-font-awesome/#developers)

 [Support](https://wordpress.org/support/plugin/cmb2-field-type-font-awesome/)

## Description

Font Awesome icon selector for powerful custom metabox generator [CMB2](https://github.com/WebDevStudios/CMB2)

You can use as field type in CMB2 function file. Add a new field, set type to `faiconselect`
and add font awesome icons to options (look Usage for examples). Plugin uses [jQuery Font Picker](https://codeb.it/fonticonpicker/)
for creating a icon selector.

### Sample Usage

Detailed instructions on [Github ](https://github.com/serkanalgur/cmb2-field-faiconselect)

    ```
    $cmb->add_field( array(
        'name' => __( 'Select Font Awesome Icon', 'cmb' ),
        'id'   => $prefix . 'iconselect',
        'desc' => 'Select Font Awesome icon',
        'type' => 'faiconselect',
        'options' => array(
        'fa fa-facebook' => 'fa fa-facebook',
        'fa fa-500px'    => 'fa fa-500px',
        'fa fa-twitter'  => 'fa fa-twitter'
        )
    ) );
    ```

### Sample Usage With Font Awesome 5

    ```
    $cmb->add_field( array(
        'name' => __( 'Select Font Awesome Icon', 'cmb' ),
        'id'   => $prefix . 'iconselect',
        'desc' => 'Select Font Awesome icon',
        'type' => 'faiconselect',
        'options' => array(
            'fab fa-facebook' => 'fa fa-facebook',
            'fab fa-500px'       => 'fa fa-500px',
            'fab fa-twitter'     => 'fa fa-twitter',
            'fas fa-address-book' => 'fas fa-address-book'
        ),
        'attributes' => array(
            'faver' => 5
        )
    ) );
    ```

## Screenshots

[⌊Selector⌉⌊Selector⌉[

Selector

## Installation

 1. Upload `cmb2-field-type-font-awesome` folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## Reviews

![](https://secure.gravatar.com/avatar/38d3578b46268369407c7ac09693ac0eefec004e20e66a8354d0e10355aaa840?
s=60&d=retro&r=g)

### 󠀁[Great addon for CMB2](https://wordpress.org/support/topic/great-addon-for-cmb2/)󠁿

 [shansta](https://profiles.wordpress.org/shansta/) March 11, 2019

Works very well. Thanks for creating the plugin.

 [ Read all 1 review ](https://wordpress.org/support/plugin/cmb2-field-type-font-awesome/reviews/)

## Contributors & Developers

“CMB2 Field Type: Font Awesome” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Serkan Algur ](https://profiles.wordpress.org/kaisercrazy/)

[Translate “CMB2 Field Type: Font Awesome” into your language.](https://translate.wordpress.org/projects/wp-plugins/cmb2-field-type-font-awesome)

### Interested in development?

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

## Changelog

#### Version 1.4

 * Composer Support Added

#### Version 1.3-beta

 * Test for Gutenberg
 * Font Awesome 5 support added
 * Code Fixes

#### Version 1.2

 * Version corrections and tests
 * fontawesome & mainjs definition fix

#### Version 1.1

 * Group Field Problem Solved
 * Icon Selector js updated to latest version

#### Version 1.0

 * Released

## Meta

 *  Version **1.4**
 *  Last updated **7 years ago**
 *  Active installations **300+**
 *  WordPress version ** 3.6 or higher **
 *  Tested up to **5.2.29**
 *  Language
 * [English (US)](https://wordpress.org/plugins/cmb2-field-type-font-awesome/)
 * Tags
 * [cmb2](https://pcm.wordpress.org/plugins/tags/cmb2/)[Font Awesome](https://pcm.wordpress.org/plugins/tags/font-awesome/)
   [plugins](https://pcm.wordpress.org/plugins/tags/plugins/)
 *  [Advanced View](https://pcm.wordpress.org/plugins/cmb2-field-type-font-awesome/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/cmb2-field-type-font-awesome/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cmb2-field-type-font-awesome/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/cmb2-field-type-font-awesome/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cmb2-field-type-font-awesome/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/cmb2-field-type-font-awesome/reviews/?filter=1)

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

[See all reviews](https://wordpress.org/support/plugin/cmb2-field-type-font-awesome/reviews/)

## Contributors

 *   [ Serkan Algur ](https://profiles.wordpress.org/kaisercrazy/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cmb2-field-type-font-awesome/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://paypal.me/serkanalgur)