suppose that i have two parent categories: ‘Artworks’ and ‘Blog’
it’s well known that when i open a post, wordpress will use single.php to display it, but i want to make it like this: when i opened a post filed in ‘Blog’ category or in its child category, wordpress could use single-blog.php for it
and when opened a post in ‘Artworks’ or its child category, it could use single-artwork.php
anyone knows how to code it? or any plugin? thanks!
- The topic ‘specified category use specified single page’ is closed to new replies.