Simple Term Meta for WordPress
Simple Term Meta adds support for taxonomy term meta data (custom fields) to WordPress that behaves just like the built in post / user / comment meta!
Out of the box. WordPress offers the ability to add meta data to posts (of any type), users, and comments. But it’s missing meta data support for taxonomy terms (a tag, a category, etc)!
This plug-in adds full, efficient support for term meta data based on the post meta framework built into WordPress. It adds a “postmeta” table and post meta functions that mirror the post meta table and functions in structure. Anyone who has worked with WordPress post meta should be able to pick it up right away:
New functions this plug-in adds:
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 and details.
Check out edit_category_custom_fields, (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.
As always, feedback and suggestions are welcome!