<mt:IfIsAncestor>

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

Attributes:

  • child (required)

    The label of a category in the current blog.

Example:

    <mt:IfIsAncestor child="Featured">
        (category in context is a parent category
        to a subcategory named "Featured".)
    </mt:IfIsDescendant>
This page was last updated on 2007-08-14, 21:15.  

Leave a note

Have a question, please use the MT Forums. Notes sumbitted here should pertain to tips & hints regarding documentation. Your note may be removed once it's contents has be integrated into the body of the page.