Title: Comments are missing
Last modified: August 19, 2016

---

# Comments are missing

 *  [thelifeoflisa](https://wordpress.org/support/users/thelifeoflisa/)
 * (@thelifeoflisa)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/comments-are-missing/)
 * I recently exported my wordpress blog into my own domain blog, and it seems like
   something has happened to some of my comments in the process.
 * All of them have been imported correctly, however, on some posts, it says “NO
   COMMENTS” when in fact,if you click to comment you will see that there are comments.
   Is there a way to fix this?
 * [http://www.the-life-of-lisa.com](http://www.the-life-of-lisa.com)

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

 *  Thread Starter [thelifeoflisa](https://wordpress.org/support/users/thelifeoflisa/)
 * (@thelifeoflisa)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/comments-are-missing/#post-1144519)
 * anyone?
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/comments-are-missing/#post-1144541)
 * On the “missing comment” posts, have comments been closed? If so, the problem
   could be within your theme.
 *  Thread Starter [thelifeoflisa](https://wordpress.org/support/users/thelifeoflisa/)
 * (@thelifeoflisa)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/comments-are-missing/#post-1144542)
 * no, they haven’t. When you click on the individual post, you can see the comments
   and also comment on them still.
 * However, on the main page where you can see my last 5 posts or whatever, it says“
   no comments” on it.
 * ALSO— does anyone know how to change the section where it says “NO COMMENTS” 
   if no one has commented on it to something different…it makes it look like I 
   don’t allow comments, even though that’s not the case.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/comments-are-missing/#post-1144543)
 * Part 2 first:
 * Look for `comments_popup_link()` in your template file(s) (start with index.php).
   The details are all on [http://codex.wordpress.org/Template_Tags/comments_popup_link](http://codex.wordpress.org/Template_Tags/comments_popup_link)
   but, basically, the first field in that comma-delimited list is the message used
   when you don’t have any comment yet. I tend to use something like:
 * `<?php if('open' == $post->comment_status) : ?><?php comments_popup_link('Comment
   on '.$post->post_title, '1 Comment on '.$post->post_title, '% Comments on '.$
   post->post_title,'postcomment','Comments are off for '.$post->post_title); ?>
   <?php endif;?>`
 * (The `if` statement actually stops the last message from ever being seen)
 * With regard to your older posts problem, so you have a link to one of these posts?
 *  Thread Starter [thelifeoflisa](https://wordpress.org/support/users/thelifeoflisa/)
 * (@thelifeoflisa)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/comments-are-missing/#post-1144544)
 * Thanks so much for the quick reply. For part 2, I fixed the problem by just switching
   themes. For my original question, here is a post showing an example of what I
   am talking about:
 * [http://www.the-life-of-lisa.com/2009/06/26/favorite-place-of-the-week-kensington-palace-and-gardens/](http://www.the-life-of-lisa.com/2009/06/26/favorite-place-of-the-week-kensington-palace-and-gardens/)
 * If you look at the top under the title, it says “0 comments” however, when you
   scroll down, you will see that there are really 5.
 * Doesn’t make sense to me.
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/comments-are-missing/#post-1144546)
 * Have a look in single.php. Does it use `comments_number()`?
 *  Thread Starter [thelifeoflisa](https://wordpress.org/support/users/thelifeoflisa/)
 * (@thelifeoflisa)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/comments-are-missing/#post-1144548)
 * About 1 hr ago I switched to the thesis theme (the problem still persists) abut
   I don’t see the single.php in the editor.
 * {so sorry to be such a pain..thank you for trying to help me :)}
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/comments-are-missing/#post-1144568)
 * If the problem persists after a change in theme, then it’s obviously not the 
   template files. There’s a field in the wp_posts table that stores the number 
   of comments listed against each post. WP uses this field to generate the displayed
   comment totals rather than recounting the comments every time (the latter would
   result in poorer performance). My guess is that this field wasn’t updated correctly
   when you did the import. So, as I see it, you have 2 options:
 * 1. Remove all references to comment_number() in the theme so that the “problem”
   isn’t so obvious.
    2. Manually fix the faulty comment totals in the database 
   on a post-by-post basis.
 * Option 2 wouldn’t be difficult if you used PhpMyAdmin (although I always recommend
   doing a backup before you edit anything in the database) – but it would be slow
   and pretty tedious.
 * Sorry I can’t offer you anything more positive.
 *  Thread Starter [thelifeoflisa](https://wordpress.org/support/users/thelifeoflisa/)
 * (@thelifeoflisa)
 * [16 years, 11 months ago](https://wordpress.org/support/topic/comments-are-missing/#post-1144585)
 * Thank you so much for all of your help. I have no idea how to fix it the correct
   way, but I did find that if I go in and edit a comment (I just pressed the backspace
   bar at the end of each comment and re-saved it) and after I edited them, it the
   post corrected the comment count. ODD.
    But thank you so much!
 *  [Masselyn](https://wordpress.org/support/users/masselyn/)
 * (@masselyn)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/comments-are-missing/#post-1144648)
 * Just wondering whether anyone has found another solution for this. I have a client
   with 1540 comments, that are in the system after a Blogger import – but they 
   are not showing in the blog under the posts. Switching themes and deactivating
   all plugins does not seem to solve the problem.
 * Gosh I hope we don’t have to go into all comments, edit them and save in order
   to view how many comments under each post. Yikes, that would be a large undertaking.
 * 🙂

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

The topic ‘Comments are missing’ is closed to new replies.

## Tags

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

 * 10 replies
 * 3 participants
 * Last reply from: [Masselyn](https://wordpress.org/support/users/masselyn/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/comments-are-missing/#post-1144648)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
