{"id":101559,"date":"2010-12-08T08:00:00","date_gmt":"2010-12-08T08:00:00","guid":{"rendered":"https:\/\/www.weixiaoduo.com\/plugins\/2024\/02\/22\/links-in-captions\/"},"modified":"2012-06-14T23:29:00","modified_gmt":"2012-06-14T23:29:00","slug":"links-in-captions","status":"publish","type":"post","link":"https:\/\/www.weixiaoduo.com\/plugins\/links-in-captions\/","title":{"rendered":"Links in Captions"},"content":{"rendered":"<blockquote>\n<p><strong>WordPress 3.4 Supports HTML in Captions!<\/strong><br \/>\nBasic HTML support has been added to the caption field in the image uploader. This allows you to add links \u2013 great for photo credits or licensing details \u2013 and basic formatting such as bold and italicized text.\n<\/p>\n<\/blockquote>\n<h3>For WordPress 3.3.2 and earlier\u2026finally you can add links to your image captions.<\/h3>\n<p>Adding links to captions is the <a href=\"https:\/\/wordpress.org\/extend\/ideas\/view\/top-rated\" rel=\"nofollow ugc\">9th most popular request<\/a> in the WordPress Ideas forum.<\/p>\n<p>With this plugin, you can also <strong>use <a href=\"https:\/\/codex.wordpress.org\/Shortcode_API\" rel=\"nofollow ugc\">shortcodes<\/a> in captions<\/strong>.<\/p>\n<h4>How to use<\/h4>\n<p>Inside the <code>caption<\/code> input, you can now add a link by using the following format: <code>{a href=\"http:\/\/www.example.com\"}Anchor text here{\/a}<\/code>, or alternatively you could use <code>{link url=\"http:\/\/www.example.com\"}Anchor text here{\/link}<\/code>.<\/p>\n<p><strong>You can also specify <code>target<\/code>, <code>title<\/code>, and <code>rel<\/code> attributes:<\/strong> <code>{link url=\"http:\/\/www.example.com\" target=\"_blank\" rel=\"nofollow\" title=\"I never could do this before!\"}Anchor text here{\/link}<\/code><\/p>\n<blockquote>\n<h4>You may also be interested in:<\/h4>\n<p><strong><a href=\"https:\/\/wordpress.org\/extend\/plugins\/rich-text-tags\/\" rel=\"ugc\">Rich Text Tags<\/a><\/strong> \u2013 Enable rich text editing of tags, categories, and taxonomies. Add value to your tag & category pages and improve your website\u2019 SEO.<\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>Easily add links to image captions in the WordPress editor.<\/p>\n","protected":false},"author":65,"featured_media":301226,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"slim_seo":{"title":"Links in Captions - \u8587\u6653\u6735\u63d2\u4ef6\u76ee\u5f55","description":"Easily add links to image captions in the WordPress editor."},"footnotes":""},"categories":[1],"tags":[11411,1143,635,29181,237],"class_list":["post-101559","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-caption","tag-captions","tag-link","tag-link-in-captions","tag-links"],"_links":{"self":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/101559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/users\/65"}],"replies":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/comments?post=101559"}],"version-history":[{"count":0,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/posts\/101559\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media\/301226"}],"wp:attachment":[{"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/media?parent=101559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/categories?post=101559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.weixiaoduo.com\/plugins\/wp-json\/wp\/v2\/tags?post=101559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}