Only show comments if comments already exist
-
I’ve tried searching and haven’t found anything that does quite what I want…
Basically, I’m just looking for code that determines if the number of comments on a post is >0, and if so, displays comments.php. If there are 0 comments, then comments.php is not shown.
Basically, I’m doing this because my blog is using the Facebook comments system and I’d like to only show WordPress comments on posts that have them.
- The topic ‘Only show comments if comments already exist’ is closed to new replies.