Movable Type Enterprise Documentation

« MTTagID | Up | MTTagRank »

Chapter Entry Tags

MTTagCount

A variable tag that provides a count of entries on the current blog that have the entry tag in context assigned to them. The tag context is created by either an MTEntryTags or an MTTags block.

Like all variable tags, you can apply any of the supported global filters to MTTagName to do further transformations.

Example code

Within an MTEntries block right before the entry byline, you might put:

<p>
    This entry has been tagged (w/ entry counts noted):
    <MTEntryTags glue=", "><$MTTagName$> (<$MTTagCount$>)</MTEntryTags>
</p>

See Chapter 8 in the Users and Administrators Guide entitled "Customizing Your Published Weblogs" for more examples related to entry tags, including the creation of "tag clouds".

You can download the Users and Administrators Guide here.

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or question. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Enterprise Support.

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.