-
Hello, thanks for the awesome software! :) Is it possible to get the comments counting for blog post? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Could you elaborate on your use case? The comments count is already shown by giscus at the top of the widget. |
Beta Was this translation helpful? Give feedback.
-
Hey @iacchus, this is now possible by retrieving You need to enable the "Emit discussion metadata" feature in the configuration: or add |
Beta Was this translation helpful? Give feedback.
Hey @iacchus, this is now possible by retrieving
IMetadataMessage
in amessage
event listener and accessinggiscusData.discussion.totalCommentCount
. You can follow this guide for more details.You need to enable the "Emit discussion metadata" feature in the configuration:
or add
data-emit-metadata="1"
to your existing<script>
tag.