I have a custom post type – Films. It has a taxonomy of Film_cat, which in turn has two terms/categories – Term1 & Term2.
For each single post within Term1, I would like to display a specific single.php template. Each single post within Term2 should also have it’s own single.php template.
I am currently utilising taxonomy-film_cat-term1.php for the taxonomy archives templates, however can’t find any info on how to create different single.php templates based on the taxonomy term.
you can create
single.php
page by renaming it according to yourcustom post type
name.For Example:
So you can find all the posts of the
film
onsingle-films.php
.Hope I have cleared my self