<mt:TopLevelCategories>

A block tag listing the categories which exist at “the top” of the category hierarchy; categories which do not have a parent category.

<mt:TopLevelCategories>
    <mt:CategoryLabel>
</mt:TopLevelCategories>

Same as using <mt:SubCategories top="1">.

See mt:SubCategories for details.

This page was last updated on 2009-06-16, 18:09. [Edit]

2 Notes

I would love to see a function for this tag where we can include/exclude specific categories. Will this be included in the next version of MT?

You could still include or exclude categories using mt:If and comparing the CategoryLabel tag with one or more category labels...

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.