EntryPrevious
A container tag providing a context for the entry immediately preceding the current entry (in terms of authored date).
Modifiers
by_author
(optional): can be set to true (1
) to go to the previous Entry by the current author.by_category
(optional): can be set to true (1
) to go to the previous Entry in the current category.
Bug: In Movable Type 4.x there is a bug where if entries have the exact same date-time then the
mt:EntryPrevious
andmt:EntryNext
container tags may skip an entry. This has been fixed in Movable Type 5.
Example
<mt:Entries>
<mt:EntryTitle>
<mt:EntryPrevious>
The previous entry is:
<a href="<mt:EntryPermalink>"><mt:EntryTitle></a>
</mt:EntryPrevious>
</mt:Entries>