Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

README.md

CMB2 Field Type: Font-Awesome Picker

Custom field for CMB2.

##Example

// Classic CMB2 declaration
$cmb = new_cmb2_box( array(
  'id'           => 'prefix-metabox-id',
  'title'        => __( 'Title', 'textdomain' ),
  'object_types' => array( 'post', ), // Post type
) );

// Add new field
$cmb->add_field( array(
  'name'        => __( 'Select Icon', 'textdomain' ),
  'id'          => 'prefix_icon',
  'type'        => 'fontawesome_icon', // This field type
) );

Credits

This plugin uses the following jquery plugin

https://github.com/mjolnic/fontawesome-iconpicker

About

Custom field to pick icon from fontawesome icons.

Resources

License

Packages

No packages published
You can’t perform that action at this time.