Support » Plugins » Remove “0 Comments”

  • I figured out how to remove “Comments are closed” from the bottom of posts, but how do I remove “0 Comments” from those posts that do not allow comments? Seems rather useless to even have the notification if posting comments for that article is not even allowed.

Viewing 1 replies (of 1 total)
  • look for comments_number() and then modify that to display what you want to display.

    If comments are not allowed on a post, search for something like this in comments.php

    <?php if ('open' == $post->comment_status) : ?>

    Then edit below that.

Viewing 1 replies (of 1 total)
  • The topic ‘Remove “0 Comments”’ is closed to new replies.