Plugin Directory

Test out the new Plugin Directory and let us know what you think.

TK Shortcode Link

Create links with a shortcode. It's that simple.

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


  • [tklink url="http://www.nike.com/"]Just do it[/tklink]
    • Outputs: <a class="tklink" href="http://www.nike.com/">Just do it</a>
  • [tklink url="http://www.pagelinestheme.com/" target="blank"]Open PageLinesTheme.com in a new window[/tklink]
    • Outputs: <a class="tklink" href="http://www.pagelinestheme.com/" target="_blank">Open PageLinesTheme.com in a new window</a>
  • [tklink url="http://www.google.com/" class="googlie" target="parent"]A googglie Google link with parent target[/tklink]
    • Outputs: <a class="googlie" href="http://www.google.com/" target="_parent">A googglie Google link with parent target</a>

Developers may contribute at https://github.com/cliffordp/TK-Shortcode-Link


  • 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).

Requires: 2.5.1 or higher
Compatible up to: 4.2.11
Last Updated: 2 years ago
Active Installs: 40+


0 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.