have_comments() always returns false
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘have_comments() always returns false’ is closed to new replies.
The topic ‘have_comments() always returns false’ is closed to new replies.
(@sportyalana)
15 years, 10 months ago
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