Title: External Linker
Author: jstar198
Published: <strong>2009年7月27日</strong>
Last modified: 2009年8月9日

---

プラグインを検索

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

![](https://s.w.org/plugins/geopattern-icon/external-linker.svg)

# External Linker

 作者: [jstar198](https://profiles.wordpress.org/jstar198/)

[ダウンロード](https://downloads.wordpress.org/plugin/external-linker.zip)

 * [詳細](https://ja.wordpress.org/plugins/external-linker/#description)
 * [レビュー](https://ja.wordpress.org/plugins/external-linker/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/external-linker/#installation)
 * [開発](https://ja.wordpress.org/plugins/external-linker/#developers)

 [サポート](https://wordpress.org/support/plugin/external-linker/)

## 説明

You know how `target="_blank"` is invalid in XHTML strict? Well, this plugin uses
a Javascript hack to get around this. The code was originally taken from this thread
I came across: http://www.webmasterworld.com/forum21/11165.htm

For posts/pages, the plugin will automatically captures any `target="_blank"`‘s 
inserted by the WP editor and modifies them to keep the page XHTML Strict valid.
Then some small Javascript is inserted into each page which re-inserts `target="
_blank"` so that the functionality is restored _after_ your page has been validated!

For non-post/page content (eg templates/widgets), simply give your outbound links
a class name of `external`, and the rest will be done automatically while keeping
your page XHTML valid.

### To Do

Future things I plan to add:

 * Integration into WP edit page to allow use of plugin without manually editing
   HTML.

## インストール

 1. Upload/Copy plugin to your blog.
 2. Activate it.
 3. In posts & pages, links containing `target="_blank"` will be handled automatically.(
    This can be turned off by setting `EXTERNAL_LINKER_USE_FILTER` to `false` in the
    plugin file.)
 4. For templates & widgets, instead of using `target="_blank"` simply give your links
    a class name of `external`. (This name can be changed by editing `EXTERNAL_LINKER_CLASS_NAME`
    in the plugin file.)

## FAQ

  How does this affect my styles/CSS?

Not at all. The external class name is not used for any styling purposes, and you
can just combine it with whatever class names you’re already using, eg: `class="
external my-other-class"`

  Does this work on admin pages?

No, it only modifies links on non-admin pages (this is by design).

  Can I change the required class name from `external`?

Yes, simply open `external-linker.php` and change the `EXTERNAL_LINKER_CLASS_NAME`
constant.

  Can I turn off the automatic post filter?

Yes, simply open `external-linker.php` and change the `EXTERNAL_LINKER_USE_FILTER`
constant to `false`.

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

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

貢献者

 *   [ jstar198 ](https://profiles.wordpress.org/jstar198/)

[“External Linker” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/external-linker)

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

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

## 変更履歴

#### 0.2

 * Added automatic post filter.

#### 0.1

 * Creation of plugin!

## メタ

 *  バージョン **0.2**
 *  最終更新日 **17年前**
 *  有効インストール数 **10+**
 *  検証済み最新バージョン: **2.8.3**
 *  言語
 * [English (US)](https://wordpress.org/plugins/external-linker/)
 * タグ
 * [blank](https://ja.wordpress.org/plugins/tags/blank/)[external](https://ja.wordpress.org/plugins/tags/external/)
   [link](https://ja.wordpress.org/plugins/tags/link/)[target](https://ja.wordpress.org/plugins/tags/target/)
   [validation](https://ja.wordpress.org/plugins/tags/validation/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/external-linker/advanced/)

## 評価

レビューはまだ送信されていません。

[Your review](https://wordpress.org/support/plugin/external-linker/reviews/#new-post)

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

## 貢献者

 *   [ jstar198 ](https://profiles.wordpress.org/jstar198/)

## サポート

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

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