內容簡介
這個外掛使用 Chris Bracco 的 Simple CSS tooltips,結合短代碼來創建簡單的工具提示。您可以在短代碼中定義鏈接、工具提示位置等等。
查看我的其他外掛
要在您的網站上添加工具提示,請先安裝並啟用此外掛。
然後使用短代碼添加工具提示:
[tooltip text="工具提示內容"]文字[/tooltip]
上述短代碼將在“文字”上方添加一個簡單的工具提示。
如果您想包括鏈接或更改工具提示的位置,可以在短代碼中使用以下屬性:
[tooltip text="工具提示內容" location="right" href="https://example.com/" rel="nofollow"]文字[/tooltip]
位置可以是 top、right、left 或 bottom。如果您沒有輸入位置,將使用默認位置(top)。
注意,您也可以在鏈接中添加 rel=”nofollow”。
如果您並沒有加入鏈接,文字將會鏈接到“#”。
外掛標籤
開發者團隊
原文外掛簡介
This plugin uses the Simple CSS tooltips by Chris Bracco and a shortcode to create simple tooltips. You can define a link, tooltip location and more in the shortcode.
View my other plugins
To add a tooltip to your website, please install and activate the plugin.
Then use the shortcode to add a tooltip:
[tooltip text="The tooltip"]The text[/tooltip]
The above shortcode will add a simple tooltip on top of “The text”.
If you want to include a link or change the location of the tooltip, this is possible by using the following attributes in your shortcode:
[tooltip text="The tooltip" location="right" href="https://example.com/" rel="nofollow"]The text[/tooltip]
The location can either be top, right, left or bottom. If you don’t enter a location, the default location (top) will be used.
As you can see it is also possible to add rel=”nofollow” to your link.
If you don’t enter a link, the text will link to “#”.
