Per category templates
-
I all, I’ve installed per category templates on 2 of my blogs and. They work differenly on both and I’m not sure why, they should be almost identical:
I created category-5.php so as to make the category use it’s own template.
On one of my servers only the category pages display the defined style like so:
http://www.natural-clothing.com/content/category/Static-about-pages/
but the “single” pages in thgis category use the main design like so:
http://www.natural-clothing.com/content/2006/02/28/about-us.php
However on my other domain, both category indeax and single posts of the category show in the category specific style, like so:
http://www.searchspanishproperty.com/content/category/featured-properties/
and
http://www.searchspanishproperty.com/content/31.php
This is how I want it to work. Why does the first example use the main design for the single post pages in the category even though there is a category-5.php and it uses this for the category index? How can I get it to work as in example 2? I thought I did everything the same way…
Thanks for any pointers!
Chris
The topic ‘Per category templates’ is closed to new replies.