[WordPress] 外掛分享: Predictive Search

WordPress 外掛 Predictive Search 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Predictive Search」是 2022-08-04 上架。
  • 目前有 60 個安裝啟用數。
  • 上一次更新是 2025-04-24,距離現在已有 10 天。
  • 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

a3rev | nguyencongtuan |

外掛標籤

live search | elementor search | wordpress search | Predictive Search |

內容簡介

WP Predictive Search 是一個即時自動完成功能的外掛,當使用者在下拉式選單中輸入內容時,該外掛可以提供使用者即時且隨時改變的搜尋結果。使用者可以從下拉式選單中點擊進入「所有結果搜尋頁面」,並提供無限捲動效果。

主要功能

搜尋對象包括文章名稱、頁面名稱、文章類別和文章標籤。
適用於任何 WordPress 主題,包括傳統或區塊頁面建構器。
可透過小工具、短代碼、PHP 標籤或區塊添加搜尋方塊。
完全兼容全站編輯器。
即時自動完成功能可以 100% 準確地且任何時候提供搜尋結果。
即使在擁有數千篇文章和頁面的網站中也能提供高速搜尋結果。
當您開始輸入時,即時自動完成功能的搜尋結果會顯示在搜尋框下拉式選單中。
提供完整的外掛搜尋框和搜尋結果下拉式選單樣式和版面配置選項。
點擊進入指定頁面查看所有搜尋結果 (具有無限捲動效果)。
所有搜尋結果頁面的 URL 地址具有良好的外觀。

文件

我們已經發佈了完整且全面的即時自動完成功能文件。請訪問文檔網站。

搜尋方塊樣式設置和行動裝置

外掛內建了 2 個可自訂樣板:方塊小工具樣板和頁眉樣板。自行設計好搜尋方塊和搜尋結果下拉式選單,然後從即時自動完成功能的小工具中套用所需要的樣板。

所有搜尋結果頁面

在安裝外掛時自動建立即時自動完成功能頁面 (包含插入的短代碼)。
即時自動完成功能結果區塊。可選擇使用即時自動完成功能區塊來建立搜尋結果內容。
如果使用短代碼,則可以選擇使用主題模板或自行建立模板。
自建模板中有在清單或網格檢視模式之間切換搜尋結果的選項。
所有搜尋結果頁面具備無限捲動功能。

排除搜尋結果

排除任何文章不會顯示在即時自動完成功能的搜尋結果中。
排除任何頁面不會顯示在即時自動完成功能的搜尋結果中。
排除任何或所有文章類別或標籤不會顯示在即時自動完成功能的搜尋結果中。

特殊字符

特殊字符的近似匹配。包含特殊字符的查詢字串,例如 "d'E",會返回 "d'e" 和 "de" 的所有匹配項目。
特殊字符的前置和後置近似匹配,例如查詢 "(Purple)",會返回 "(Purple)" 和 "Purple" 的所有匹配項目。
可以開啟或關閉特殊字符功能。
可以選擇使用您網站中的任何特殊字符,不論有無特殊字符輸入,結果都會返回。

單數 / 複數結果(s)

將結果返回為單數或複數形式。

原文外掛簡介

WP Predictive Search engine delivers users instant and changing results as they type in the dropdown Users can click through from the dropdown to the ‘All Results Search page’ that features endless scroll.
KEY FEATURES

Search objects include Post name, Page name, Post Categories and Post Tags
Works with any WordPress Theme, Classic or Blockor Page Builder.
Add Search Box via, Widget, Shortcode, PHP tag or Block.
Fully compatible with Full Site Editor.
Predictive Search engine delivers 100% accurate results, 100% of the time.
Super-fast results even on sites with 1,000’s of posts and pages
Results show in search box dropdown as soon as you start to type.
Full in plugin search box and search results dropdown style and layout options
Click through to see all search results on a designated page (features endless scroll)
Pretty URL for the All Search Results pages.

DOCUMENTATION
We have published complete and comprehensive Predictive Search documentation. Visit the docs site.
PREDICTIVE SEARCH BOX

Set Placeholder text that shows in the search box on front end – example ‘Type your search here’
Choose which objects- Posts, Pages, Post Categories or Post tags should be included in the search
Set the number of results to show for each object type e.g. Post 6
When there are more results than can show in the dropdown a link is added to the dropdown footer to see all results
Set order that the search object shows in the dropdown and on the All Results Search page.
Option to show just post, page title in results
Option to show or not show Post or page feature image thumbnail with results
Option to show or not show description extract with results including the length in characters
Option show or not show Product prices

SEARCH BOX STYLE & MOBILE
There are 2 customizable templates built in – Widget Template and Header Template. Style the Search Box and results dropdown then apply the template required from the Predictive Search Widget.
ALL SEARCH RESULTS PAGE

On install the plugin auto creates a Predictive Search page (with shortcode inserted)
Predictive Search Results Block. Chose to create Search Results content with Predictive Search Block
If using Shortcode have the option to use the Theme template or Plugins built-in template
Built-in template has option to show results in List format or Grid view
All results search page results show with endless scroll feature

EXCLUDE FROM SEARCH RESULTS

Exclude any post from showing in Predictive Search results
Exclude any page from showing in Predictive Search Results
Exclude any or all Post category or Tags from showing in Predictive Search Results

SPECIAL CHARACTERS

Special Characters near match. Query strings that CONTAINS a special character eg d’E return all matches found for d’e and de.
Special Characters Prepend and Append near match e.g. Query (Purple) will return all matches found for (Purple) and Purple.
Option to turn Special Characters Function ON or OFF
Option to select any Special Characters used on your site. Results returned with or without special character input

SINGULAR / PLURAL RESULT(s)

Returns results when user adds plural (s) to search term – the s is ignored e.g. bike and bikes will both return the same results

TECHNICAL FEATURES

Predictive Search Database is auto updated each time a Post or Page is created, updated or deleted
Manual Database Sync option to manually sync Predictive Search database with WordPress databases if required
No Conflict. Can be used in conjunction with any other Search plugin without conflicts occurring
Results are cached not on your server but on the user’s machine via Backbone.localStorage.js (saving you on bandwidth)
NO-CACHE option – should be turned on when testing, OFF when not.

FOREVER FREE
WP Predictive Search is fully functioned and provided completely free.
CONTRIBUTE
When you download WP Predictive Search, you join our the a3rev Software community. Regardless of if you are a WordPress beginner or experienced developer if you are interested in contributing to the future development of Predictive Search or any of our other plugins on Github head over to the WP Predictive Search GitHub Repository to find out how you can contribute.
Want to add a new language? You can contribute via translate.wordpress.org

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Predictive Search」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.1 | 1.1.0 | 1.1.1 | 1.1.2 | 1.2.0 | 1.2.1 | 1.2.2 | 1.2.3 | 1.2.4 | 1.2.5 | 1.2.6 | 1.3.0 | 1.3.1 | 1.3.2 | 1.3.3 | 1.4.0 | 1.4.1 | 1.4.2 | trunk |

延伸相關外掛(你可能也想知道)

  • Predictive Search for WooCommerce 》本 WordPress 外掛名為 Predictive Search for WooCommerce,其搜索引擎能夠在使用者打字時即時顯示內容,下拉式選單中會顯示產品縮略圖、產品標題與說明等內...。
  • Ajaxy Instant Search 》以下是繁體中文的總結文案:, 這個外掛是一個使用與 Facebook 搜尋相同主題的 ajax 即時搜尋工具,它利用 ajax 和 jQuery 從 WordPress 獲取結果。此外,它新...。

文章
Filter
Mastodon