How to show the number of comments includes private comments  


Kyubeom Kim
Posts: 3
Customer
(@kkb8820)
Member
Joined: 5 months ago

Hi All

How can I show the number of comments including private comments, too?

I would like to show the number of comments include private comments (All I want to hide is the content only)

Thank you.

3 Replies
Elvina
Posts: 437
Moderator
(@elvina)
Reputable Member
Joined: 5 months ago
Posted by: @kkb8820

How can I show the number of comments including private comments, too?

You can see the comments count, include the private comment before the “Leave Reply” header text.

More info here:
https://wpdiscuz.com/docs/wpdiscuz-documentation/settings/comment-form/#hide_header_text

Also, please note wpDiscuz  uses the native (core) WordPress get_comments_number() function.

Reply
2 Replies
Kyubeom Kim
Customer
(@kkb8820)
Joined: 5 months ago

Member
Posts: 3

Thank you for the help, Elvina. 

But it reflects the number of public comments only, not private comments. 
Do you know why it is??

Reply
Elvina
Moderator
(@elvina)
Joined: 5 months ago

Reputable Member
Posts: 437

@kkb8820,

Also, please note the private comments count can visible only for the high-level users. Probably you're checking it as a guest, that's the reason that you can't see the private comments. 

Please leave some example URL to allow us to check how it works. 

Reply
Share: