WordPress.org

Support

Support » Themes and Templates » Count comments and replies to comments

Count comments and replies to comments

  • On my comments template, I’d like it to show the comments_number but also the number of replies those comments have received. I’m not finding a template tag or function to retrieve the reply count – anyone know how this can be done?

    (ie. “This post has received 10 comments and 5 replies”)

Viewing 1 replies (of 1 total)
  • I am still trying to find a function, plugin, query – something that will separate the parent comment count from the reply count.

    Does anyone know how to achieve this?

    10 comments total are broken into 3 parent comments and 7 replies. How can I display this at the top of the comment form?

    Please & thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘Count comments and replies to comments’ is closed to new replies.
Skip to toolbar