WordPress.org

Support

Support » Themes and Templates » comment id’s PER post

comment id’s PER post

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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?

      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.

    Viewing 2 replies - 1 through 2 (of 2 total)
    • The topic ‘comment id’s PER post’ is closed to new replies.
    Skip to toolbar