Title: TK Shortcode Link
Author: Clifford Paulick
Published: <strong>2013年8月19日</strong>
Last modified: 2019年3月6日

---

プラグインを検索

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress
で使用した場合は互換性の問題が発生する可能性があります。

![](https://s.w.org/plugins/geopattern-icon/tk-shortcode-link.svg)

# TK Shortcode Link

 作者: [Clifford Paulick](https://profiles.wordpress.org/cliffpaulick/)

[ダウンロード](https://downloads.wordpress.org/plugin/tk-shortcode-link.1.2.1.zip)

 * [詳細](https://ja.wordpress.org/plugins/tk-shortcode-link/#description)
 * [レビュー](https://ja.wordpress.org/plugins/tk-shortcode-link/#reviews)
 * [開発](https://ja.wordpress.org/plugins/tk-shortcode-link/#developers)

 [サポート](https://wordpress.org/support/plugin/tk-shortcode-link/)

## 説明

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

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

## 評価

![](https://secure.gravatar.com/avatar/2545a7303249514cf1c2b6a008be715d7c7a9a346a81f965021473a4b6edc414?
s=60&d=retro&r=g)

### 󠀁[Good plugin](https://wordpress.org/support/topic/good-plugin-3499/)󠁿

 [tqhung85](https://profiles.wordpress.org/tqhung85/) 2019年4月10日

Good plugin. It is the only plugin that provides the function I was looking for.

 [ 1件のレビューをすべて表示 ](https://wordpress.org/support/plugin/tk-shortcode-link/reviews/)

## 貢献者と開発者

TK Shortcode Link はオープンソースソフトウェアです。以下の人々がこのプラグインに
貢献しています。

貢献者

 *   [ Clifford Paulick ](https://profiles.wordpress.org/cliffpaulick/)

[“TK Shortcode Link” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/tk-shortcode-link)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/tk-shortcode-link/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/tk-shortcode-link/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/tk-shortcode-link/)を 
[RSS](https://plugins.trac.wordpress.org/log/tk-shortcode-link/?limit=100&mode=stop_on_copy&format=rss)
で購読してみてください。

## 変更履歴

#### 1.2.1

 * March 5, 2019
 * Now passes the shortcode name to `shortcode_atts()` to allow filtering this plugin’s
   shortcode.
 * Now escapes additional output.
 * Now displays the URL as the anchor text if the shortcode’s content is empty. (
   Still requires the closing shortcode tag.)
 * Fix capability required to display error message.
 * License changed from GPLv2+ to GPLv3+.
 * Readme compatibility changed to WordPress version 5.1

#### 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

## メタ

 *  バージョン **1.2.1**
 *  最終更新日 **7年前**
 *  有効インストール数 **40+**
 *  WordPress バージョン ** 2.5.1またはそれ以降 **
 *  検証済み最新バージョン: **5.1.22**
 *  言語
 * [English (US)](https://wordpress.org/plugins/tk-shortcode-link/)
 * タグ
 * [link](https://ja.wordpress.org/plugins/tags/link/)[shortcode](https://ja.wordpress.org/plugins/tags/shortcode/)
   [target](https://ja.wordpress.org/plugins/tags/target/)[utility](https://ja.wordpress.org/plugins/tags/utility/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/tk-shortcode-link/advanced/)

## 評価

 5つ星中5つ星

 *  [  1 5-星レビュー     ](https://wordpress.org/support/plugin/tk-shortcode-link/reviews/?filter=5)
 *  [  0 4-星レビュー     ](https://wordpress.org/support/plugin/tk-shortcode-link/reviews/?filter=4)
 *  [  0 3-星レビュー     ](https://wordpress.org/support/plugin/tk-shortcode-link/reviews/?filter=3)
 *  [  0 2-星レビュー     ](https://wordpress.org/support/plugin/tk-shortcode-link/reviews/?filter=2)
 *  [  0 1-星レビュー     ](https://wordpress.org/support/plugin/tk-shortcode-link/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tk-shortcode-link/reviews/#new-post)

[すべてのレビューを見る](https://wordpress.org/support/plugin/tk-shortcode-link/reviews/)

## 貢献者

 *   [ Clifford Paulick ](https://profiles.wordpress.org/cliffpaulick/)

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/tk-shortcode-link/)