<txp:search_term /> single tag, 1 attributes

search_term

The search_term tag is a single tag which returns the expression the user searched for through the full text search form.

attributes

escape="html" 
  • When set to html, HTML entities are used for <, >, and & in the output text.

genealogy

Version 4.0.6

  • Tag support added
<txp:search_term /> 1 examples

Display the search term on the search results page

<txp:if_search>
<h3>Search results</h3>
<p>You searched for <strong><txp:search_term /></strong>.</p>
<txp:article />
</txp:if_search>