Go to main content

Prev title

Contents

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.

Attributes

This tag has no attributes of its own. It accepts only the global attributes .

Examples

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

<a href="<txp:link_to_prev />">
    <txp:prev_title />
</a>

Other tags used: link_to_prev.

If you notice any kind of problem with this page's construction or content (outdated information, typos, broken links, or whatever), open an issue to have it sorted. Or have a go at it yourself. :)