Custom text at top of search results page

Is it possible to add some text to the top of the search results?

Thanks.

1 Like

Sure, there’s a plugin-outlet right above the search results on that page that you use to add text.

add this to the common > header tab in your theme

<script type="text/x-handlebars" data-template-name="/connectors/full-page-search-below-search-info/add-text-above-results">
  Your text or markup goes here...
</script>
3 Likes

That worked perfectly, thanks.

Also the fact that I could do it in a minute on a phone shows how mobile-friendly Discourse is.

Is there a way to find out about these things without asking? Or would that require understanding the code in detail?

2 Likes

I think this is the answer to my supplementary question!

2 Likes

or perhaps this component can help:
Plugin outlet locations theme component

3 Likes