list custom post type categories outline linked list
// get same from sidebar
<?php dynamic_sidebar('Taxonomy_Category2');?>
<?php
$customPostTaxonomies = get_object_taxonomies('chartwell_news');
if (count($customPostTaxonomies) > 0) {
foreach ($customPostTaxonomies as $tax) {
$args = array(
'orderby' => 'name',
'show_count' => 0,
'pad_counts' => 0,
'hierarchical' => 1,
'taxonomy' => $tax,
'title_li' => ''
);
wp_list_categories( $args );
}
}
?>