开发者 | cliffpaulick |
---|---|
更新时间 | 2019年3月6日 11:44 |
PHP版本: | 2.5.1 及以上 |
WordPress版本: | 5.1 |
版权: | GPL version 3 or any later version |
版权网址: | 版权信息 |
[tklink url="https://www.nike.com/"]Just do it[/tklink]
<a class="tklink" href="https://www.nike.com/">Just do it</a>
[tklink url="https://www.wordpress.org/"][/tklink]
<a class="tklink" href="https://www.wordpress.org/">https://www.wordpress.org/</a>
[tklink url="https://www.google.com/" class="googlie" target="blank"]A googglie Google link that will open in a new tab[/tklink]
<a class="googlie" href="https://www.google.com/" target="_blank">A googglie Google link that will open in a new tab</a>
Developers may contribute at https://github.com/cliffordp/tk-shortcode-linktklink
added unless you specify your own class per link (see examples above)tklink
or otherwise is added via this plugin.Any known incompatibilities? It shouldn't conflict with any other themes or plugins and may have duplicate functionality of something else you already have. Please follow these steps to troubleshoot:
shortcode_atts()
to allow filtering this plugin's shortcode.tklink
instead of link
due to being too generic (e.g. conflicts with PageLines Theme)