Not a developer? Go to MovableType.com

Documentation

PagePrevious

A container tag providing a context for the entry immediately preceding the current page.

Modifiers

  • by_author (optional): can be set to true (1) to go to the previous Entry by the current author.
  • by_folder (optional): can be set to true (1) to go to the previous Page in the current folder.

Bug: In Movable Type 4.x there is a bug where if pages have the exact same date-time then the mt:PagePrevious and mt:PageNext container tags may skip a page. This has been fixed in Movable Type 5.

Example

<mt:Pages>
    <mt:PageTitle>
    <mt:PagePrevious>
        The previous page is:
        <a href="<mt:PagePermalink>"><mt:PageTitle></a>
    </mt:PagePrevious>
</mt:Pages>
Back

Leave a Comment