{"id":1002004,"date":"2009-01-16T09:07:10","date_gmt":"2009-01-16T14:07:10","guid":{"rendered":"http:\/\/www.elharo.com\/blog\/?p=1002004"},"modified":"2009-01-16T09:07:10","modified_gmt":"2009-01-16T14:07:10","slug":"turning-off-captions","status":"publish","type":"post","link":"https:\/\/www.elharo.com\/blog\/software-development\/web-development\/blogging\/2009\/01\/16\/turning-off-captions\/","title":{"rendered":"Turning Off Captions"},"content":{"rendered":"<p>Let&#8217;s see if <a href=\"http:\/\/katzwebdesign.wordpress.com\/2008\/07\/21\/how-to-turn-off-captions-in-wordpress-26\/\">this worked<\/a>. If you don&#8217;t see a caption it worked:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/www.elharo.com\/blog\/wp-content\/uploads\/2009\/01\/computerspider2.jpg\" alt=\"A Jumping spider on top of my monitor\" title=\"computerspider2\" width=\"482\" height=\"341\" class=\"alignnone size-full wp-image-1002005\" srcset=\"https:\/\/www.elharo.com\/blog\/wp-content\/uploads\/2009\/01\/computerspider2.jpg 482w, https:\/\/www.elharo.com\/blog\/wp-content\/uploads\/2009\/01\/computerspider2-150x106.jpg 150w\" sizes=\"auto, (max-width: 482px) 100vw, 482px\" \/><br \/>\n<!--more--><\/p>\n<p>Yep, it worked. I inserted the photo with an <code>alt<\/code> attribute but no caption. Turning off captions really should be a global option in WordPress rather than requiring theme hacking. An <code>alt<\/code> attribute is not the same thing as a caption, nor is the same text appropriate.  <\/p>\n<p>P.S. That&#8217;s a jumping spider that visited me at my desk for a few days, one of the <a href=\"http:\/\/en.wikipedia.org\/wiki\/Jumping_spider\">Salticidae<\/a>, the world&#8217;s largest family of spiders. Beyond that I haven&#8217;t yet ID&#8217;d it. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Let&#8217;s see if this worked. If you don&#8217;t see a caption it worked:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[81,82,79,78,80],"class_list":["post-1002004","post","type-post","status-publish","format-standard","hentry","category-blogging","tag-alt","tag-caption","tag-jumping-spider","tag-spiders","tag-wordpress"],"_links":{"self":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts\/1002004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/comments?post=1002004"}],"version-history":[{"count":3,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts\/1002004\/revisions"}],"predecessor-version":[{"id":1002008,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/posts\/1002004\/revisions\/1002008"}],"wp:attachment":[{"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/media?parent=1002004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/categories?post=1002004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.elharo.com\/blog\/wp-json\/wp\/v2\/tags?post=1002004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}