Description:
This custom field type is designed to integrate icon selection directly into the CMB2 framework. It provides a specialized field that allows users to select specific icons from the FontAwesome library within the content management interface. This tool serves as a dedicated mechanism for adding visual flair and symbolic representation to content fields without requiring manual icon entry. The primary function of this component is to streamline the process of choosing appropriate graphical symbols for various entries within a WordPress environment managed by CMB2. It transforms a standard text input field into a functional icon picker, making the content creation process more visual and efficient for the end user.
The functionality of the FontAwesome Picker relies on specific technical integrations. It utilizes a dedicated jQuery plugin, which is responsible for rendering and managing the interactive selection interface. This plugin allows the field to display the full range of available FontAwesome icons, enabling the user to browse and select the desired symbol. The custom field type itself, identified as `fontawesome_icon`, handles the communication between the user's selection and the underlying data storage system. The implementation is structured to work seamlessly within the existing CMB2 architecture, ensuring that the selected icon data is properly captured and saved alongside the rest of the post metadata.
To implement this feature, a developer must first establish a CMB2 box structure. This involves declaring a new box using the `new_cmb2_box` function, specifying the desired prefix and title for the metadata section. Once the box is defined, the icon picker field is added using the `add_field` method of the CMB2 object. When adding the field, the developer must assign the specific type as `fontawesome_icon`. This configuration tells the CMB2 system to load the specialized icon picker interface instead of a standard text or select box, allowing the field to function as intended.
This field type is intended for developers who are building custom content types using CMB2. It is designed to be applied to various post types, such as the standard 'post' type, allowing developers to easily add a visual icon selection capability to their custom metadata. By using this field, developers can ensure that the metadata associated with their posts includes a structured, selectable icon, which can then be displayed dynamically on the front end of the website. It provides a dedicated solution for integrating rich visual elements into the backend data structure.
The vendor’s own page for CMB2 Field Type: FontAwesome Picker has the full details.
Main Features of CMB2 Field Type: FontAwesome Picker:
- Functions as a custom field type for CMB2
- Allows selection of icons from FontAwesome
- Integrates with CMB2 metabox declarations
- Uses the mjolnic/fontawesome-iconpicker jquery plugin
EffectIO members receive updates through the managed update channel. Install the EffectIO Connect plugin on your site and it handles activation, updates and licensing automatically.
Need a dashboard view of all your EffectIO assets? The EffectIO Dashboard shows what is installed, what is licensed, and what has an update available.
The 1.0.0 version stays on this update channel for the subscription year.











Reviews
There are no reviews yet.