Plugin Reference/ZYX Term Meta



The ZYX Term Meta plugin/framework adds a term metadata table and puts it to good use with a zillion features, from term alias to custom templates, multiple parents for child terms, HTML HEAD metadata, term thumbnails/featured images, a much improved user interface and much, much more: even a theme. You'll be able to choose which features you need, and deactivate those you don't need.

Please note: Some of the features of this plugin are intended to use, or best used, with categories. Some of the features may be tweaked to work with other taxonomies, but actually this is not needed thanks to the term group and link to page features, which allows all the features for taxonomies (like meta boxes, permalinks and templates), and even more: see the description of term groups for a (somewhat) full list of features.

This "special category support" is due mainly to two reasons: One, the object $wp_query has a superb support for categories. It allows for many combinations, while taxonomies were requested just with a rewrite (which meant that you could not ask for ingredient="bread" AND process="baking",  you just could query where taxonomy=ingredient AND term=bread , or taxonomy=process. And, also, at the start of development of this plugin, there was no real support for hierarchical taxonomies other than category, so useful things like the multiple parentage where anyway limited to categories only.

Showing results 21 to 24 of 27 total


register_term_group: Source code

By the Web Warlock, Tuesday, 18/May/2010 16:21

Source code of the function register_term_group, located in the file wp-content/plugins/zyx-term-meta/includes/term-groups.php of the ZYX Term Meta plugin.


By the Web Warlock, Tuesday, 8/Jun/2010 6:14

located in the file / . Displays the admin form. Calls the action . Hooks to the action hook at priority 0.

<?php show_term_meta_form(); ?>

Single template by term

By the Web Warlock, Wednesday, 19/May/2010 22:28

You can select a single template to be assigned by default to all posts belonging to a term.

Term groups

By the Web Warlock, Wednesday, 19/May/2010 13:07

We could say that term groups resemble WordPress custom taxonomies, but there are lots of differences, and term groups are more flexible (and complex).
Term groups are hierarchical and allow for multiple parentage. This means that any term group can be parent or children of any number of other term groups.
A term can belong to any number of term groups, and a term can serve as index of a term group, meaning that the term will act as representation of the term group: the link to the term group will be that of the term.
Term groups may have term group checktables, special meta boxes with the terms of the term group (including or not those of the children term groups), with many features of their own: Checktables can use thumbnails if available, terms may be hidden for a given checktable —rendering them unselectable—, may have preselected terms, have different hooks, may be read only or displayed only if certain term is selected, &c.). Also, term groups can use the same custom template for all terms in the term group, automatically add custom fields, & even more.