同じカテゴリーで前に投稿された記事と後に投稿された記事へのリンクを表示する。
<p>
<MTSetVarBlock name=”thisid”><$MTEntryID$></MTSetVarBlock>
<MTSetVarBlock name=”ecat”><$MTCategoryLabel$></MTSetVarBlock>
<mt:Entries category=”$ecat”>
<MTSetVarBlock name=”eid”><$MTEntryID$></MTSetVarBlock>
<MTIf name=”eid” eq=”$thisid”>
<MTSetVarBlock name=”prev”><$MTVar name=”__counter__”$></MTSetVarBlock>
<MTSetVarBlock name=”next”><$MTVar name=”__counter__” value=”2″ op=”-“$></MTSetVarBlock>
</MTIf>
</mt:Entries>
<mt:Entries category=”$ecat” lastn=”1″ offset=”$prev”>
<a href=”<$MTEntryPermalink$>”><$MTEntryTitle$></a>
</mt:Entries>
</MTEntries>
« 現在の記事 »
<MTIf name=”next” ge=”0″>
<mt:Entries category=”$ecat” lastn=”1″ offset=”$next”>
<a href=”<$MTEntryPermalink$>”><$MTEntryTitle$></a>
</mt:Entries>
</MTIf>
</p>