Search settings

What a search form searches, how results are matched and ranked, what each result shows, and the settings shared by every form.

Each search form has five tabs: Layout, What to search, Results, Appearance and Display. Layout and Display are covered in Add a search form. This page covers the rest, and the Settings section shared by every form.

The tab is grouped into panels. Click a panel's title to open it.

The What to search tab of a search form
The What to search tab of a search form

Content#

  • Search these post types: posts, pages, products and any custom post type.
  • Search in: the title, the excerpt and the content.
  • Order: the best match first, or the newest first.
  • Never show these posts: single posts that stay out of the results.

More sources#

  • Also list matching terms of: categories, tags or product categories whose name matches are listed with a link to their archive.
  • Custom fields Pro: search in custom fields, for example ACF fields.
  • Search category and tag names Pro: a post is found by the names of its categories and tags.
  • Search authors and users Pro

WooCommerce#

These fields appear when WooCommerce is active.

  • Search product SKUs, Hide out-of-stock products, Show prices, Show Sale and Out of stock badges.
  • Pro Search product attributes, Search variations and variation SKUs, Search brands, Search GTIN, UPC, EAN, ISBN.

Matching Pro#

  • A result must contain: Every word or Any of the words.
  • Exact phrase only
  • Typo tolerance: "lapm" finds "lamp", and the panel offers "Did you mean".
  • Match word endings: "shoes" finds "shoe".
Matching settings in Wing Suite Pro
Matching settings in Wing Suite Pro

Ranking Pro#

  • Field weights: how much a match counts in the Title, SKU and codes, Excerpt, Content, and custom fields, term names, attributes and brands.
  • Boost rules: extra Points for chosen content, for example products of one category.

Exclusions and Quick filters Pro#

  • Never show content in these terms: categories, tags or other terms whose content stays out.
  • Filter tabs: tabs beside the search box, each a Label with post types or a taxonomy term, plus the "All" tab label.

Results#

The Results tab
The Results tab
Setting What it does
Results layout A list. Grid and compact layouts come with Pro.
Each result shows Featured image, excerpt, date, content type and more.
Group results by type Posts, pages and products each get their own group.
Highlight the matching words Marks the typed words in the results.
Title length and Excerpt length Trim long texts.
Nothing found text What the panel says when there is no result.
"Add to cart" in the results Pro A button beside each product.

Appearance#

Inherit the theme's colours makes the form follow your theme. Or set Colours, Corner radius and Panel width yourself. Custom CSS styles this one form; write {{FORM}} for the form's own selector.

Settings shared by every form#

Open the Settings section of Wing Suite → AJAX Search.

The Settings section
The Settings section
Setting What it does
Replace the theme's search form with Puts one of your forms wherever the theme prints its search form.
Attach to an existing search input Gives a search field of your theme or page builder the live results panel.
Send a "search" event to Google Analytics Passes searches to the Analytics tag already on your site.
Count searched terms Shows popular searches and searches with nothing found on this screen.
Cache results for How long an answer is kept. It is refreshed when your content changes.
Searches per visitor per minute A fair-use limit per visitor.
Wing Popup Pro

Use the search index keeps results fast on large sites; build it with the button in the index box. Synonyms and Stop words shape matching, and Search analytics records what visitors look for, what they click and what they cannot find, with CSV export under Wing Suite → Search Analytics.

The search index in Wing Suite Pro
The search index in Wing Suite Pro
Search analytics in Wing Suite Pro
Search analytics in Wing Suite Pro

Tools#

The Tools section exports your search forms and imports them on another site.

Did this not answer your question?

Send us what you are trying to do and we will help, and improve this page.

Contact support