<mt:EntryPrevious>

A block tag providing a context for the entry immediately preceding the current entry in context (in terms of authored date).

Bug: In Movable Type 4.x there is a bug where if entries/pages have the exact same date-time then the mt:EntryPrevious and mt:EntryNext container tags may skip an entry/page. 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>
This page was last updated on 2009-11-10, 16:51.

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.