TK Shortcode Link

TK Shortcode Link Install Statistics

0
100%
Today: 0 Yesterday: 0 All-time: 2,366 downloads
TK Shortcode Link Icon

Try plugin: TK Shortcode Link

We'll create fresh WordPress site with TK Shortcode Link installed. You have 20 minutes to test the plugin after that site we'll be deleted.

Takes ~10 seconds to install.

About TK Shortcode Link

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

1


0


0


0


0

updated: 5 years ago
since: 11 years ago

Description

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: <a class="tklink" href="https://www.nike.com/">Just do it</a>
  • [tklink url="https://www.wordpress.org/"][/tklink]
    • Outputs: <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]
    • Outputs: <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-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).