{"id":17149,"date":"2012-02-29T13:59:53","date_gmt":"2012-02-29T13:59:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/custom-fields-creator\/"},"modified":"2013-05-09T14:13:51","modified_gmt":"2013-05-09T14:13:51","slug":"custom-fields-creator","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/custom-fields-creator\/","author":1479434,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.4","stable_tag":"1.0.4","tested":"3.5.2","requires":"3.1","requires_php":"","requires_plugins":"","header_name":"WCK Custom Fields Creator","header_author":"Reflection Media, Madalin Ungureanu","header_description":"","assets_banners_color":"","last_updated":"2013-05-09 14:13:51","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.cozmoslabs.com\/wordpress-creation-kit\/custom-fields-creator\/","header_plugin_uri":"","header_author_uri":"http:\/\/www.reflectionmedia.ro","rating":4.8,"author_block_rating":0,"active_installs":60,"downloads":14707,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":"1","5":"4"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.0.2","1.0.3","1.0.4"],"block_files":[],"assets_screenshots":{"screenshot-3.jpg":{"filename":"screenshot-3.jpg","revision":"1573785","resolution":"3","location":"plugin"},"screenshot-4.jpg":{"filename":"screenshot-4.jpg","revision":"1573785","resolution":"4","location":"plugin"},"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1573785","resolution":"1","location":"plugin"},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1573785","resolution":"2","location":"plugin"}},"screenshots":{"1":"List of Meta boxes","2":"Meta box arguments","3":"Meta box with custom fields","4":"Some defined custom fields"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2009,2010,21728,1264,11933],"plugin_category":[],"plugin_contributors":[78403,78399],"plugin_business_model":[],"class_list":["post-17149","plugin","type-plugin","status-closed","hentry","plugin_tags-custom-field","plugin_tags-custom-fields","plugin_tags-custom-fields-creator","plugin_tags-meta-box","plugin_tags-meta-boxes","plugin_contributors-madalinungureanu","plugin_contributors-reflectionmedia","plugin_committers-reflectionmedia"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/custom-fields-creator.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/custom-fields-creator\/trunk\/screenshot-1.jpg?rev=1573785","caption":"List of Meta boxes"},{"src":"https:\/\/ps.w.org\/custom-fields-creator\/trunk\/screenshot-2.jpg?rev=1573785","caption":"Meta box arguments"},{"src":"https:\/\/ps.w.org\/custom-fields-creator\/trunk\/screenshot-3.jpg?rev=1573785","caption":"Meta box with custom fields"},{"src":"https:\/\/ps.w.org\/custom-fields-creator\/trunk\/screenshot-4.jpg?rev=1573785","caption":"Some defined custom fields"}],"raw_content":"<!--section=description-->\n<p><strong>IMPORTANT: The plugin Custom Fields Creator will no longer be supported or updated.<\/strong><\/p>\n\n<p><strong>Custom Fields Creator is now part of <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wck-custom-fields-and-custom-post-types-creator\/\" title=\"download link\">WCK - Custom Fields and Custom Post Types Creator plugin<\/a>, which is fully compatible. <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wck-custom-fields-and-custom-post-types-creator\/\" title=\"download link\">Download it<\/a> and install it instead of the current plugin.<\/strong><\/p>\n\n<p>WCK Custom Fields Creator offers an UI for setting up custom meta boxes for your posts, pages or custom post types. Uses standard custom fields to store data.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Easy to create custom fields for any post type.<\/li>\n<li>Support for Repeater Fields and Repeater Groups.<\/li>\n<li>Drag and Drop to sort the Repeater Fields.<\/li>\n<li>Support for all input fields: text, textarea, select, checkbox, radio.<\/li>\n<li>Image \/ File upload supported via the WordPress Media Uploader.<\/li>\n<li>Possibility to target only certain page-templates, target certain custom post types and even unique ID's.<\/li>\n<li>All data handling is done with ajax<\/li>\n<li>Data is saved as postmeta<\/li>\n<\/ul>\n\n<h4>Website<\/h4>\n\n<p>http:\/\/www.cozmoslabs.com\/wordpress-creation-kit\/<\/p>\n\n<h4>Announcement Post and Video<\/h4>\n\n<p>http:\/\/www.cozmoslabs.com\/3747-wordpress-creation-kit-a-sparkling-new-custom-field-taxonomy-and-post-type-creator\/<\/p>\n\n<h4>Documentation<\/h4>\n\n<p>http:\/\/www.cozmoslabs.com\/wordpress-creation-kit\/custom-fields-creator\/<\/p>\n\n<h4>Bug Submission and Forum Support<\/h4>\n\n<p>http:\/\/www.cozmoslabs.com\/forums\/forum\/wordpresscreationkit\/<\/p>\n\n<h4>Please Vote and Enjoy<\/h4>\n\n<p>Your votes really make a difference! Thanks.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the wck-cfc folder to the '\/wp-content\/plugins\/' directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Then navigate to WCK =&gt; Custom Fields Creator tab and start creating your meta boxes<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I display my custom fields in the frontend?<\/dt>\n<dd><p>Let's consider we have a meta box with the following arguments:\n- Meta name: books\n- Post Type: post\nAnd we also have two fields defined:\n- A text custom field with the Field Title: Book name\n- And another text custom field with the Field Title: Author name<\/p>\n\n<p>You will notice that slugs will automatically be created for the two text fields. For 'Book name' the slug will be 'book-name' and for 'Author name' the slug will be 'author-name'<\/p>\n\n<p>Let's see what the code for displaying the meta box values in single.php of your theme would be:<\/p>\n\n<pre><code>&lt;?php $books = get_post_meta( $post-&gt;ID, 'books', true ); \nforeach( $books as $book){\n    echo $book['book-name'] . '&lt;br\/&gt;';\n    echo $book['author-name'] . '&lt;br\/&gt;';\n}?&gt;\n<\/code><\/pre>\n\n<p>So as you can see the Meta Name 'books' is used as the $key parameter of the function get_post_meta() and the slugs of the text fields are used as keys for the resulting array. Basically CFC stores the entries as custom fields in a multidimensional array. In our case the array would be:<\/p>\n\n<pre><code>&lt;?php array( array( \"book-name\" =&gt; \"The Hitchhiker's Guide To The Galaxy\", \"author-name\" =&gt; \"Douglas Adams\" ),  array( \"book-name\" =&gt; \"Ender's Game\", \"author-name\" =&gt; \"Orson Scott Card\" ) );?&gt;\n<\/code><\/pre>\n\n<p>This is true even for single entries.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Important notice: This plugin will no longer be supported or updated. Use <a href=\"http:\/\/wordpress.org\/extend\/plugins\/wck-custom-fields-and-custom-post-types-creator\/\">WCK - Custom Fields and Custom Post Types Creator plugin<\/a> instead.<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Compatible with WordPress 3.5<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Major changes to the upload field. Now it stores the attachments ID instead of the url of the file. IMPORTANT: in the backend backwards compatibility has been taken care of but on the frontend the responsibility is yours.<\/li>\n<li>Added possibility to choose whether to attach or not the upload to the post.<\/li>\n<li>Various UI improvements.<\/li>\n<li>Fixed bug when CFC box had no title.<\/li>\n<li>Fixed label bug on edit form.<\/li>\n<li>Fixed bug that broke sorting after updating an element.<\/li>\n<li>Other small bug fixes and improvements.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added link to website and documentation in readme.<\/li>\n<li>Added link to support forum in readme.<\/li>\n<li>Other small readme improvments.<\/li>\n<\/ul>","raw_excerpt":"WCK Custom Fields Creator - easily create custom meta boxes for WordPress. It supports normal custom fields and custom fields repeater groups.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/17149","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=17149"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/reflectionmedia"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=17149"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=17149"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=17149"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=17149"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=17149"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=17149"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}