[WordPress] 外掛分享: PrismSearch

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

外掛標籤

開發者團隊

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

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

原文外掛簡介

PrismSearch builds a custom inverted index for fast frontend search and provides a live AJAX search box through a simple shortcode.
Features

Fast inverted-index based search.
Frontend AJAX search shortcode.
Search indexing for posts, pages and public custom post types.
Indexing for selected public taxonomy terms.
Frontend metadata display in live search results.
Configurable NLP language for tokenization.
Fuzzy typo matching fallback.
Optional replacement for the default WordPress search results page.
Search rate limiting for live search requests (50 requests per IP address per minute by default; configurable or disable with 0).
Live index updates when selected content is saved, updated, trashed or deleted.
Optional frontend.css loading for theme authors who want to write their own CSS.
Optional Enter key redirect to the full WordPress search results page.
Template overrides from your theme.

Supported NLP languages
PrismSearch includes NLP processors for the following language codes. The selected language is used for tokenization and search processing.

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
Thai: th

Some CJK and script-based languages use basic normalization and token support. Test the selected language processor with your own content before production use.
Shortcode
Add the live search box anywhere with:
[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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon