| 开发者 | wteam |
|---|---|
| 更新时间 | 2026年7月17日 14:23 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
[prismsearch]
Optional shortcode attributes:
[prismsearch min_chars="3" limit="10" placeholder="Search..."]
Enable or disable Enter key redirect per shortcode:
[prismsearch enter_redirect="1"]
[prismsearch enter_redirect="0"]
Privacy and external services
PrismSearch performs indexing, tokenization and search locally inside WordPress. It does not send site content, search queries or user data to external services, and it does not load remote frontend or admin assets.
Included third-party libraries
PrismSearch includes Select2 4.1.0 for enhanced admin multi-select fields. Select2 is MIT licensed; the license file is included at assets/vendor/select2/LICENSE.md. The Select2 source project is available at https://github.com/select2/select2.
Templates and styling
PrismSearch loads its default frontend stylesheet unless disabled in the settings.
Developers can also disable the default stylesheet with:
add_filter( 'prismsearch_load_frontend_css', '__return_false' );
Template files can be overridden in your theme by placing files in:
template/prismsearch/
For example:
template/prismsearch/item.php
prismsearch folder to the /wp-content/plugins/ directory, or install the plugin ZIP through the WordPress Plugins screen.[prismsearch] to a page, post, widget, block, or theme template.It can. Enable "Override default WordPress search" in the PrismSearch settings to use PrismSearch results on the regular WordPress ?s= search results page.
PrismSearch indexes posts, pages, selected public custom post types and selected public taxonomy terms.
Yes. Select the fields under "Frontend meta keys" to include those values in frontend AJAX results. These fields are displayed only; they are not indexed for search.
Yes. Enable fuzzy typo matching in the settings. Fuzzy matching runs as a fallback when normal search returns fewer results than the configured threshold.
PrismSearch allows 50 frontend search requests per IP address per minute by default. Change this value in Settings > PrismSearch > Security, or set it to 0 to disable rate limiting.
PrismSearch uses its own optimized search index. The index must be built after installation and rebuilt after changing indexed content or language settings.
Yes, if live index updates are enabled. The plugin can reindex selected content when it is saved, updated, trashed or deleted.
Yes. Enable "Disable frontend.css" in the settings if you want to write your own CSS. Developers can also use the prismsearch_load_frontend_css filter.
Yes. Enable "Redirect on Enter" in the settings, or use enter_redirect="1" in the shortcode.
Yes. Copy the plugin template files into your theme under template/prismsearch/ and edit them there.