WordPress.org

Ready to get started?Download WordPress

Forums

Incorrect comment numbering (4 posts)

  1. NeoconNews
    Member
    Posted 7 years ago #

    I used the search and also google before posting this question, so I hope it isn't some obvious glitch that I'm overlooking.

    It appears that wordpress is counting all the comments I receive as a single tally, so that when someone adds a comment to an individual post on my blog, the numbering is increased for the blog in total as opposed to that single post.

    For example: the first comment on an old post may be #14. If I then create an entirely different new entry and someone comments, then that first comment in this new entry will be registered as comment #15.

    What I need help on is fixing it so that each post keeps its own tally of comments without affecting the rest of the blog. I hope this is clear enough and it hasn't been already asked a million times.

    Also, if I delete a comment, the numbering does not reset. The next posted comment will skip the deleted number leaving an odd gap.

    Thanks in advance!

  2. NeoconNews
    Member
    Posted 7 years ago #

    Ah, I've fiddled with the themes a bit and come to the conclusion it's a problem with my current theme. I'm using Blue Horizon, does anyone know if this is a known issue with this theme?

  3. NeoconNews
    Member
    Posted 7 years ago #

    Here is the text of my Blue Horizon comments.php, if that helps. I'm attempting to learn more about php in general so I don't have to keep asking these (most likely) simple questions. I think it has something to do with the theme counting the comment_ID() tag improperly or sitewide as opposed to for the post.

    Here's the link: http://www.neoconnews.com/comments.txt

  4. NeoconNews
    Member
    Posted 7 years ago #

    Bump?

Topic Closed

This topic has been closed to new replies.

About this Topic