I have a custom post type registered as
publication and a custom taxonomy registered as
The post type's slug is
publication and the taxonomy slug is
The reason I have it set up like that is to get these urls
example.com/publication/ - Archive example.com/publication/post-name - Single example.com/publication/category/category-name - Category Archive
The problem is that when I go to this url
example.com/publication/category/category-name the post_type is not set so it uses the default archive template.
Is there a way without passing in
?post_type=publication that I can set the post_type to publication so it uses the publication archive template?