-
Notifications
You must be signed in to change notification settings - Fork 12
Templating
Matthew Boynes edited this page Apr 16, 2020
·
3 revisions
SearchPress seamlessly replaces WordPress search under-the-hood and requires no special templating. WordPress' template hierarchy still applies as usual, and search.php
will be used if available.
One point of note is that, when using SearchPress, your site search might not always be driven by "keyword searches" as is the case in WordPress otherwise. In other words, you might have a search page which users navigate to without entering a search string, and then browse via facets. For these instances, you can set the URL param sp[force]=1
to force the search template to render.