on my site I want to divide every category of posts in different pages.
Right now I am using a plugin to redirect the page “cars” to the “www.mysite.com/category/cars”
this way I cannot change SEO for the page and I also can’t change the image (using super standard wordpress twenty ten theme) of the page “www.mysite.com/category/cars” so I would like to do this: create a custom page template that shows only posts from a single category using Body Classes.
This way I could have a “cars” page with its own cars page template loading all posts in the cars category.
Is there anybody that could help me with a code example? NB: I don’t want a list of posts (I could do this with a plugin)… I want a page that looks like the category page template!
Thanx a lot
- The topic ‘Use Body class in page template to show a category’ is closed to new replies.