<mt:ParentCategory>
A container tag that creates a context to the current category’s parent, if category is assigned a parent category.
Example ΒΆ
List all the categories and link to parent category if category in context has a parent category:
<ul>
<mt:Categories>
<li>
<a href="<mt:ArchiveLink>"><mt:CategoryLabel></a>
<mt:ParentCategory>
(Parent Category: <a href="<mt:ArchiveLink>"><mt:CategoryLabel></a>)
</mt:ParentCategory>
</li>
</mt:Categories>
</ul>
block, category, template tag

Gercek Karakus
November 13, 2009 6:26 PM | Reply
To display contextual ads for entries depending on the categories, you can use the code snippet below in the entry archive template. Do not forget to create a category custom field "Contextual Ad" .