Comments count

On this page:


<txp: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 link.

Used in an article form.


This tag has no attributes.


Example 1: Display comment invitation and count

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

        <txp:comments_invite showcount="0" /> |
        <txp:comments_count /> respones received.

Other tags used: comments_invite, if_comments.

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please open an issue and we’ll investigate.