The Movable Type User Manual

NOTE: This documentation is for Movable Type 3.2. If you are using a newer version, please see the documentation for Movable type 3.3x or Movable Type Enterprise.

« MTParentCategories | Up | MTSubCategoryPath »

Chapter Subcategory

MTSubCategories

A specialized version of MTCategories that respects the hierarchical structure of categories.

Attributes:

  • include_current - An optional boolean attribute that controls the inclusion of the current category in the list.
  • sort_method - An optional and advanced usage attribute. A fully qualified Perl method name to be used to sort the categories.
  • sort_order - Specifies the sort order of the category labels. Recognized values are "ascend" and "descend." The default is "ascend." This attribute is ignored if sort_method has been set.
  • top - If set to 1, displays only top level categories. Same as using MTTopLevelCategories.

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.