How to get comments count in post?

Hey there @Vladislav_Musílek,

The WP Discourse plugin hooks into the filter for the standard Wordpress function get_comments_number. So you can show the number of Discourse comments on a post by echoing that in your template:

echo get_comments_number();`

For more on WP Discourse comments check out

3 Likes