how to shut off comments in just one category
-
Hi
So, I’m wondering if anyone has tried this. I’ve been sifting through resources and tutorials but…its not quite working. Basically I’m trying to shut the comments form off in just one category. So far i’ve tried making a different single page which half worked:
<?php $post = $wp_query->post; if ( in_category('comics') ) { include(TEMPLATEPATH . '/comicSingle.php'); } else { include(TEMPLATEPATH . '/single.php'); } ?>
simple enough, except it’s displaying a double of the post in the bottom, under the footer w/ the normal single page comment setup.
suggestions? I’m currently reading the ‘in_category’ page as well.
thanks!
Nadine.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘how to shut off comments in just one category’ is closed to new replies.