Textpattern CMS Template Tags

<txp:comments_count /> single tag, 0 attributes

comments_count

The comments_count tag is a single tag which is used to display the number of comments associated with a particular article.

Though comments_count can be used independently, it is also called by comments_invite to append the comments count to the comments_invite. Used in an article form.

<txp:comments_count /> 1 examples

Display comment invitation and count

But only if any comments are associated with the current article.

<txp:if_comments>
	<p><txp:comments_invite showcount="0" /> <txp:comments_count /> people have already responded.</p>
</txp:if_comments>

Other tags used: comments_invite, if_comments