Support » Themes and Templates » How to change single post template based on category?

  • Hi, I’ve done a lot of searching on these forums and google, but can’t figure this out. If someone could lend a hand I would be very appreciative!

    I’ve almost finished making a theme for my own blog that I’ve patched together from the Toolbox by Automatic (http://wordpress.org/extend/themes/toolbox). I’m doing this on my own computer via MAMP, so unfortunately I can’t link anyone to it. I’m very new to this whole thing, I can find my way around CSS without too many emergencies, but with PHP I’m a bit hopeless.

    I would like to find a way to alter the single post template just for posts in one specific category. I have already set up a custom category archive page, which is the same as the rest of my theme just with a different header, but when I click posts within this category, the single post template kicks back in and presents the posts with the normal header.

    Would anyone know which extra bits and pieces (on the PHP side of things) I’d need to drop in to get this happening? Is this something that can be mended with a custom post type?

    Thanks so much!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to change single post template based on category?’ is closed to new replies.