Welcome to MTTags.com. Hopefully, you'll discover that this a really easy place to find information about Movable Type Template Tags. If you think we could be doing something better, please let us know! If this is your first time here, be sure to stop by the information desk, because we've got a growing todo list that might already include what you were about to suggest.

<MTCalendar>

A container tag representing a calendar month that lists a single calendar "cell" in the calendar display.

Attributes:

  • month - An optional attribute that specifies the calendar month and year the tagset is to generate. The value must be in YYYYMM format.

    The month attribute also recognizes two special values. Given a value of "last," the calendar will be generated for the previous month from the current date. Using a value of "this" will generate a calendar for the current month.

    The default behavior is to generate a monthly calendar based on the archive in context. When used in the context of an archive type other then "Category," the calendar will be generated for the month in which the archive falls.

  • category - An optional attribute that specifies the name of a category from which to return entries.

You can also combine the two attributes. For example:

<MTCalendar month="200201" category="Foo">
 ...
</MTCalendar>

will display all entries from January, 2002 in the category Foo.