=== Category and Taxonomy Meta Fields=== Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=amu02.aftab@gmail.com&item_name=Donation+Category+and+Meta+Fields Tags: custom taxonomy field, taxonomy meta, term meta, category meta, taxonomy image, taxonomy description, taxonomy short description, category image, category description, category short description Contributors: amu02aftab Author: amu02aftab Tested up to: 6.0.1 License: GPLv2 Requires at least: 3.5.0 Stable tag: 1.0 == Description == Plugin to add custom meta fields within built in and custom taxonomies. Simply add the desired fields by going through WP-admin -> Settings ->Taxonomy Meta . you can add following fields with category/taxonomy * Image. * Input Text. * Textarea. * Checkbox. = Features = * Very simple in use * Can be customized easily. == Screenshots == 1. Settings page where you can add the custom fields 2. Example of the custom fields under the general category fields == Frequently Asked Questions == 1. No technical skills needed. == Changelog == This is first version no known errors found == Upgrade Notice == This is first version no known notices yet == Installation == - Unzip into your `/wp-content/plugins/` directory. If you're uploading it make sure to upload the top-level folder. Don't just upload all the php files and put them in `/wp-content/plugins/`. - Activate the plugin through the 'Plugins' menu in WordPress - Go to your WP-admin ->Settings menu a new "Taxonomy Meta" page is created. - Go to your WP-admin ->Settings ->Taxonomy Meta displayed in the category modification form with the meta you configured. - You can use the below function into your templates to retrieve all meta using 'category id':
if (function_exists('get_all_wp_terms_meta'))
{ 
   $arrayMetaList = get_all_wp_terms_meta($category_id);
   //where $category_id is category/term id
} 

// array all meta fields for category/term
print_r($arrayMetaList); 

- you can use the below function into your templates to retrieve any particular meta using 'category id' and 'meta key':
if (function_exists('wp_get_terms_meta'))
{ 
  $MetaValue = wp_get_terms_meta($category_id, $meta_key ,true); 
  //where $category_id is 'category/term id' and $meta_key is 'meta key'
} 

//meta value for meta key $meta_key
echo $metaValue;