[WordPress] 外掛分享: Automatic Tooltips – On-the-Fly Tooltips Based on Your Keywords

首頁外掛目錄 › Automatic Tooltips – On-the-Fly Tooltips Based on Your Keywords
WordPress 外掛 Automatic Tooltips – On-the-Fly Tooltips Based on Your Keywords 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
520 天前
最後更新
問題解決
WordPress 5.0+ PHP 5.5+ v1.09 上架:2022-03-08

內容簡介

這個外掛可讓您自動在文章、頁面和自訂文章類型內容中產生工具提示。具體而言,該外掛會基於後端定義的關鍵字即時應用工具提示。

「自動工具提示」非常適合描述使用者可能不完全了解的單詞。例如,對於針對 Web 開發人員的部落格,您可以在「交互設計」詞彙上創建工具提示,以提供有關此 UI 設計術語的附加信息。

插件如何運作

從技術上來說,該外掛使用正則表達式來查找文章中關鍵字的出現次數。更確切地說,每當使用者訪問文章時,該外掛都會執行這些正則表達式。

必須注意的是,該外掛不會更改文章的內容。相反地,它使用 WordPress 的過濾器來添加用於生成工具提示的 HTML 屬性。

該外掛通用且適用於任何語言。您甚至可以從插件設置中控制高級正則表達式參數。例如,當您配置新的工具提示時,您有以下選項:

創建區分大小寫或不區分大小寫的關鍵字搜索
定義關鍵字的特定左右邊界。例如,在類似英語的語言中,您可以決定僅查找由空格字符分隔的關鍵字。
匹配先於或後於特定字符的關鍵字。
限制同一文章中關鍵字匹配的次數。例如,您可以使用此選項僅在關鍵字第一次出現時添加工具提示。
設置優先級值,以確定當文章的工具提示總數受限時哪些關鍵字應優先生成。

值得注意的功能
工具提示統計數據

該外掛提供了專門的工具提示統計菜單。您可以在此處找到該外掛在您網站的每一篇文章中生成的精確數量。使用這些統計數據來監控和配置您網站的自動工具提示。

自定義風格

我們提供了 22 種風格自定義選項,因此您可以為您的工具提示創建自定義外觀。在此部分,您可以設置工具提示的字體、定義工具提示的寬度、設置工具提示的邊框半徑、設置應用於啟用工具提示的關鍵字的文本裝飾等等。

可定向指定文章類型、類別和標籤

該外掛使您能夠僅應用於特定的文章類型、類別或標籤中。此功能使您能夠僅在部落格文章中使用自動工具提示,為網站不同部分創建不同的自動工具提示等等。

我們的其他插件

如果您喜歡這個插件並且對其他類似質量的產品感興趣,請檢查我們的產品組合。

學分

該外掛使用了以下資源:

Chosen,採用MIT 授權

您可以在用於存儲庫文件夾中找到此許可證的實際副本。

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Automatic Tooltips – On-the-Fly Tooltips Based on Your Keywords」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin allows you to automatically generate tooltips in the content of your posts, pages, and custom post types. Specifically, the plugin applies the tooltips on the fly based on the keywords defined in the back-end.
Automatic Tooltips is ideal to describe words that the user may not fully understand. For example, in a blog targeted at web developers, you can create a tooltip on the “Interaction Design” phrase to provide additional information about this UI Design term.
How the plugin works
Technically the plugin uses regular expressions to find occurrences of the keywords in your posts. More precisely, the plugin executes these regular expressions each time a user visits a post.
It’s important to note that the plugin does not alter the content of your posts. Instead, it uses a WordPress filter to add the HTML attributes used to generate the tooltip.
The plugin is versatile and suitable to be used with any language. You can even control advanced regular expression parameters from the plugin settings. For example, when you configure a new tooltip, you have the ability to:

Create a case sensitive or case insensitive search of the keyword
Define specific left and right boundaries for the keyword. For example, in English-like languages, you can decide to find only keywords separated by a whitespace character.
Match keywords that are preceded or followed by specific characters.
Limit the number of matches of the keyword in the same post. For example, you can use this option to add the tooltips only on the first occurrence of a keyword.
Set a priority value to determine which keyword should have priority over the others when there is a limit on the overall number of tooltips of the post.

Notable features
Tooltips statistics
The plugin comes with a dedicated tooltips statistics menu. Here you can find the exact number of tooltips generated by the plugin in each post of your website. Use this information to monitor and configure the automatic tooltip of your website.
Customizable style
We have included 22 style customization options so you can create a custom look for your tooltips. In this section, you can set the typography of the tooltips, define the tooltips width, set the tooltips border radius, set the text decoration applied to the keywords that activate the tooltips, and more.
Ability to target specific post types, categories, and tags
The plugin gives you the ability to apply the tooltips only in specific post types, categories, or tags. This feature allows you, for example, to use the automatic tooltips only in the blog articles, to create distinct sets of automatic tooltips for different sections of the website, and more.
More plugins from us
If you like this plugin and are interested in other products with similar quality, please check our portfolio.
Credits
This plugin makes use of the following resources:

Chosen licensed under the MIT License

You can find the actual copy of the license inside the folder used to store the library files.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon