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 ArchiveType tag.

Example:

    <mt:IfArchiveTypeEnabled type="Category-Monthly">
        <!-- do something -->
    <mt:Else>
        <!-- do something else -->
    </mt:IfArchiveTypeEnabled>
This page was last updated on 2008-02-05, 15:16.  

Leave a note