Removing comments
-
I’ve thoroughly searched the forums for an answer to this and no topic has been resolved. How do I remove comments e.g. comments (6). I’m using a template and have removed this code:
<?php comments_popup_link(‘Comments (0)’, ‘Comments (1)’, ‘Comments (%)’); ?>
from the files it’s in, and it’s still showing comments.
Or do I have to edit this code in comments.php:
<?php else : // this is displayed if there are no comments so far ?>
<?php if (‘open’ == $post->comment_status) : ?>
<!– If comments are open, but there are no comments. –><?php else : // comments are closed ?>
<!– If comments are closed. –>
<!– <p class=”nocomments”>Comments are closed.</p> –><?php endif; ?>
<?php endif; ?>I have also turned off comments in WP dashboard.
- The topic ‘Removing comments’ is closed to new replies.