Multiple archives for cpt, taxonomies, terms

I’m not totally sure what you’re asking, but if you’re asking about the template that would be used by the term, it would be taxonomy-slug-term.php. So for your taxonomy, the default template for the taxonomy would be taxonomy-argomento1.php Each of the term archives would use this same template, unless they have a specific template specified. … Read more

Ordering Posts List By Taxonomy Terms?

WordPress core (as expressed by involved people on multiple occasions) strongly discourages sort by terms. It sees terms as exclusively grouping mechanism, with no ordering capabilities implied. So in your specific case WP would understand that there are different directors, that there are groups of shows done by those directors, but won’t at all understand … Read more

enumerating custom taxonomies?

get_tags is just a wrapper around the more general taxonomy function get_terms. So you’ll get the result you need with this: function execute_taxography() { $wpbtags = get_terms( ‘books’ ); $output.= ‘<div class=”grid”><div class=”taxography-grid”><ul>’; foreach($wpbtags as $tag) { $output.= ‘<li class=”item”><a href=”‘. get_term_link($tag->term_id, ‘books’ ) .'” style=”background-image: url(\’http://localhost/wordpress/wp-content/uploads/tags/’ . $tag->slug . ‘.png\’)”><span class=”count”>’. $tag->count .'</span><span class=”taxography-name”>’. … Read more