Title: have_comments() always returns false
Last modified: August 19, 2016

---

# have_comments() always returns false

 *  [sportyalana](https://wordpress.org/support/users/sportyalana/)
 * (@sportyalana)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/have_comments-always-returns-false/)
 * Hi there this is my first ever post here!
 * I’m trying to do the comments for my custom theme for WP3 and can’t get the comments
   to show. When I activate the TwentyTen theme I can see the comments fine, so 
   it’s got to be me doing something stupid.
 * I’ve narrowed it down to have_comments() always returning false, even when get_comments_number()
   returns an integer greater than zero. Also, it seems that wp_list_comments() 
   does nothing in this instance too.
 * My comments code appears to be within the loop, so I was wondering if you had
   any tips as to what I might be doing wrong?
 * Thanks in advance!
 * Alana.
    xx

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [sportyalana](https://wordpress.org/support/users/sportyalana/)
 * (@sportyalana)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/have_comments-always-returns-false/#post-1568350)
 * I just worked out what I was doing wrong.
 *  Thread Starter [sportyalana](https://wordpress.org/support/users/sportyalana/)
 * (@sportyalana)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/have_comments-always-returns-false/#post-1568351)
 * My single.php file included the comments with this line…
    `<?php include( TEMPLATEPATH.'/
   comments.php' ); ?>`
 * and it should have been…
    `<?php comments_template(); ?>`
 * Now, everything works!
    I hope this helps someone else.
 * Alana.
    x

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘have_comments() always returns false’ is closed to new replies.

## Tags

 * [Comments](https://wordpress.org/support/topic-tag/comments/)
 * [have_comments()](https://wordpress.org/support/topic-tag/have_comments/)

 * 2 replies
 * 1 participant
 * Last reply from: [sportyalana](https://wordpress.org/support/users/sportyalana/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/have_comments-always-returns-false/#post-1568351)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
