Go to main content

Search result title

Contents

Syntax

<txp:search_result_title />

The search_result_title tag is a single tag that will provide a hyperlinked title to an article as returned by the search function.

Attributes

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

Examples

Example 1: Display a hyperlinked title to an article

<txp:search_result_title wraptag="h3" />
<txp:posted wraptag="p" class="date" />

In a search results form, this shows the title of an article that matched the visitor’s search results, and its posted date.

Other tags used: posted.

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. :)