[WordPress] 外掛分享: Dave’s WordPress Live Search

首頁外掛目錄 › Dave's WordPress Live Search
WordPress 外掛 Dave's WordPress Live Search 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
5,000+
安裝啟用
★★★★
4.6/5 分(48 則評價)
2915 天前
最後更新
0%
問題解決
WordPress 3.6+ v4.8.1 上架:2009-03-14

內容簡介

Dave's WordPress Live Search 可在您的 WordPress 站點中加入「即時搜尋」功能。當訪客在 WordPress 站點的搜尋框中輸入字詞時,該外掛會持續查詢 WordPress,尋找與使用者輸入的字詞匹配的搜尋結果。

即時搜尋 是指大多數的人在完成輸入查詢時就已經找到他們想要尋找的結果,並且省去了需要點擊提交按鈕以獲取搜索結果的步驟。

本功能需要使用 Javascript,但如果 Javascript 不可用,搜尋框仍然可以正常運作。

http://www.youtube.com/watch?v=7CGR2bJ1mLM
語音轉文字稿

本外掛與 xLanguage 和 WPML 外掛兼容,可用於國際化 (i18n) 搜尋結果。

篩選器

請參考插件檔案中的 filter_examples.php 檔,了解如何使用這些篩選器的示例。請注意,這些篩選器僅影響 Dave's WordPress Live Search 的顯示,不影響正常的 WordPress 搜尋結果或文章本身。

dwls_alter_results
dwls_attachment_thumbnail
dwls_post_title
dwls_the_excerpt
dwls_post_date
dwls_author_name
dwls_alter_result_template
dwls_post_custom
dwls_query_fields

期望功能

下一版本希望新增功能:

「未找到結果」的訊息(選擇性)

外掛標籤

開發者團隊

⬇ 下載最新版 (v4.8.1) 或搜尋安裝

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

原文外掛簡介

Dave’s WordPress Live Search adds “live search” functionality to your WordPress site. As visitors type words into your WordPress site’s search box, the plugin continually queries WordPress, looking for search results that match what the user has typed so far.
The live search technique means that most people will find the results they are looking for before they finish typing their query, and it saves them the step of having to click a submit button to get their search results.
This functionality requires Javascript, but the search box still works normally if Javascript is not available.

transcript
This plugin is compatible with the xLanguage and WPML plugins for internationalization (i18n) of search results.
Filters
See filter_examples.php in
the plugin files for examples of how to use these filters. Remember, these filters only affect the
Dave’s WordPress Live Search display, not the normal WordPress search results or the posts themselves.

dwls_alter_results
dwls_attachment_thumbnail
dwls_post_title
dwls_the_excerpt
dwls_post_date
dwls_author_name
dwls_alter_result_template
dwls_post_custom
dwls_query_fields

Wish List
Features I want to implement in future releases:

“No results found” message (optional)

延伸相關外掛

文章
Filter
Apply Filters
Mastodon