EntryNext
A container tag providing a context for the entry immediately following the current entry (in terms of authored date).
Modifiers
by_author
(optional): can be set to true (1
) to go to the next Entry by the current author.by_category
(optional): can be set to true (1
) to go to the next 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:EntryNext>
The next entry is:
<a href="<mt:EntryPermalink>"><mt:EntryTitle></a>
</mt:EntryNext>
</mt:Entries>
Andy on June 9, 2010, 12:43 p.m. Reply
Is there a way this tag could be modified to allowed EntryNext or EntryPrevious within a specific Category?
Gautam Patel on November 17, 2010, 10:15 p.m. Reply
See [this][1] for an answer to Andy’s question
[1]: http://forums.movabletype.org/2010/05/next-entry-within-category.html