Petra
AI assistant for GrootMade
Hi! I'm Petra 👋 Ask me to help you find the perfect WP plugin, theme, or template kit.
forked from CMB2 Field Type: Font Awesome™
IconScript Selector is not affiliated with CMB2 Field Type: Font Awesome. The name and any related trademarks are used solely for nominative descriptive purposes.
This tool is a custom field type for the CMB2 metabox library, designed for developers building custom admin interfaces. It provides a visual selector for Font Awesome icons, allowing site editors to choose icons from a dropdown menu within a metabox field.
Icon Selection Field: Adds a new faiconselect field type to CMB2. When used, it renders a searchable dropdown populated with specified Font Awesome icons in the WordPress admin.
Font Awesome Version Support: Works with both Font Awesome 4.7.0 and Font Awesome 5.7.2 (supporting Solid and Brands icon styles). You control the version via a field attribute.
Predefined Icon Lists: Includes helper functions like returnRayFaPre and returnRayFapsa that automatically generate option arrays for all available icons, saving development time.
Flexible Implementation: Can be installed as a standalone plugin, via Composer, or integrated directly into a theme folder with a path adjustment function.
Template Integration: Provides clear instructions for including the field type within a theme, including a filter to correct asset paths for CSS and JavaScript files.