Functions

get_all_meta_children

By the Web Warlock, Friday, 14/May/2010 13:11

<?php get_all_meta_children( $term_id = NULL , $add_parent = true , $field = '_parent' , $depth = -1 , $cur_depth = 0 , $use_cache = true ); ?>

get_all_meta_children: Source code

By the Web Warlock, Friday, 14/May/2010 13:08

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

How to display multiple parentage in a category template

By the Web Warlock, Friday, 14/May/2010 9:44

To display all the posts that belong to a category and include multiple parentage (that is, display also the posts that belong to a meta-children term), we'll have to redo a bit the query of The Loop. What we'll do is retrieve all the children of the queried term, and use the list of ids [...]

init_term_meta_cache: Source code

By the Web Warlock, Sunday, 9/May/2010 22:23

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