| 开发者 | cheey2003 |
|---|---|
| 更新时间 | 2026年9月28日 00:09 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
admin-ajax.php and live-search plugins that ask the server for results have nothing to talk to.
It suits live dynamic sites too: an instant results dropdown on your existing search boxes, typos forgiven, results you rank yourself, and no external service or account.
Free, with nothing to sell. There is no Pro version and no upsell. Nothing a visitor types is sent to your server or to anyone else. The browser downloads the index file from your own site once, and searches it locally.
Built for static exports
/?s=term addresses, which are forwarded to the results page.wp static-search rebuild.[static_search_results] shortcode.noindex.static_search_settings, static_search_include_post, static_search_item, static_search_config and static_search_selector (PHP only; there is no field for it on the settings screen). Action: static_search_index_built.window.StaticSearch.search( 'query', { type: 'product' } ) returns a promise of results.wp static-search rebuild and wp static-search status.assets/vendor/select2/, used on the settings screen only.assets/js/ and assets/vendor/select2/. The scripts in assets/js/ are minified builds; the source is in the public repository.
fuzzify-search folder to /wp-content/plugins/, or install the plugin from Plugins → Add New.Most search plugins, including fast, typo-tolerant ones, still need something running on your server: a database query, a REST endpoint, or an AJAX request answered on every keystroke. None of that works once a site is exported to static HTML, because there is no PHP left to ask. Fuzzify Search moves the work into the visitor's browser instead: it downloads one index file once, and searches it locally from then on. That is what makes it work in a static export, and on a live site it means no server request per search either. The trade-off is that every visitor downloads the whole index the first time they search, so it suits small and medium sites best (see "Will it work on a large site?" below).
Yes, that is what it is for. It has been tested with the free Simply Static plugin: after an export, search works with no PHP at all. The dropdown, the results page and old /?s=term addresses all run in the browser, from one index file that is part of the export.
It is built for the free Simply Static plugin, which it hooks into so that the index is rebuilt and included automatically. With another exporter, add the index file to the export yourself: its address is shown on the settings screen. The index is loaded by a script rather than linked from a page, so an exporter may not find it on its own.
No. There is no Pro version and no upsell: everything the plugin does is available to everyone.
No. It makes no requests to other sites, sets no cookies and uses no browser storage. The only request it adds is the visitor's browser downloading the index file from your own site's uploads folder.
Every visitor downloads the whole index the first time they search, so it suits small and medium sites best. Use the content length limit, and search fewer fields, to keep the file small. The settings screen warns you when the index passes 2 MB.
Yes, in two ways. WooCommerce's own Product Search widget and block are enhanced too: that form marks itself with a hidden post_type field, which Fuzzify Search detects and uses to keep results to products only, in the dropdown and on the results page. And products themselves are searched by title, description, categories, tags and SKU, with the title and a thumbnail shown in results. Cart, Checkout and My account, and products set to hidden or "shop only", are left out. It is a search box, not a product filter: there are no prices or attribute filters in the results.
It enhances every standard search field (input[type="search"][name="s"]), including the Search block, widgets and most theme headers, and adds no search box of its own. To enhance a different field, change the selector with the static_search_selector filter (PHP, in a theme or site plugin; there is no setting for it). The colours come from CSS custom properties, with a dark variant.
No. The one shortcode this plugin registers, [static_search_results], builds the results page: the title, status line and the list the script fills in. It does not place a search box. A search box has to already be on the page, such as the Search block, a search widget or your theme's own, for the plugin to enhance it.
Yes. Tick "Hide this item from search" in the Fuzzify Search box on its edit screen. Hidden items are listed on the settings screen.
In one JSON file in wp-content/uploads/static-search/. Uninstalling the plugin removes it, along with the settings. The results page it created is left in place.