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

Links in Captions

説明

WordPress 3.4 Supports HTML in Captions!
Basic HTML support has been added to the caption field in the image uploader. This allows you to add links – great for photo credits or licensing details – and basic formatting such as bold and italicized text.

For WordPress 3.3.2 and earlier…finally you can add links to your image captions.

Adding links to captions is the 9th most popular request in the WordPress Ideas forum.

With this plugin, you can also use shortcodes in captions.

How to use

Inside the caption input, you can now add a link by using the following format: {a href="http://www.example.com"}Anchor text here{/a}, or alternatively you could use {link url="http://www.example.com"}Anchor text here{/link}.

You can also specify target, title, and rel attributes: {link url="http://www.example.com" target="_blank" rel="nofollow" title="I never could do this before!"}Anchor text here{/link}

You may also be interested in:

Rich Text Tags – Enable rich text editing of tags, categories, and taxonomies. Add value to your tag & category pages and improve your website’ SEO.

インストール

  1. Upload plugin files to your plugins folder, or install using WordPress’ built-in Add New Plugin installer
  2. Activate the plugin
  3. Edit a post or page and insert an image
  4. Inside the caption input, you can now add a link by using the following format: {link url="http://www.example.com"}Anchor text here{/link}
    • Optional: You can also specify target and rel attributes: {link url="http://www.example.com" target="_blank" rel="nofollow"}Anchor text here{/link}

FAQ

What is the plugin license?
  • This plugin is released under a GPL license.

評価

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

貢献者と開発者

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

貢献者

“Links in Captions” をあなたの言語に翻訳しましょう。

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

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

変更履歴

1.2

  • Fixed issue where title wasn’t displaying properly – this was because the plugin didn’t generate wrapping quotes. (Thanks, Tevya)
  • Added support for {a href=""}Link{/a} formatting instead of only {link}. Developers and people used to writing HTML should find this more natural.

1.1

  • Fixed issue with quotes: I did a ton of variations and possible combinations and made sure that each combination works. Now it shouldn’t matter whether the caption uses single or double quotes, or even any attributes inside the link
  • Added title attribute support

1.0

  • Initial plugin release.