Movable Type Enterprise Documentation

« MTTags | Up | MTTagID »

Chapter Entry Tags

MTTagName

A variable tag that outputs the name of the entry tag currently in context. The tag context is created by either an MTEntryTags or an MTTags block.

Optional attributes

  • quote - Adds double quotes around the any tag name which contains spaces
  • normalize - Returns the normalized version of the tag name stored in the system. The tag "Movable Type" would yield a normalized version of "movabletype".

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

Example code

The following prints out a list of tags used on a blog.

<p>
    The following tags are used on this blog: 
       <MTTags glue=", "><$MTTagName$></MTTags>
</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.