WordPress.org

Ready to get started?Download WordPress

Plugin Directory

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

Examples:

  • [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>

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

Requires: 2.5.1 or higher
Compatible up to: 3.8.3
Last Updated: 2014-2-17
Downloads: 167

Ratings

0 stars
0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

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

100,1,1