{"id":94075,"date":"2018-11-17T23:05:57","date_gmt":"2018-11-17T23:05:57","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/custom-field-builder\/"},"modified":"2019-03-05T14:59:40","modified_gmt":"2019-03-05T14:59:40","slug":"custom-field-builder","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/custom-field-builder\/","author":16589981,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.2.4","stable_tag":"trunk","tested":"5.0.0","requires":"4.6","requires_php":"5.4","requires_plugins":"","header_name":"Custom Field Builder","header_author":"kirillbdev","header_description":"Create and manage custom fields simply for your site.","assets_banners_color":"","last_updated":"2019-03-05 14:59:40","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/cfbuilder.kirillbdev.pro","header_author_uri":"http:\/\/kirillbdev.pro","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1263,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1977675","resolution":"128x128","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1976093","resolution":"1","location":"assets"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1976093","resolution":"2","location":"assets"},"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1976093","resolution":"3","location":"assets"}},"screenshots":{"1":"Register custom fields template in functions.php file.","2":"Custom fields","3":"Repeater field"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[164464,164472,2010,21698,164561],"plugin_category":[],"plugin_contributors":[164038],"plugin_business_model":[],"class_list":["post-94075","plugin","type-plugin","status-publish","hentry","plugin_tags-cfb","plugin_tags-custom-field-builder","plugin_tags-custom-fields","plugin_tags-custom-meta","plugin_tags-custom-meta-fields","plugin_contributors-kirillbdev","plugin_committers-kirillbdev"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/custom-field-builder\/assets\/icon-128x128.jpg?rev=1977675","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-field-builder\/assets\/screenshot-1.jpg?rev=1976093","caption":"Register custom fields template in functions.php file."},{"src":"https:\/\/ps.w.org\/custom-field-builder\/assets\/screenshot-2.jpg?rev=1976093","caption":"Custom fields"},{"src":"https:\/\/ps.w.org\/custom-field-builder\/assets\/screenshot-3.jpg?rev=1976093","caption":"Repeater field"}],"raw_content":"<!--section=description-->\n<p><strong>Custom Field Builder is a powerful and lightweight developer plugin to create custom meta boxes and custom fields for WordPress.<\/strong><\/p>\n\n<h4>Features<\/h4>\n\n<p>\u2022 Many free custom fields (regular updating and adding new fields).\n\u2022 Easy to install and very easy to use.\n\u2022 Pure and clean code (increase your admin performance).<\/p>\n\n<h4>Links<\/h4>\n\n<p>\u2022 <a href=\"http:\/\/cfbuilder.kirillbdev.pro\">Documentation<\/a><\/p>\n\n<h4>Available fields<\/h4>\n\n<p>\u2022 Textbox\n\u2022 Textarea\n\u2022 Select\n\u2022 Media (image, attachments)\n\u2022 Logic (checkbox may only \"true\" or \"false\")\n\u2022 Color picker\n\u2022 Repeater\n\u2022 Checkbox group\n\u2022 Date picker\n\u2022 Post relationship<\/p>\n\n<h3>Usage<\/h3>\n\n<p>Watch this short video tutorial<\/p>\n\n<p>https:\/\/www.youtube.com\/watch?v=AEeothh5apo<\/p>\n\n<p>Add the following code to your functions.php (or in any convenient file).<\/p>\n\n<pre><code>&lt;?php\n    add_action('cf_builder_init', function ($cfBuilder) {\n        $cfBuilder-&gt;registerTemplate([\n            'id'          =&gt; 'custom_fields',\n            'title'       =&gt; 'Custom Field Builder example',\n            'post_type'   =&gt; 'post',\n            'position'    =&gt; 'normal',\n            'priority'    =&gt; 'high',\n            'fields'      =&gt; [\n\n                'author_name' =&gt; [\n                    'type'    =&gt; 'textbox',\n                    'title'   =&gt; 'Author name'\n                ],\n\n                'author_bio' =&gt; [\n                    'type'    =&gt; 'textarea',\n                    'title'   =&gt; 'Author bio'\n                ]\n\n            ]\n        ]);\n    });\n?&gt;\n<\/code><\/pre>\n\n<p>You also can include your custom template in php file. For example:<\/p>\n\n<pre><code>&lt;?php\n    add_action('cf_builder_init', function ($cfBuilder) {\n        $cfBuilder-&gt;registerTemplate('path_to_your_template_file.php');\n    });\n?&gt;\n<\/code><\/pre>\n\n<p>** See all fields example in examples\/base-fields-template.php in plugin directory! **<\/p>\n\n<!--section=installation-->\n<p>Via <a href=\"http:\/\/getcomposer.org\/\">Composer<\/a>.<\/p>\n\n<pre><code>composer require kirillbdev\/custom-field-builder:dev-master\n<\/code><\/pre>\n\n<p>To do an automatic install of Custom Field Builder, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.<\/p>\n\n<p>In the search field type \"cfb\" or \"Custom Field Builder\" and click Search Plugins. Once you have found it you can install it by simply clicking \"Install Now\".<\/p>\n\n<p>The WordPress codex contains <a href=\"http:\/\/codex.wordpress.org\/Managing_Plugins#Manual_Plugin_Installation\">instructions on how to install a WordPress plugin<\/a>.<\/p>\n\n<!--section=changelog-->\n<h4>Version 1.2.4 \/ (05.03.2019)<\/h4>\n\n<ul>\n<li>Editor Field release (See example file)<\/li>\n<\/ul>\n\n<h4>Version 1.2.3 \/ (18.12.2018)<\/h4>\n\n<ul>\n<li>Some bug fix and refactoring.<\/li>\n<\/ul>\n\n<h4>Version 1.2.2 \/ (13.12.2018)<\/h4>\n\n<ul>\n<li>Fix bug when textarea in repeater not save new line char.<\/li>\n<\/ul>\n\n<h4>Version 1.2.1 \/ (02.12.2018)<\/h4>\n\n<ul>\n<li>getPostFields API method release (see more in <a href=\"http:\/\/cfbuilder.kirillbdev.pro\">Documentation<\/a>).<\/li>\n<li>Fixed error when call API method getPostField on Repeater which contains Checkbox group field.<\/li>\n<\/ul>\n\n<h4>Version 1.2.0 \/ (28.11.2018)<\/h4>\n\n<ul>\n<li>Front-end API release (see more in <a href=\"http:\/\/cfbuilder.kirillbdev.pro\">Documentation<\/a>).<\/li>\n<\/ul>\n\n<h4>Version 1.1.6 \/ (22.11.2018)<\/h4>\n\n<ul>\n<li>Fix post relationship field (not working for WooCommerce).<\/li>\n<\/ul>\n\n<h4>Version 1.1.5 \/ (22.11.2018)<\/h4>\n\n<ul>\n<li>Added Post relationship field.<\/li>\n<\/ul>\n\n<h4>Version 1.1.1 \/ (20.11.2018)<\/h4>\n\n<ul>\n<li>Added Date picker field.<\/li>\n<\/ul>\n\n<h4>Version 1.1.0 \/ (18.11.2018)<\/h4>\n\n<ul>\n<li>Added Checkbox group field.<\/li>\n<li>Fixed repeater bug, when not saved some field types.<\/li>\n<\/ul>\n\n<h4>Version 1.0.1 \/ (18.11.2018)<\/h4>\n\n<ul>\n<li>Fix bug when repeater save previous values when was empty.<\/li>\n<\/ul>\n\n<h4>Version 1.0.0 \/ (14.11.2018)<\/h4>\n\n<ul>\n<li>initial release.<\/li>\n<\/ul>","raw_excerpt":"Custom Field Builder is a powerful and lightweight developer plugin to create custom meta boxes and custom fields for WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/94075","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=94075"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/kirillbdev"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=94075"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=94075"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=94075"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=94075"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=94075"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=94075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}