Closed arky closed 1 year ago
The "searchform" param is obsolete and does not do anything in resent versions of the Zen theme. (I found it, and removed it, from a exampleSite page.)
The theme just looks for pages that has the "search" shortcode and loads the needed js there.
The search is pure javascript with a json index. You can not redirect a search from a form on another page. The search is always inline.
Here is the relevant code for search:
Do not miss the "template" part above, that is needed to build the search results.
Thank you @frjo
I have enabled searchform: true in the site config. And added following lines into the layouts/partial/sidebar.html partial in my site. However when you search for a phrase, it doesn't show any results in the search page.