[resolved] specified category use specified single page (2 posts)

  1. hi all,

    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!

  2. i found it here:


    hope someone would help, too

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 7 years ago by Tunghsiao Liu (a.k.a. Sparanoid)
  • Latest reply from Tunghsiao Liu (a.k.a. Sparanoid)
  • This topic is resolved
  • WordPress version: 2.2


No tags yet.