內容簡介
總結: Hintr 是一個設計用來增強搜尋功能的 WordPress 外掛,提供快速的建議搜尋結果,讓您輕鬆地配置從哪些文章類型中提取搜尋建議。同時,當搜尋關鍵字出現在文章的元數據中(例如價格、SKU、序號等)時,也可以顯示建議。
1. Hintr 外掛的特色包括:
- 輕鬆選擇從哪些文章類型中提取搜尋建議。
- 當搜尋關鍵字出現在文章的元數據中時,顯示建議。
- 透過資料屬性自訂不同輸入字段的搜尋行為。
- 輕量且高度可配置,確保無縫整合。
2. 這個外掛非常適合部落格、電子商務網站或任何需要增強搜尋功能的 WordPress 網站使用。
3. 使用方式:
- 自動應用:搜尋建議會自動應用於具有資料屬性名稱="s"的文字輸入框。
- 自定義實現:若要自訂行為,請在文字輸入框中添加資料-hintr屬性。
- 通過將 JSON 格式的設定值分配給資料-hintr屬性,覆蓋默認設置。
4. 授權:此外掛根據 GNU 通用公共授權條款 v2.0 或更新版本許可。您可以在以下網址獲取授權內容:https://www.gnu.org/licenses/gpl-2.0.html
<!DOCTYPE html>
<html>
<head>
<title>Hintr WordPress 外掛摘要</title>
</head>
<body>
<h3>Hintr 外掛摘要</h3>
<ul>
<li>特色:
<ul>
<li>輕鬆選擇文章類型來源</li>
<li>在文章元數據中找到搜索關鍵字時,顯示建議</li>
<li>透過資料屬性自訂不同輸入字段的搜尋行為</li>
<li>輕量且高度可配置,確保無縫整合</li>
</ul>
</li>
<li>使用方式:
<ul>
<li>自動應用:搜尋建議會自動應用於具有資料屬性名稱="s"的文字輸入框</li>
<li>自定義實現:若要自訂行為,請在文字輸入框中添加資料-hintr屬性</li>
<li>覆蓋默認設置,分配 JSON 格式的設定值給資料-hintr屬性</li>
</ul>
</li>
<li>授權:此外掛根據 GNU 通用公共授權條款 v2.0 或更新版本許可。您可以在以下網址獲取授權內容:<a href="https://www.gnu.org/licenses/gpl-2.0.html">GNU General Public License</a></li>
</ul>
</body>
</html>
外掛標籤
開發者團隊
② 後台搜尋「Hintr – Lightning-Fast, Advanced Search Suggestions」→ 直接安裝(推薦)
原文外掛簡介
Hintr is a WordPress plugin designed to improve search by providing lightning-fast suggestions. Easily configure which post types to pull search suggestions from. You can also show suggestions if the search keyword is found in a post’s metadata, such as price, SKU, serial number, etc.
Features:
– Effortlessly select which post types search suggestions should be pulled from.
– Show suggestions when the search keyword is found in a post’s metadata.
– Customize search behavior for different input fields via data attributes.
– Lightweight and highly configurable, ensuring seamless integration.
This plugin is perfect for blogs, e-commerce sites, or any WordPress site that can benefit from enhanced search capabilities.
Usage
Automatic Application: Search suggestions are automatically applied to text inputs with the data attribute name=”s”.
Custom Implementation: To customize behavior, add the data-hintr attribute to a text input.
Override the default settings by assigning a JSON-formatted settings value to the data-hintr attribute.
Example:
License
This plugin is licensed under the GNU General Public License v2.0 or later.
You may obtain a copy of the license at: https://www.gnu.org/licenses/gpl-2.0.html
