This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

TK Shortcode Link

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=”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

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

FAQ

Any known incompatibilities?

It shouldn’t conflict with any other themes or plugins and may have duplicate functionality of something else you already have.

What if I find an error?

Please follow these steps to troubleshoot:

  1. Disable all other plugins
  2. Activate one of the default WordPress themes (e.g. Twenty Fifteen)
  3. Enable WP_DEBUG in wp-config.php.

If you no longer have an error, your issue is not with this plugin.

If you definitely have an issue with this plugin, please submit a detailed explanation and/or screenshot under this plugin’s Support tab on WordPress.org.

Contributors & Developers

“TK Shortcode Link” is open source software. The following people have contributed to this plugin.

Contributors

Translate “TK Shortcode Link” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.2

  • April 28, 2015
  • Readme compatibility changed to WordPress version 4.2.1

1.1

  • August 30, 2013
  • Now uses tklink instead of link due to being too generic (e.g. conflicts with PageLines Theme)
  • You MUST change any and all existing shortcodes manually. This should not have to change again.

1.0

  • August 19, 2013
  • Initial release