Easily add links to image captions in the WordPress editor.
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.
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.
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.
caption
input, you can now add a link by using the following format: {link url="http://www.example.com"}Anchor text here{/link}
target
and rel
attributes: {link url="http://www.example.com" target="_blank" rel="nofollow"}Anchor text here{/link}
title
wasn’t displaying properly – this was because the plugin didn’t generate wrapping quotes. (Thanks, Tevya){a href=""}Link{/a}
formatting instead of only {link}
. Developers and people used to writing HTML should find this more natural.title
attribute support