Adds support for taxonomy term meta data (custom fields); behaves just like the built in post / user / comment meta!
WordPress offers meta data support for posts, users, and comments out of the box. But it's missing meta support for taxonomy terms (a tag, category, or custom taxonomy terms)!
This plug-in adds full, efficient support for term meta based on the post meta framework built into WordPress. Adds a "postmeta" table, and post meta functions that should be familiar to anyone who has worked with WordPress post meta.
New functions include
get_term_custom_values, and more.
The functions work just like their post meta counter parts (add_post_meta, et al) – just substitute the post_id with the term_id. Should work with any taxonomy! Take a look inside
simple-term-meta.php for more complete function documentation.
(taxonomy-name)_edit_form and other, similar action hooks built into WordPress to start adding your own custom fields to terms using this plug-in!
Because it’s difficult to test this plug-in with all types of custom taxonomies, I’m considering this a “beta” – in the Google sense – or pre-1.0 release.