I am working on an artist's website. She wants each image to show up in the blog, and to category pages like "paintings", "calligraphy", etc. When viewing the category pages, the images should be displayed without comments. But when the images are viewed in the blog, they should have a comment section. Ideally the category page posts could link back to the blog view, but this is optional. As far as I can tell, you can only choose the format of a post on a per-post basis. Is there any way to make a category page apply a format to all of its posts?

  • Have you had a chance to look at the answer from @toscho - I believe it will enlighten you on this. – Brian Fegter Oct 7 '12 at 1:23

Create a category.php with a customized loop that doesn’t mention the comments. See Template Hierarchy: Category display for details and search or site for some examples.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.