Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Can I take away the comments box from one category only?


Anonymous User 96400
Inactive

@anonymized-96400

Well, you probably want to adjust all the index files like index.php, archive.php or category.php as well, so the comment count doesn’t show up there when the post is in that category. When you use the category ID then you need to get rid of the enclosing ‘.

So that would be
`<?php if( ! in_category( 61 ) )
comments_template(); ?>`

The jobboard plugin is quite stable now and I’ll release that soon, so shortly after that I’ll work on getting the CV component ready.

Skip to toolbar