<mt:IfArchiveTypeEnabled>

A conditional tag used to test whether a specific archive type is published or not.

Attributes:

  • type or archive_type

    Specifies the name of the archive type you wish to check to see if it is enabled.

    A list of possible values values for type can be found on the EntryLink tag.

Example:

    <mt:IfArchiveTypeEnabled type="Category-Monthly">
        <!-- do something -->
    <mt:Else>
        <!-- do something else -->
    </mt:IfArchiveTypeEnabled>
This page was last updated on 2009-03-19, 13:33. [Edit]

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.