Wordpress multiple template for same category with different custom post type
问题 I have this structure for my Wordpress site : Custom post type 1 Category a Term a-1 Term a-2 ... Custom post type 2 Category a (same category than CPT 1) Term a-1 Term a-2 ... I would like to have different template for "Category a" archive page and single term page depending of current post type. How can I achieve this? In other words, I want these URLs each have their own template : http://www.example.com/custom-post-type-1/category-a/ http://www.example.com/custom-post-type-1/category-a