List of taxonomy archive index page links

You can build a list using two functions: get_terms() and get_term_link(): <?php function wpse73271_get_term_archive_link_list( $taxonomy ) { // First, get an array of term IDs $term_objects = get_terms( $taxonomy ); // Now, loop through $term_ids and get // an array of term archive permalinks foreach ( $term_objects as $term_object ) { $term_object->url = get_term_link( $term_object, … Read more

Are taxonomy hierarchies possible?

I have run into similar problem with the system I am currently building – I needed ZIP codes to be children of Cities, which were to be children of States. What I have learned is that it was possible to add custom fields to the term creation form to link the term (e.g. ZIP) to … Read more

Get post terms with hierarchical relationships

I doubt you’re going to find a function that created the exact output you’re using, so you’re probably looking at two nested called to get_terms(). I usually avoid most other taxonomy-related plugins in favor of get terms. Most of the other functions are wrappers for this one. Here’s some psuedo-code for what I’d do: <?php … Read more

Saving Taxonomies to Post Revisions

WordPress only supports revisions for post content, not terms. To create a system that monitors changes in post-term relationships over time, you would have to write a plugin that explicitly handles that. If you’re interested in going down that route, you would probably need to use the save_post hook to save term data (saving as … Read more