<mt:CategoryPrevious>

A container tag which creates a category context of the previous category relative to the current entry category or archived category.

<mt:CategoryPrevious>
    <a href="<$mt:ArchiveLink archive_type="Category"$>"><$mt:CategoryLabel$></a>
</mt:CategoryPrevious>

If the current category has sub-categories, then CategoryPrevious will generate a link to the previous sibling category.

See mt:CategoryNext for more documentation on this tag.

Attributes

show_empty

Specifies whether categories with no entries assigned should be counted.

Example

See mt:CategoryNext for more examples of mt:CategoryPrevious usage.

This page was last updated on 2009-06-23, 15:07. [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.