I have a custom taxonomy associated with a custom post type and would like to be able to have a single post template apply to particular terms only.
For example, let’s say the post type is “resources” and I have a taxonomy for “resource types” which contains terms like “whitepaper,” “video,” etc.
What I want to be able to do is have a single post template for posts beloning to one of these terms. Using the term “whitepaper” as an example, I would expect something like:
The function in this post seems like it should work but it’s not.
Does anyone have any thoughts on how this might be set up? Many thanks if so….. Paul