Predictive search

This block of settings is intended for general Predictive search settings on the site.
In order to get to the Predictive search settings block, you need to go to Customizer
→ Theme Settings
→ Predictive search
.

Settings

Enable search by articles
- setting allows to include articles in the search;Enable search by pages
- setting allows to include pages in the search;No results text
- setting allows to set no result text.Button label
- settings for input placeholder, if it is empty then text from theme translations will be displayed.
Most searched

Heading
- setting allows to set heading when search input is empty;Links
- setting allows to set menu when search input is empty;
Additional information
If the
Enable search by articles
orEnable search by pages
setting is enabled, then tabs appear in the search sidebar. If no results are found in any of the categories, then this tab will be disabled.

If the search does not return any results, then the search button becomes disabled and a corresponding message is displayed.
For Developers
The
predictive-search.liquid
snippet is included in the code, in thetheme.liquid
file.