
TK Shortcode Link
by Clifford Paulick on WordPress.org
Create links with a shortcode. Comes in handy in places where HTML tags aren’t allowed and/or keep getting encoded or something.
Basically, just a utility plugin.
Accepts 3 parameters:
- url
- target (automatically adds the leading underscore)
- class
Examples:
[tklink url="https://www.nike.com/"]Just do it[/tklink]
- Outputs:
Just do it
- Outputs:
[tklink url="https://www.wordpress.org/"][/tklink]
- Outputs:
https://www.wordpress.org/
- Outputs:
[tklink url="https://www.google.com/" class="googlie" target="blank"]A googglie Google link that will open in a new tab[/tklink]
Developers may contribute at https://github.com/cliffordp/tk-shortcode-link
FYI:
- All links have a class of
tklink
added unless you specify your own class per link (see examples above) - No styling of
tklink
or otherwise is added via this plugin. - If you don’t know what classes are, you can ignore. It’s for styling (i.e. look and feel).
Active installations40+
Weekly downloads
12+0.00%
Version1.2.1
Last updated3/6/2019
WordPress version2.5.1
Tested up to5.1.19
Tags
linkshortcodetargetutility