GenerateBlocks 2.0 is here - Read the release post

Learn GenerateBlocks

Comments Count

{{comments_count}}

Description

Output the number of comments of the source post

Settings

Parameters

Source

Choose the Source Post:

  • Current Post
  • Specific Post
  • Next Post
  • Previous Post

Link to

Add a Link to the Dynamic Tag.
Choose from:

  • None
  • Post
  • Comments Area
  • Post Meta
  • Author Meta
  • Author Archive
  • Author Email

No Comments Text

Set the text to display if the source post has no comments

One Comment Text

Set the text to display if the source post has only one comment

Multiple Comments Text

Set the text to display if the source post has multiple comments

Dynamic Tag examples

{{comments_count multiple:%s comments to read}}
Comment count with custom text for multiple comments