comment id's PER post (3 posts)

  1. joeytrimmer
    Posted 11 years ago #

    I can't quite seem to find what I'm looking for when I search, maybe somebody can point me in the right direction.
    When I keep the tag <?php comment_ID(); ?> on my wp_comments.php I get TOTAL # of comments. So by my 8th post the comments START at 50. I want the comments PER POST to start at 1, 2, 3, etc.
    Thanks!!! I know i'm missing something simple here.

  2. Beel
    Posted 11 years ago #

    Obviously the function outputs the ID of the comment which will be unique. Why not just use an ordered

      list and each li will be numbered, starting with 1?

  3. joeytrimmer
    Posted 11 years ago #

    I suppose because I didn't think of it. I didn't like the output when I had it in a list so I took it out. But I'll just tweak the style a bit.
    Thanks for pointing out the obvious Beel! phew.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.