{"id":81188,"date":"2018-02-06T08:44:50","date_gmt":"2018-02-06T08:44:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/cmb2-field-type-font-awesome\/"},"modified":"2019-06-30T08:00:00","modified_gmt":"2019-06-30T08:00:00","slug":"cmb2-field-type-font-awesome","status":"publish","type":"plugin","link":"https:\/\/nb.wordpress.org\/plugins\/cmb2-field-type-font-awesome\/","author":1566604,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.4","stable_tag":"trunk","tested":"5.2.24","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"CMB2 Field Type: Font Awesome","header_author":"Serkan Algur","header_description":"Font Awesome icon selector for CMB2","assets_banners_color":"6483a1","last_updated":"2019-06-30 08:00:00","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/paypal.me\/serkanalgur","header_plugin_uri":"https:\/\/github.com\/serkanalgur\/cmb2-field-faiconselect","header_author_uri":"https:\/\/wpadami.com\/","rating":5,"author_block_rating":0,"active_installs":400,"downloads":7458,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":{"":"<p>No need any changes<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1816166","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1816166","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1816166","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2114916","resolution":"1","location":"plugin"}},"screenshots":{"1":"Selector"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[18377,4593,168901,2391],"plugin_category":[43],"plugin_contributors":[85217],"plugin_business_model":[],"class_list":["post-81188","plugin","type-plugin","status-publish","hentry","plugin_tags-cmb2","plugin_tags-font-awesome","plugin_tags-font-awesome-5","plugin_tags-plugins","plugin_category-customization","plugin_contributors-kaisercrazy","plugin_committers-kaisercrazy","plugin_support_reps-kaisercrazy"],"banners":{"banner":"https:\/\/ps.w.org\/cmb2-field-type-font-awesome\/assets\/banner-772x250.png?rev=1816166","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/cmb2-field-type-font-awesome\/assets\/icon-128x128.png?rev=1816166","icon_2x":"https:\/\/ps.w.org\/cmb2-field-type-font-awesome\/assets\/icon-256x256.png?rev=1816166","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/cmb2-field-type-font-awesome\/trunk\/screenshot-1.png?rev=2114916","caption":"Selector"}],"raw_content":"<!--section=description-->\n<p>Font Awesome icon selector for powerful custom metabox generator <a href=\"https:\/\/github.com\/WebDevStudios\/CMB2\" title=\"Custom Metaboxes and Fields for WordPress 2\">CMB2<\/a><\/p>\n\n<p>You can use as field type in CMB2 function file. Add a new field, set type to <code>faiconselect<\/code> and add font awesome icons to options (look Usage for examples). Plugin uses <a href=\"https:\/\/codeb.it\/fonticonpicker\/\">jQuery Font Picker<\/a> for creating a icon selector.<\/p>\n\n<h3>Sample Usage<\/h3>\n\n<p>Detailed instructions on <a href=\"https:\/\/github.com\/serkanalgur\/cmb2-field-faiconselect\">Github <\/a><\/p>\n\n<pre><code>$cmb-&gt;add_field( array(\n    'name' =&gt; __( 'Select Font Awesome Icon', 'cmb' ),\n    'id'   =&gt; $prefix . 'iconselect',\n    'desc' =&gt; 'Select Font Awesome icon',\n    'type' =&gt; 'faiconselect',\n    'options' =&gt; array(\n    'fa fa-facebook' =&gt; 'fa fa-facebook',\n    'fa fa-500px'    =&gt; 'fa fa-500px',\n    'fa fa-twitter'  =&gt; 'fa fa-twitter'\n    )\n) );\n<\/code><\/pre>\n\n<h3>Sample Usage With Font Awesome 5<\/h3>\n\n<pre><code>$cmb-&gt;add_field( array(\n    'name' =&gt; __( 'Select Font Awesome Icon', 'cmb' ),\n    'id'   =&gt; $prefix . 'iconselect',\n    'desc' =&gt; 'Select Font Awesome icon',\n    'type' =&gt; 'faiconselect',\n    'options' =&gt; array(\n        'fab fa-facebook' =&gt; 'fa fa-facebook',\n        'fab fa-500px'       =&gt; 'fa fa-500px',\n        'fab fa-twitter'     =&gt; 'fa fa-twitter',\n        'fas fa-address-book' =&gt; 'fas fa-address-book'\n    ),\n    'attributes' =&gt; array(\n        'faver' =&gt; 5\n    )\n) );\n<\/code><\/pre>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>cmb2-field-type-font-awesome<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>Version 1.4<\/h4>\n\n<ul>\n<li>Composer Support Added<\/li>\n<\/ul>\n\n<h4>Version 1.3-beta<\/h4>\n\n<ul>\n<li>Test for Gutenberg<\/li>\n<li>Font Awesome 5 support added<\/li>\n<li>Code Fixes<\/li>\n<\/ul>\n\n<h4>Version 1.2<\/h4>\n\n<ul>\n<li>Version corrections and tests<\/li>\n<li>fontawesome &amp; mainjs definition fix<\/li>\n<\/ul>\n\n<h4>Version 1.1<\/h4>\n\n<ul>\n<li>Group Field Problem Solved<\/li>\n<li>Icon Selector js updated to latest version<\/li>\n<\/ul>\n\n<h4>Version 1.0<\/h4>\n\n<ul>\n<li>Released<\/li>\n<\/ul>","raw_excerpt":"Font Awesome icon selector for powerful custom metabox generator CMB2","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/81188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=81188"}],"author":[{"embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kaisercrazy"}],"wp:attachment":[{"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=81188"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=81188"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=81188"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=81188"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=81188"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/nb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=81188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}