[WordPress] 外掛分享: PrismSearch

首頁外掛目錄 › PrismSearch
WordPress 外掛 PrismSearch 的封面圖片
全新外掛
安裝啟用
尚無評分
11 天前
最後更新
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.6 上架:2026-07-10

內容簡介

PrismSearch 是一款強大的 WordPress 搜尋外掛,透過自訂的反向索引提供即時 AJAX 搜尋功能,支援多種佈景主題整合,並能有效提升網站搜尋體驗。

【主要功能】
• 快速的反向索引搜尋
• 前端 AJAX 搜尋短碼
• 支援多種 NLP 語言
• 動態更新索引內容
• 可自訂的搜尋結果頁面
• 語音輸入功能

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.6) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「PrismSearch」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

PrismSearch builds a custom inverted index and provides live AJAX search through theme integration, a native block or shortcode.
Features

Fast inverted-index based search.
Frontend AJAX search shortcode.
Integration with Twenty Twenty-Five, Storefront and Astra.
Replaces standard classic and block search forms where supported.
Native dynamic PrismSearch block.
Indexes posts, pages and selected public custom post types.
Indexes selected public taxonomy terms.
Displays selected frontend metadata in live results.
Configurable NLP language for tokenization.
Fuzzy typo matching fallback.
Optional replacement for the default WordPress search results page.
Configurable rate limiting (50 requests per IP per minute by default; 0 disables it).
Live index updates when selected content is saved, updated, trashed or deleted.
Optional REST Search Fast Path for eligible anonymous searches.
Optional frontend.css loading for custom theme styling.
Optional Enter key redirect to the full search results page.
Optional voice input through the Web Speech API.
Theme template overrides.

Supported NLP languages
PrismSearch includes processors for: English (en), German (de), French (fr), Spanish (es), Portuguese (pt), Italian (it), Dutch (nl), Danish (da), Swedish (sv), Norwegian (no), Finnish (fi), Polish (pl), Czech (cs), Slovak (sk), Slovenian (sl), Croatian (hr), Serbian (sr), Bulgarian (bg), Romanian (ro), Hungarian (hu), Greek (el), Turkish (tr), Russian (ru), Ukrainian (uk), Lithuanian (lt), Latvian (lv), Estonian (et), Indonesian (id), Vietnamese (vi), Japanese (ja), Chinese (zh), Korean (ko), Arabic (ar), Persian (fa), Hebrew (he) and Thai (th).
Some CJK and script-based languages use basic normalization and token support. Test with your own content before production use.
Shortcode
Add the live search box with:
[prismsearch]

Optional attributes:
[prismsearch min_chars="3" limit="10" placeholder="Search..."]

Enter key redirect:
[prismsearch enter_redirect="1"]

[prismsearch enter_redirect="0"]

Voice input:
[prismsearch voice_search="1"]

[prismsearch voice_search="0"]

Voice input uses the configured NLP language. Developers can override it with the prismsearch_speech_language filter. The microphone stays hidden when browser speech recognition is unavailable.
Automatic theme integration
Enable automatic integration under Settings > PrismSearch > Frontend.

Twenty Twenty-Five: inserts the PrismSearch block into supported headers.
Storefront: replaces the built-in header product search.
Astra: replaces Astra Search elements added through the Header Builder.
Other themes: replaces existing classic search forms and Core Search blocks. It does not create a new search position.

WooCommerce products must be selected under Content and indexed before they appear in results.
Developers can disable automatic integration with:
add_filter( 'prismsearch_automatic_theme_integration', '__return_false' );

Privacy and external services
Indexing, tokenization and search run locally in WordPress. PrismSearch does not load remote frontend or admin assets.
When voice search is disabled, PrismSearch does not access the microphone. When enabled and activated, speech recognition is handled by the browser Web Speech API. Audio may be processed locally or by a browser-vendor service. PrismSearch does not receive or store microphone audio; it receives only recognized text.
Included third-party libraries
PrismSearch includes Select2 4.1.0 for admin multi-select fields. Select2 is MIT licensed; its license is at assets/vendor/select2/LICENSE.md. Source: https://github.com/select2/select2.
Templates and styling
PrismSearch loads its default frontend stylesheet unless disabled in settings.
Developers can also disable it with:
add_filter( 'prismsearch_load_frontend_css', '__return_false' );

Override plugin templates from your theme under:
template/prismsearch/

Example:
template/prismsearch/item.php

延伸相關外掛

文章
Filter
Mastodon