wordpress - Single.php template for Taxonomy Term -
i have custom post type - films. has taxonomy of film_cat, in turn has 2 terms/categories - term1 & term2.
for each single post within term1, display specific single.php template. each single post within term2 should have it's own single.php template.
i utilising taxonomy-film_cat-term1.php taxonomy archives templates, can't find info on how create different single.php templates based on taxonomy term.
you can create single.php
page renaming according custom post type
name.
example:
custom post type name: films single.php be: single-films.php
so can find posts of film
on single-films.php
.hope have cleared self
Comments
Post a Comment