Choose Which Post Types Appear in Search
Sets exactly which content types the site search returns, for example posts, pages and your portfolio, instead of every public type.
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.
Sets exactly which content types the site search returns, for example posts, pages and your portfolio, instead of every public type.
Shows a small label such as "Page", "Post" or "Product" in front of each search result title, so visitors can tell results apart at a glance.
Hides chosen posts or pages (thank-you pages, landing pages, legal pages) from front-end search results.
Keeps posts from the categories you choose, such as internal updates or sponsored posts, out of the site search results.
When a search returns exactly one result, opens that result directly instead of showing a results page.
Leaves password-protected posts and pages out of search results so their titles are not exposed to visitors.
Wraps the searched words in mark tags in result titles and excerpts, so visitors see why each result matched.
Lets the site search find PDF, Word, Excel and PowerPoint files from the Media Library by their title, caption and description, alongside posts and pages.
Restricts front-end search results to blog posts, leaving out pages and other post types.
Shows 20 results per page on search results without changing the blog page.
Leaves blog posts older than three years out of search results, while pages and other content types stay searchable, which suits news sites and fast-moving topics.
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.
Lists matching pages first in search results, then blog posts, then other content, so key pages like pricing or contact are not buried under older posts.
Replaces the usual opening-lines excerpt in search results with the passage of the post that actually contains the search words.
Prints a line such as 12 results for "pricing" above the search results, so visitors know how much was found.
Lists search results by publish date, newest first, instead of WordPress's relevance order, which suits news sites and blogs where freshness matters most.