Taro External Permalink

説明

This plugin adds an “External Link” section to the post editor.

If you’re publishing posts that are primarily used to link to external news articles or resources, the plugin overrides the post’s permalink and redirects users to the specified external URL when they click the post.

The “External Link” section has two options:

  1. External link (This URL will replace the return value of the_permalink)
  2. Open in new window (checkbox)

By setting an external link, the link in your widget, post archive and so on, will refer to the new URL you saved.

Settings

This plugin adds a new section to Writing Settings with 3 different options.

  1. Post Types

Lets you select which post types should support external links.

  1. Attributes

When set to Automatic, the target and rel attributes will be automatically added to anchor elements linking to the new URL, using jQuery.

When set to Manual, developers must manually add anchor elements. You can either use tsep_anchor_attributes() to generate the href, rel and target attributes, or use the_permalink() to populate the href attribute and tsep_target_attributes() to add the target and rel attributes separately.

Easy method:

<a  class="some-class">Click here!

With separate attributes:

<a href=""  class="some-class">Click here!
  1. Single Page Content

This option allows you to manually write an anchor element that will be added to the post’s content. Use %link% for the external link, and %rel% for the target and rel attributes.

Click here!

This will produce the following output:

Click here!

インストール

プラグインディレクトリから

インストールをクリックし、有効化してください。

From GitHub

リリースをご覧ください。

FAQ

どこでサポートを受けられますか?

Please create new ticket on the support forum.

どのように貢献できますか?

イシューを新規作成するか、プルリクエストを送ってください。

評価

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

貢献者と開発者

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

貢献者

“Taro External Permalink” は1ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Taro External Permalink” をあなたの言語に翻訳しましょう。

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

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.8

  • PHP 5.6 未満のサポートを終了しました。
  • メディアセレクターで PDF やその他の形式を許可する。
  • 投稿タイプが選択されていない場合に通知を表示する。

1.0.7

  • カスタム投稿タイプに対応しました。
  • 個別ページにおけるコンテンツラベルに関する不具合を修正しました。

1.0.0

  • 最初のリリース。