{"id":41558,"date":"2016-02-01T13:31:27","date_gmt":"2016-02-01T13:31:27","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/carbon-fields\/"},"modified":"2017-05-23T09:08:31","modified_gmt":"2017-05-23T09:08:31","slug":"carbon-fields","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/carbon-fields\/","author":14747665,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.6.0","stable_tag":"trunk","tested":"4.7.33","requires":"4.0","requires_php":"","requires_plugins":"","header_name":"Carbon Fields","header_author":"htmlburger","header_description":"","assets_banners_color":"cacbcc","last_updated":"2017-05-23 09:08:31","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/carbonfields.net\/","header_author_uri":"https:\/\/htmlburger.com\/","rating":4.8,"author_block_rating":0,"active_installs":10000,"downloads":19750,"num_ratings":0,"support_threads":1,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.1":"<p>The <code>File<\/code> and <code>Image<\/code> field types now save the attachment ID by default.\nThe <code>Attachment<\/code> field type has been removed and now falls back to <code>File<\/code>.\nThe <code>Date_Field::set_options()<\/code> method is now <code>Date_Field::set_datepicker_options()<\/code>.<\/p>"},"ratings":{"1":0,"2":"1","3":0,"4":0,"5":"18"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":"1340610","resolution":"128x128","location":"assets"},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1340610","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1703160","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1703160","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1703160","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1703160","resolution":"2","location":"assets"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1703160","resolution":"3","location":"assets"},"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1703160","resolution":"4","location":"assets"},"screenshot-5.png":{"filename":"screenshot-5.png","revision":"1703160","resolution":"5","location":"assets"},"screenshot-6.png":{"filename":"screenshot-6.png","revision":"1703160","resolution":"6","location":"assets"}},"screenshots":{"1":"<p>Simple Post Meta container with a Rich Text field.<\/p>","2":"<p>Post Meta container with 2 side-by-side fields - text field and select field.<\/p>","3":"<p>Complex (repeater) field with several fields within it.<\/p>","4":"<p>Nested complex field - repeatable field groups within repeatable field groups.<\/p>","5":"<p>Custom widget with a set ot preferred custom fields.<\/p>","6":"<p>Example that contains most of the available fields, nested fields included.<\/p>"}},"plugin_section":[],"plugin_tags":[1391,527,2009,2240,2244],"plugin_category":[46,49,50],"plugin_contributors":[141478,84789,84794,84788,84791,84796,84782,84793,84784,84783,84795,84787,84786,84792,84785,81580,84378],"plugin_business_model":[],"class_list":["post-41558","plugin","type-plugin","status-closed","hentry","plugin_tags-advanced","plugin_tags-custom","plugin_tags-custom-field","plugin_tags-field","plugin_tags-repeater","plugin_category-editor-and-writing","plugin_category-maps-and-location","plugin_category-media","plugin_contributors-atanasangelovdev","plugin_contributors-avakul","plugin_contributors-brutalenemy666","plugin_contributors-catahac","plugin_contributors-dilirity","plugin_contributors-germozy","plugin_contributors-htmlburger","plugin_contributors-kaloyanivanov","plugin_contributors-kamenarov","plugin_contributors-m1r0","plugin_contributors-magadanski_uchen","plugin_contributors-panchev","plugin_contributors-pkostadinov","plugin_contributors-sstoqnov","plugin_contributors-stoyanovgs","plugin_contributors-tyxla","plugin_contributors-xsisqox","plugin_committers-htmlburger"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/carbon-fields_cacbcc.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/carbon-fields\/assets\/screenshot-1.png?rev=1703160","caption":"<p>Simple Post Meta container with a Rich Text field.<\/p>"},{"src":"https:\/\/ps.w.org\/carbon-fields\/assets\/screenshot-2.png?rev=1703160","caption":"<p>Post Meta container with 2 side-by-side fields - text field and select field.<\/p>"},{"src":"https:\/\/ps.w.org\/carbon-fields\/assets\/screenshot-3.png?rev=1703160","caption":"<p>Complex (repeater) field with several fields within it.<\/p>"},{"src":"https:\/\/ps.w.org\/carbon-fields\/assets\/screenshot-4.png?rev=1703160","caption":"<p>Nested complex field - repeatable field groups within repeatable field groups.<\/p>"},{"src":"https:\/\/ps.w.org\/carbon-fields\/assets\/screenshot-5.png?rev=1703160","caption":"<p>Custom widget with a set ot preferred custom fields.<\/p>"},{"src":"https:\/\/ps.w.org\/carbon-fields\/assets\/screenshot-6.png?rev=1703160","caption":"<p>Example that contains most of the available fields, nested fields included.<\/p>"}],"raw_content":"<!--section=description-->\n<p>Developer-oriented library for WordPress custom fields for all types of WordPress content.<\/p>\n\n<p>Carbon fields is a plugin that can be used as a library for easy creation of custom fields in the WordPress administration panel.<\/p>\n\n<p>Custom fields can be created for post types, taxonomy terms, users, comments, options, navigation menus and even widgets.<\/p>\n\n<p>Supports PHP5.3 or higher.<\/p>\n\n<h4>Usage, Documentation &amp; Resources<\/h4>\n\n<ul>\n<li>WordPress Plugin: https:\/\/wordpress.org\/plugins\/carbon-fields\/<\/li>\n<li>Website: http:\/\/carbonfields.net\/<\/li>\n<li>Documentation (website): http:\/\/carbonfields.net\/docs\/<\/li>\n<li>Documentation (GitHub): https:\/\/github.com\/htmlburger\/carbon-fields-docs<\/li>\n<li>FAQ: http:\/\/carbonfields.net\/faq\/<\/li>\n<li>Support: http:\/\/carbonfields.net\/support\/<\/li>\n<li>GitHub Repository: https:\/\/github.com\/htmlburger\/carbon-fields<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Install Carbon Fields either via the WordPress.org plugin directory, or by uploading the files to your server.<\/li>\n<li>Activate the plugin.<\/li>\n<li>That's it. You're ready to go! Please, refer to the Usage &amp; Documentation section for examples and how-to information.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Install Carbon Fields either via the WordPress.org plugin directory, or by uploading the files to your server.<\/li>\n<li>Activate the plugin.<\/li>\n<li>That's it. You're ready to go! Please, refer to the Usage &amp; Documentation section for examples and how-to information.<\/li>\n<\/ol><\/dd>\n<dt>Q. What is the minimum supported PHP version?<\/dt>\n<dd><p>A. The plugin supports PHP 5.3 and higher.<\/p><\/dd>\n<dt>Q. I don't know much about PHP. Where is the administration interface for creating containers and fields?<\/dt>\n<dd><p>A. There is no admin interface. Containers and fields are created programatically, please refer to the Usage &amp; Documentation section for more information.<\/p><\/dd>\n<dt>Q. Can I create custom widgets with custom fields?<\/dt>\n<dd><p>A. Yes, you can! Creating custom widgets with your preferred fields is now greatly simplified.<\/p><\/dd>\n<dt>Q. Can I create theme options pages and subpages?<\/dt>\n<dd><p>A. Yes, sir! You can create as many theme options pages and subpages with your preferred custom fields.<\/p><\/dd>\n<dt>Q. Can I create repeatable sets of fields?<\/dt>\n<dd><p>A. Absolutely. We call them Complex Fields - fields that contain other fields. You can even create complex fields with multiple sets of fields. Then, when creating a repeatable entry, you can select which set of fields to use.<\/p><\/dd>\n<dt>Q. Can I nest complex (repeatable) fields? If yes, how many levels deep?<\/dt>\n<dd><p>A. Yes, you can nest the fields, at an unlimited depth. The only limit is your imagination. :)<\/p><\/dd>\n<dt>Q. Is Carbon Fields completely free?<\/dt>\n<dd><p>A. Yes.<\/p><\/dd>\n<dt>Q. Can I use Carbon Fields for commercial purposes?<\/dt>\n<dd><p>A. Sure, go ahead! It is completely open source.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.6<\/h4>\n\n<p>Special thanks to all contributors for this release including @pedro-mendonca, @elvishp2006, @timiwahalahti, @campusboy87, @m1r0, @pkostadinov-2create, @georgeHtmlBurger, @yuliyan and others.<\/p>\n\n<ul>\n<li>Added a new field: Radio Image<\/li>\n<li>Added new conditional logic comparison operators: <code>INCLUDES<\/code> and <code>EXCLUDES<\/code> which work for array-based fields (e.g. Set_Field) and string-based fields (e.g. Text_Field)<\/li>\n<li>Added <code>Complex_Field::set_collapsed()<\/code> method which allows you to control if groups should display collapsed on page load<\/li>\n<li>Added partial support for duplicate container names, the only exception being that 2 theme options containers with the same name will still not be allowed<\/li>\n<li>Fixed several Sidebar\/Widget related issues<\/li>\n<li>Fixed Relationship\/Assosiation field issues with deleted items<\/li>\n<li>Fixed User Meta container title being visible when the container itself is not.<\/li>\n<li>Fixed error messages sometimes not being shown for containers<\/li>\n<li>Updated <code>-&gt;set_options()<\/code> and <code>-&gt;add_options()<\/code> to both be able to receive callbacks and arrays.<\/li>\n<li>Fixed various Nav_Menu_Container issues<\/li>\n<li>Fixed \"Click Here\" adding 2 entries to empty complex fields<\/li>\n<li>Added <code>User_Meta_Container::show_for()<\/code> method to allow users other than administrators to interact with user meta containers<\/li>\n<li>The Media popup will now properly mark any previously selected attachment<\/li>\n<li>A number of i18n updates, stability improvements and fixes.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Improved GUI! Big thanks to @holmar and @georgknabl for the great contribution! (<a href=\"https:\/\/cloud.githubusercontent.com\/assets\/7590968\/18725040\/fdc911f8-803e-11e6-9749-a218b0584e27.png\">preview<\/a>)<\/li>\n<li>Added Brazilian Portuguese (pt_BR) translation (thanks to @elvishp2006).<\/li>\n<li>Many bugfixes and improvements.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Introduced the Complex Field vertical tabbed layout.<\/li>\n<li>Allow fields with the same name to be used in different Carbon Containers.<\/li>\n<li>Added German (de_DE) translation (thanks to @AlexBa).<\/li>\n<li>Added Swedish (sv_SE) translation (thanks to @fhqvst).<\/li>\n<li>Added Russian (ru_RU) translation (thanks to @andrewostrin).<\/li>\n<li>Added Spanish (es_ES) translation (thanks to @fitodac).<\/li>\n<li>Performance improvements.<\/li>\n<li>Some i18n improvements.<\/li>\n<li>Few bugs squashed.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Introduced the Complex Field tabbed layout (<a href=\"https:\/\/cloud.githubusercontent.com\/assets\/1612178\/17105196\/ea28f2f4-528e-11e6-9841-b93c0f12b283.jpg\">example<\/a>).<\/li>\n<li>Added Portuguese (pt_PT) translation (thanks @pedro-mendonca).<\/li>\n<li>Allow saving empty complex field groups.<\/li>\n<li>Added a filter for the Google Maps API key.<\/li>\n<li>Minor improvements and fixes.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Ensured compabitility with the WordPress Coding Standards.<\/li>\n<li>Introduced new <code>Time<\/code> field type.<\/li>\n<li>Introduced new <code>Date_Time<\/code> field type.<\/li>\n<li>Enhanced the Composer configuration.<\/li>\n<li>Fixed an issue with handling numeric indexes in <code>Predefined_Options_Field<\/code> field types.<\/li>\n<li>Fixed several issues with <code>set_width()<\/code> in nested or sibling <code>Complex<\/code> fields.<\/li>\n<li>Fixed issue with attaching <code>user_meta<\/code> container under certain conditions.<\/li>\n<li>Enhanced <code>post_meta<\/code> container to use <code>page<\/code> post type when calling the <code>show_on_page_children()<\/code>, <code>show_on_page()<\/code> and <code>show_on_template()<\/code> methods.<\/li>\n<li>Added French translation.<\/li>\n<li>Introduced interface for managing header template for <code>Complex<\/code> field groups.<\/li>\n<li>Introduced a filter for the save button on the <code>theme_options<\/code> container.<\/li>\n<li>Renamed the textdomain to be compatible with the one, used in GlotPress.<\/li>\n<li>Added new tests.<\/li>\n<li>Performed various other code and UI fixes and improvements.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Removed <code>Attachment<\/code> field type, with backwards compatibility.<\/li>\n<li>The <code>File<\/code> and <code>Image<\/code> field types now save the attachment ID by default.<\/li>\n<li>Introduced <code>File_Field::set_value_type()<\/code> to easily change the saved value type.<\/li>\n<li>Added a Vagrantfile.<\/li>\n<li>Added some <code>Field<\/code> and <code>Container<\/code> tests.<\/li>\n<li>Renamed <code>Date_Field::set_options()<\/code> to <code>Date_Field::set_datepicker_options()<\/code>.<\/li>\n<li>Introduced an abstract <code>Predefined_Options_Field<\/code> base for <code>Select<\/code>, <code>Radio<\/code> and <code>Set<\/code> field types.<\/li>\n<li>Added proxy Container, Field and Widget for shorter <code>use<\/code> statements.<\/li>\n<li>Introduced an abstract <code>Scripts_Field<\/code> base for <code>Header Scripts<\/code> and <code>Footer Scripts<\/code> field types.<\/li>\n<li>Introduced an abstract <code>Meta_Datastore<\/code> base for all meta datastore classes.<\/li>\n<li>Performed various other code fixes and improvements.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial version.<\/li>\n<\/ul>","raw_excerpt":"WordPress developer-friendly custom fields for post types, taxonomy terms, users, comments, widgets, options and more.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/41558","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=41558"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/htmlburger"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=41558"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=41558"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=41558"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=41558"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=41558"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=41558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}