{"id":30934,"date":"2014-08-01T18:44:32","date_gmt":"2014-08-01T18:44:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/cfs-custom-category-fields\/"},"modified":"2015-11-07T22:19:53","modified_gmt":"2015-11-07T22:19:53","slug":"cfs-custom-category-fields","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/cfs-custom-category-fields\/","author":10104371,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.3.1","stable_tag":"1.3.1","tested":"4.1.42","requires":"3.6","requires_php":"","requires_plugins":"","header_name":"CFS Custom Category Fields","header_author":"GatorDev","header_description":"","assets_banners_color":"","last_updated":"2015-11-07 22:19:53","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/gatordev.com\/","header_plugin_uri":"http:\/\/wordpress.org\/plugins\/cfs-custom-category-fields\/","header_author_uri":"http:\/\/gatordev.com\/","rating":5,"author_block_rating":0,"active_installs":200,"downloads":5679,"num_ratings":2,"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":0,"5":"2"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.0.1","1.1","1.2","1.2.1","1.3","1.3.1"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"958829","resolution":"1","location":"assets","width":293,"height":212}},"screenshots":{"1":"Apply Field Group to Category or Taxonomy"}},"plugin_section":[],"plugin_tags":[16900,16899,16901],"plugin_category":[],"plugin_contributors":[82200],"plugin_business_model":[],"class_list":["post-30934","plugin","type-plugin","status-publish","hentry","plugin_tags-category-custom-fields","plugin_tags-category-meta-data","plugin_tags-custom-field-suite-addon","plugin_contributors-gatordog","plugin_committers-gatordog"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/cfs-custom-category-fields.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/cfs-custom-category-fields\/assets\/screenshot-1.png?rev=958829","caption":"Apply Field Group to Category or Taxonomy"}],"raw_content":"<!--section=description-->\n<p>CFS Category Fields is a Custom Field Suite addon that provides meta data or custom fields for categories and custom taxonomies. Key features are as follows:<\/p>\n\n<ul>\n<li>Apply Custom Fields to Categories and Custom Taxonomies<\/li>\n<li>Requires the Custom Field Suite Plugin<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>cfs-taxonomy.zip<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Install and activate Custom Field Suite if not already installed<\/li>\n<li>On the Field Group editor you will see a box to apply the Field Group to a Category or Taxonomy<\/li>\n<li>Update the Field Group and the fields will be editable on the Wordpress Category Editor<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How do I retrieve custom fields for display on a category page?<\/dt>\n<dd><p>Use the function get_category_meta('field_name'), or alternatively, call CfsTaxonomy::get('field_name') directly, in your php.<\/p><\/dd>\n<dt>How do I retrieve custom category fields anywhere?<\/dt>\n<dd><p>Use the function get_category_meta() and pass it the term object as the second parameter, eg: get_category_meta(false, get_term_by('slug', 'good-stuff', 'category')). This will return all field data from the category Good Stuff.<\/p><\/dd>\n<dt>How do I retrieve the cfs front-end form?<\/dt>\n<dd><p>Use the function get_category_form(). If used on a category or archive page it takes no parameters. It can be used anywhere by passing the term object as the first parameter.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.3.1<\/h4>\n\n<ul>\n<li>Fixes imcompatibilities with latest version of CFS<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Adds an option apply a field group only to a category or taxonomy. When enabled, field groups that are only needed for categories or taxonomies will not show up in post, custom post type or page edit screens.<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>Fixes bug with calling get_category_meta() in a loop, ie more than once.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Fixes incompatiblity with relationship fields and the issue with making further cfs calls after calling get_category_meta().<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Introduces the function get_category_form() which retrieves the cfs front-end form for your field group.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Flatten field data returned by get_category_meta() when all fields are returned.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial Release.<\/li>\n<\/ul>","raw_excerpt":"A Custom Field Suite Addon that provides custom meta data for categories and custom taxonomies.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/30934","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=30934"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/gatordog"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=30934"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=30934"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=30934"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=30934"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=30934"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=30934"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}