<mt:IfIsDescendant>

Conditional tag that is true when the category in context is a child category of the specified 'parent' attribute.

Attributes:

  • parent (required)

    The label of a category in the current blog.

Example:

    <mt:IfIsDescendant parent="Featured">
        (category in context is a child category
        to the 'Featured' category.)
    </mt:IfIsDescendant>
This page was last updated on 2007-08-14, 21:19. [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.