The following will list the categories of a custom post type.


 0)
{
     foreach($customPostTaxonomies as $tax)
     {
	     $args = array(
         	  'orderby' => 'name',
	          'show_count' => 0,
        	  'pad_counts' => 0,
	          'hierarchical' => 1,
        	  'taxonomy' => $tax,
        	  'title_li' => '',
                  'echo' => 1
        	);

	     wp_list_categories( $args );
     }
}
?>

Code Credit to: http://www.paulund.co.uk/display-categories-of-a-custom-post-type

Leave a Reply

Get in Touch

Please fill out the form below and we will get back to you ASAP

  • This field is for validation purposes and should be left unchanged.