<mt:Archives>

A container tag representing a list of all the enabled archive types in a blog. This tag exists to facilitate the publication of a Google sitemap or something of a similar nature.

Attributes:

  • type or archive_type (optional)

    Specify a comma-delimited list of archive types to loop over. If you only wish to publish a list of Individual and Category archives, you can specify:

        <mt:ArchiveList type="Individual,Category">

Example:

    <mt:Archives>
        <mt:ArchiveList><mt:ArchiveLink>
        </mt:ArchiveList>
    </mt:Archives>

This will publish a link for each archive type you publish (the primary archive links, at least).

This page was last updated on 1969-12-31, 16:00.

Leave a note

Have a question? Please use the MT Forums. Notes submitted on documentation should pertain to tips & hints regarding documentation. Your note may be removed once its contents have been integrated into the body of the page.