<$mt:SubCategoryPath$>

The path to the category relative to mt:BlogURL. In other words, this tag returns a string that is a concatenation of the basenames of the current category and its ancestors seprated with slashes.

Examples ΒΆ

For the following category hierarchy:

  • Foo
    • Bar
      • Baz

And the following mtml:

<mt:Categories>
    The sub-category path for <$mt:CategoryLabel$> is: <$mt:SubCategoryPath$>
</mt:Categories>

The output for the category “Baz” would be:

The sub-category path for Baz is: foo/bar/baz

This tag is provided for convenience and is the equivalent of this combination of mt:ParentCategories and mt:CategoryBasename:

<mt:ParentCategories glue="/"><$mt:CategoryBasename$></mt:ParentCategories>
This page was last updated on 2009-06-23, 20:01. [Edit]

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.