Tabulating custom taxonomy Display Terms
-
Hey guys,
So I got some custom taxonomies going which is great! I wanted to then create a root page to list the display terms within the taxonomy. So I did some research and found that both of these work:
<?php wp_tag_cloud( array( 'taxonomy' => 'brands', format => 'list' ) ?>and
<?php //list terms in a given taxonomy using wp_list_categories (also useful as a widget if using a PHP Code plugin) $taxonomy = 'brands'; $orderby = 'name'; $show_count = 0; // 1 for yes, 0 for no $pad_counts = 0; // 1 for yes, 0 for no $hierarchical = 1; // 1 for yes, 0 for no $title = ''; $empty = 0; $args = array( 'taxonomy' => $taxonomy, 'orderby' => $orderby, 'show_count' => $show_count, 'pad_counts' => $pad_counts, 'hierarchical' => $hierarchical, 'title_li' => $title, 'hide_empty' => $empty ); ?> <ul> <?php wp_list_categories( $args ); ?> </ul>`
All work just fine.Now, I really want to tabulate this into a table of say, 3 columns with whatever number of rows are needed.
How do you suggest I go abouts this?
Thanks in advance for all your help guys 🙂
The topic ‘Tabulating custom taxonomy Display Terms’ is closed to new replies.