Prev title

On this page:

Syntax

<txp:prev_title />

The prev_title tag is a single tag which Textpattern will replace with the title of the previous article in the sort order.

The container tag link_to_prev wraps the text or tag and assigns the link.

Attributes

This tag has no attributes.

Examples

Example 1: Display a link to the previous article when displaying individual articles

<txp:link_to_prev>
    <txp:prev_title />
</txp:link_to_prev>

Other tags used: link_to_prev.

See something wrong in this document? Outdated info, a broken link, faulty code example, or whatever? Please write an issue and we’ll fix it.