Category: Search tags

Textpattern documentation within the category ‘Search tags’:

  1. If search

    The if_search tag will execute the contained statements if the called page is the result of a search.

    Go to the full documentation…

  2. If search results

    The if_search_results tag will execute the contained statements if the current article list contains a certain amount of entries matching a search.

    Go to the full documentation…

  3. Search input

    This tag will provide a text entry field for search parameters and an optional button to initiate the search.

    Go to the full documentation…

  4. Search result count

    The search_result_count tag is a single tag that returns the number of articles returned by an article tag.

    Go to the full documentation…

  5. Search result date

    This tag will provide the article posted date as returned by the search function.

    Go to the full documentation…

  6. Search result excerpt

    The search_result_excerpt tag will show the occurrence of the search term with some surrounding context.

    Go to the full documentation…

  7. Search result title

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

    Go to the full documentation…

  8. Search result url

    The search_result_url tag will provide a hyperlinked URL to an article as returned by the search function.

    Go to the full documentation…

  9. Search term

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

    Go to the full documentation…

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.