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
- Bar
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>