![]() ![]() vc_iconpicker-type-fontawesome) and return array in this function ( check our wp-content\plugins\js_composer\include\params\iconpicker\iconpicker.php)Ĥ) Next enqueue CSS when necessary: add_action vc_enqueue_font_icon_element ( e.g. Perhaps a suggestion would be to change the message to the following: The fontIconPicker library could not be found. ![]() 'description' => _( 'Select icon from library.', 'js_composer' ),Ģ) Next you need to update icon source dropdown – add value to it ( check dependency as well) – vc_map_update param “icon_type” add: _( ‘Your icon set name’, ‘js_composer’ ) => ‘your_icon_set’ģ) Add filter vc_iconpicker-type- ( e.g. After experimenting with various icon picker methods, including a different module Font Awesome fields, it took me a little while to realize what README file this was referring to, which is the sub module. 'iconsPerPage' => 200, // default 100, how many icons per/page to display 'emptyIcon' => false, // default true, display an "EMPTY" icon? Var e6_element = $('#e6_element').fontIconPicker( else if ( _self.It is possible to add your own icons to WPBakery Page Builder shortcode vc_icon by following these steps:ġ) Add icons param to vc_map with type “iconpicker” 'iconpicker', There are 9 other projects in the npm registry using e-icon-picker. Add data-iconset'glyphiconioniconfontawesome4fontawesome5weathericonmapiconocticontypiconelusiveiconflagicon' to idicates the iconset. Set Iconset, Iconset Version and Icon Selected. Start using e-icon-picker in your project by running npm i e-icon-picker. Use iconpicker in a form Just add attribute name'' in button tag or div tag. The approach described in that homepage documentation should work just fine for multiple inputs: ('.icon-picker'). $('#myselect').fontIconPicker() // Load with default options Latest version: 1.1.7, last published: a year ago. Or did your question arise because you want to use iconpicker on a FA4-Site Mixing FA4 and 5 will not be possibly, I'm afraid. The JavaScript to generate a default icon picker for the input field. So a new question might be how one could restrict the choices within iconpicker to certain subsets. Create an input field for the icon picker. ![]() Include the FontAwesome Icon Picker's JS
0 Comments
Leave a Reply. |