內容簡介
Glossy 提供了一種簡單的方式,可在整個網站中插入預先定義好的文本。如果已安裝 Tippy,則可以通過工具提示顯示定義。提供了一種簡單的方法,可以指定工具提示是否應按預設值以工具提示或內嵌方式顯示。還提供了一個短碼屬性,可按每個術語的基礎更改內嵌設置。
Glossy 添加了短碼 gs 和 glossy。例如:
[gs NYSE] - 這是快速的方法。
[glossy term=”NYSE”] - 一種較長格式,相當於 [gs NYSE]
您還可以指定內嵌屬性:
[glossy term=”NYSE” inline=”false”] - 在工具提示中顯示定義
[glossy term=”NYSE” inline=”true”] - 在文章內容正文中顯示定義。
[gs inline=”true” nyse] - 與上述相同。
術語是在 WordPress 儀表板中定義的,並可在整個網站上使用。
工具提示是由 Tippy 插件創建的,因此要在工具提示中顯示定義,需要安裝 Tippy 才能使用。
如果您想創建一個頁面,向訪問者顯示所有 Glossy 條目的索引,請使用 [glossyindex] 短碼。只需在任何文章或頁面中插入 [glossyindex],它將處理其餘部分。默認情況下,它顯示一個帶有首字母索引的標題。您可以使用 [glossyindex header=”off”] 關閉它。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Glossy provides an easy way to insert predefined text for use throughout your site. If Tippy is installed, definitions can show via a tooltip. Provides an easy way to specify if tooltips should show in a tooltip or inline by default. Also provides a shortcode attribute for changing the inline setting on a per-term basis.
Glossy adds the shortcodes gs and glossy. For example:
[gs NYSE] – this is the quick way.
[glossy term=”NYSE”] – a longer form, does the same as [gs NYSE]
You can also specify the inline attribute:
[glossy term=”NYSE” inline=”false”] – show the definition in a tooltip
[glossy term=”NYSE” inline=”true”] – show the definition in the body of your post content.
[gs inline=”true” nyse] – Same as above.
Terms are defined in the WordPress dashboard and can be used throughout your site.
The tooltip is created by the Tippy plugin, so showing definitions in a tooltip requires Tippy in order to work.
If you want to create a page that shows visitors an index of all your Glossy entries, use the [glossyindex] shortcode. Just insert [glossyindex] into any post or page and it will take care of the rest. By default, it shows a header with an index of first characters. You can turn it off by using [glossyindex header=”off”]
