Viewing 1 replies (of 1 total)
  • <?php if ( comments_open() ) : ?>
    	<?php comments_template(); ?>
    	<?php endif; ?>

    is the code I use on my page.php, basically says only show the comments template if comments are open. So if they are closed, nothing shows.

    That’s goog if you plan to allow some commenting, if you don’t you can just delete the comments_template line from the appropriate template

Viewing 1 replies (of 1 total)

The topic ‘How to disble comment features’ is closed to new replies.