WordPress.org

Forums

[resolved] Imported Comments Not Counted (3 posts)

  1. urno
    Member
    Posted 4 years ago #

    Hi,

    I've imported posts from a custom blog, into wordpress, and have imported some comments from the custom blog into wp_comments.

    However, these imported comments don't show up under the "X Comments" of the post they are related to.

    I assumed that the relevant fields were _post_id,_author,_date,_content and _approved. Even though the data appears ok in the table, the numbers don't appear on the blog post...

    What am i missing?

    Thanks!

  2. urno
    Member
    Posted 4 years ago #

    Found it!

    There is a field in "wp_posts" called "comment_count", which needed updating too....

    :)

  3. mambo78
    Member
    Posted 4 years ago #

    how do we update it???

Topic Closed

This topic has been closed to new replies.

About this Topic