Search Results page

Available properties

You can use the following properties in the search results template.

Name Type Description
query string The searched query
results_count integer The number of results of the search
results array An array of search result objects containing all the article and post results from the knowledge base and community
promoted_articles array An array of promoted article objects
ticket_forms array An array of ticket form objects
help_center object A help_center object that holds information and settings about the current help center
settings object A settings object with custom settings for the current theme

Available helpers

You can use the following helpers in this page template. You can also use any built-in helpers, global helpers, or global advanced helpers.

Name Description
breadcrumbs Breadcrumbs for the search page. See breadcrumbs helper
pagination Pagination links. See pagination helper
help_center_filters Help Center filters for search results. See help_center_filters helper
filters Search result type filters for search results (article or post). See filters helper
subfilters Category or topic filters for search results. See subfilters helper


<nav class="sub-nav sub-nav-far clearfix">

<div class="search-results clearfix">
  <h1>{{results_count}} results found for "{{query}}"</h1>

  {{#each results}}
      <a href="{{url}}">{{title}}</a>
      <p class="search-result-description">{{text}}</p>