single.php (4 posts)

  1. libbyyoung
    Posted 10 years ago #

    I am trying to get the post entry page to pull up a specific page template depending on which category it's in. Does anyone have any suggestions?
    Please help!

  2. http://codex.wordpress.org/Category_Templates

    It explains how to set up a page just for that.

  3. libbyyoung
    Posted 10 years ago #

    But these are for the category archive page not the pages for the individual posts that fall within that category - or am I missing something?

  4. because the single post is in a particular category, telling it to use a different template according to the category *should* make it use the same template of the individual post.

    Whups - I just double-checked because I had the same set-up on a blog of mine. This is exactly where I ran into a snag. I can't quite figure out where or how to tell WP to keep post from category X using Y template, but I bet it involves some snazzy php. ;)


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.