Start here
Editing and styles
Media and content
Tutorials
Site and publishing
Layout and navigation
Forms and services
Add a Site Search element so visitors can search the text of your website. Sitely creates a Search Results page the first time you add the element.
Site Search runs on a PHP-enabled host. Publish or export the site to a PHP server to test real queries and results.
Double-click the Site Search element to select the input field or button. Style each part separately, or move the button before the input as in the example below.
Use double quotes to search for a phrase in the order you typed it. For example, "image gallery" searches for the two words together. Words of two characters or fewer are ignored unless they are in quotes or start with +. Pages with Exclude From Site Search turned on in the Page inspector are left out of the results.
Prefix a term with + to require an exact text match for that term. For example, +gallery skips spelling approximations for gallery.
Prefix a term or quoted phrase with - to exclude pages whose searchable text contains it. For example, "image gallery" -thumbnail looks for the phrase and filters out pages that mention thumbnail.
Open Search Results in the page list. The sample results in the editor let you style the page. The Site Search Query smart field on the page displays what the visitor entered.
Style the first result title and excerpt to set the appearance for the rest of the results. Select the results background to set Results Per Page (5 to 100), Result Text Length and Message for No Search Result. Results Precision chooses Exact text or Similar text matching, and Highlight query terms marks the searched words in Bold or with a Background Color.
Select the pagination control to style the buttons, including the current page and their Mouse Hover and Mouse Clicked colors. The number of buttons adapts to the number of results.
If you publish in several languages, use Sitely’s localization settings to translate the Search Results page. Preview the layout and run a search on the PHP host for each language.
Select the input field or the Search button within Site Search. Use a compatible Text Input or Button preset in Style, or save the selected control’s appearance with Save Preset. The Search button keeps its search action. You can also reuse a Button preset on a results pagination button.
Please report any shortcoming in this documentation and we’ll fix it as soon as possible!
Updated for Sitely 8
Powerful and refreshingly simple, at home on Mac, finding new freedom on iPad.
Always on. Keeps the site working.
Enables optional features.
Remembers your settings.
Counts visits and page views.
Tailors ads to your browsing.
We and our partners use optional cookies for extra features, saved preferences, visit counts and personalised ads. To change your choices later, use Cookie settings in the footer.
Closing keeps optional cookies off. Privacy policy