Movable Type Documentation

« MTHasSubCategories | Up | MTIfIsDescendant »

Chapter Subcategory

MTIfIsAncestor

A conditional tag that displays its contents if the current category is an ancestor of a specified child category in the subcategory hierarchy.

Attributes:

  • child - Required. The category label of the child to match against.

Related:

Submit Feedback on This Article

Your comments on how we can improve this article are appreciated; but please do not use the feedback form to submit support requests or question. We will not respond to or publish such queries submitted through this form. If you have a technical question or problem, visit Movable Type Support.

Six Apart
Makers of weblog software and services for individuals, organizations and businesses.
This website is powered by Movable Type.