Sorry for this title.
I've created 2 custom post types called
'video'. I share them a taxonomy called
'category' with 4 terms
'audio' template page, I'd like to insert a list of category terms that should link to an archive page of all
'audio' posts of the selected category.
For this I use
$args = array( 'post_type' => 'audio', 'orderby' => 'name', 'show_count' => 0, 'pad_counts' => 0, 'hierarchical' => 1, 'taxonomy' => $tax, 'hide_empty' => 1, 'exclude' => 1, 'show_option_none' => '', 'title_li' => '' ); wp_list_categories( $args );
The result is not as expected, I got a link to the archive page of that category but not of 'audio' custom post type. Then it shows only the regular posts (which are not welcome) and no 'audio' posts.
Obviously, I got a link like:
And I would like something like: