I have a custom taxonomy assigned to two post types. How do I create URLs for different term archives for each post type?

I think your issue is with the rewrite portion when you registered the custom taxonomy with posts. ‘rewrite’ => array(‘slug’ => ‘some-slug’, ‘with_front’ => false) You can replace some-slug with anything you would like. It might be possible to replace it with article/event-category to get the results you want. Setting with_front to false removes blog … Read more

Displaying custom posts in categories

To retrieve all the terms attached to your taxonomy “brochure_categories”, you can use get_terms() function. More info here. Once you’ve got your terms, you can traverse them and query your custom posts with: $query = new WP_Query( array( ‘post_type’ => ‘brochures’, ‘brochure_categories’ => $current_category, ‘posts_per_page’ => -1, ‘order’ => ‘ASC’, ‘orderby’ => ‘title’, ) ); … Read more