WP Serverless Search
A static search plugin for WordPress. Search through thousands of posts in milliseconds, with support for fuzzy matching and support for custom themes.
- Download WP Serverless Search WordPress Plugin as a Zip Archive
- Upload to your WordPress site or blog
Customizing to your Theme
The default settings for this WordPress Plugin are designed to work with the official Twenty Seventeen WordPress Theme. However, you can customize these optiosn for custom Themes for site search forms.
- Navigate to the WP Serverless Search WordPress Plugin Settings
- Update Form Class to best match your theme search form.
- Update Input Class to best match the input of the search form.
Finding Your Form and Input Class
The best way to do this is using your browser developer tools such as Inspect Element in Chrome, Developer Tools in Safari, etc.
For example, here is the site search form HTML from the twenty seventeen WordPress Theme.
In this example, our target Form Class could be
form.search-form, or simply
.search-form. You decide how specific you want to get, based on your Theme and needs.
For the Input Class, that could be any of the following:
Those values may change depending on your theme.
<form role="search" method="get" class="search-form" action="https://example.com/"> <label for="search-form"> <span class="screen-reader-text">Search for:</span> </label> <input type="search" id="search-form" class="search-field" placeholder="Search …" value="" name="s"> <button type="submit" class="search-submit"> <span class="screen-reader-text">Search</span> </button> </form>
Q: Is WP Serverless Search a WordPress site search plugin? A: Yes!
Q: Why did you build this? A: Few reasons:
- native WordPress Search is slow and inaccurate.
- We needed a site search solution for static WordPress sites using Shifter, so we built one.
Q: Do I need to add a custom template, custom HTML, etc. to make it work? A: Nope.
Q: Is it free to use? A: Yah, go have fun.
Q: Is it fast? Yes, very fast.
Q: My site is huge, is that an issue? A: Should be okay. We've tested WP Serverless Search up to ~1K posts and was able to return search results within milliseconds.
Q: Does it support Fuzzy search? e.g. Hallo, Halo, Hello, Helloooo A: Yes! It uses Fusejs to provide fuzzy search results for typos.
Q: Does it support Auto Complete? A: Yes, it will search and sort as you type.