Notifications
Clear all

How to show the number of comments includes private comments

4 Posts
2 Users
0 Reactions
2,029 Views
Posts: 3
Customer
Topic starter
(@kkb8820)
Member
Joined: 5 years 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: 1403
(@elvina)
Support
Joined: 5 years 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
Customer
(@kkb8820)
Joined: 5 years 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
(@elvina)
Joined: 5 years ago

Support
Posts: 1403

@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:
Scroll to top