Not a developer? Go to MovableType.com

Documentation

CategoryCommentCount

Returns the number of comments associated to entries within the category in context.

Attributes

top

if specified, gets a count of comments that do not contain a reply.

Example

List of categories with the comment counts:

<ul>
<mt:Categories>
    <mt:If tag="CategoryCommentCount">
    <li>
        <a href="<$mt:ArchiveLink type="Category"$>"><$mt:CategoryLabel$></a> (Comments: <$mt:CategoryCommentCount$>)
    </li>
    </mt:If>
</mt:Categories>
</ul>
Back

Leave a Comment