wordpress - different themes for different pages

Associate
Joined
21 Oct 2008
Posts
1,679
Location
Mooching... in your house
how do :)

i have a specific category page which I would like to use a different template file to the rest (i.e. page.php, category.php, post.php etc are not suitable) so is there a way to make a specific category read from a separate template file? its for a gallery is there any way to make it maybe read gallery.php?
 
For some reason in the back of my head, I *think* there is a way to specify the theme you want to use in the URL.

Can't find much on Google so may be dreaming.....

www.site.com/ndex.php?theme=blah or something like that.

It may of been something in the old versions but if I remember I will shout.
 
I found the solution after scouring the codex... turns out you can just make a template file called category-#.php (where # is the category ID)...

so there we go - easy as that :)
 
Back
Top Bottom