"Did You Mean" Suggestions for Empty Searches
When a search finds nothing, suggests a corrected spelling based on the words in your post titles, such as "Did you mean chocolate brownies?", with a link to search again.
Snippet Library
Snippets that improve WordPress search: search custom fields and post types, exclude pages, redirect single results and highlight matching words. For content-heavy sites where visitors need to find things quickly.
When a search finds nothing, suggests a corrected spelling based on the words in your post titles, such as "Did you mean chocolate brownies?", with a link to search again.
Answers search requests that contain links, markup, very long strings or words you block with a 404, stopping bots from filling search pages with spam.
When a search returns exactly one result, opens that result directly instead of showing a results page.
Adds the search form as the last item of a classic theme's main navigation menu.
Adds a [search_form] shortcode that places a search box anywhere and can limit results to certain post types, such as a docs-only or products-only search.
Restricts the site search to titles, so results contain only posts whose title matches, which is useful for glossaries, directories and recipe sites.
Makes multi-word searches match the exact phrase instead of any page that contains all the words somewhere, giving tighter results on large sites.
Opens a chosen page directly when someone searches for an exact word or phrase, for example "contact" goes to your contact page and "returns" to your returns policy.
Replaces the usual opening-lines excerpt in search results with the passage of the post that actually contains the search words.