{"id":2769,"date":"2013-11-10T20:40:19","date_gmt":"2013-11-10T11:40:19","guid":{"rendered":"http:\/\/apr20.net\/?p=2769"},"modified":"2013-11-10T20:40:19","modified_gmt":"2013-11-10T11:40:19","slug":"wordpress%e3%81%ae%e3%82%b5%e3%83%a0%e3%83%8d%e3%82%a4%e3%83%ab%e3%81%ae%e3%82%b5%e3%82%a4%e3%82%ba%e6%8c%87%e5%ae%9a%e3%82%92%e5%89%8a%e9%99%a4","status":"publish","type":"post","link":"https:\/\/apr20.net\/?p=2769","title":{"rendered":"WordPress\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u3092\u524a\u9664"},"content":{"rendered":"<p>WordPress\u306e\u30c6\u30fc\u30de\u5185\u3067\u3001the_post_thumbnail\u3067\u8a18\u4e8b\u306e\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u3092\u8868\u793a\u3055\u305b\u308b\u969b\u306b\u3001width,height\u304cimg\u30bf\u30b0\u5185\u3067\u8a2d\u5b9a\u3055\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u308c\u3092\u6d88\u3059\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n<p>\u30ec\u30b9\u30dd\u30f3\u30b7\u30d6\u30a6\u30a7\u30d6\u30c7\u30b6\u30a4\u30f3\u3092\u3059\u308b\u969b\u306b\u306f\u3001\u30cf\u30fc\u30c9\u30b3\u30fc\u30c7\u30a3\u30f3\u30b0\u306f\u5916\u3057\u305f\u307b\u3046\u304c\u3044\u3044\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u306d\u3002<\/p>\n<p>functions.php\u5185\u306b\u4ee5\u4e0b\u3092\u8a18\u8ff0<\/p>\n<p>[php]\/\/\u30b5\u30e0\u30cd\u30a4\u30eb\u306e\u30b5\u30a4\u30ba\u6307\u5b9a\u524a\u9664<br \/>\nadd_filter( &#8216;post_thumbnail_html&#8217;, &#8216;remove_thumbnail_dimensions&#8217;, 10, 3 );<\/p>\n<p>function remove_thumbnail_dimensions( $html, $post_id, $post_image_id ) {<br \/>\n    $html = preg_replace( &#8216;\/(width|height)=\\&quot;\\d*\\&quot;\\s\/&#8217;, &quot;&quot;, $html );<br \/>\n    return $html;<br \/>\n}<br \/>\n[\/php] <\/p>\n<div style=\"position: absolute; overflow: hidden; width: 2px; height: 1px; left: -288; top: -277; z-index: 177;\"><a href=\"http:\/\/newyorklimo.newsforyou.biz\">new york limo service<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306e\u30c6\u30fc\u30de\u5185\u3067\u3001the_post_thumbnail\u3067\u8a18\u4e8b\u306e\u30a2\u30a4&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,2,5],"tags":[],"class_list":["post-2769","post","type-post","status-publish","format-standard","hentry","category-php","category-web","category-wordpress-web-category"],"_links":{"self":[{"href":"https:\/\/apr20.net\/index.php?rest_route=\/wp\/v2\/posts\/2769","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/apr20.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/apr20.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/apr20.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/apr20.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2769"}],"version-history":[{"count":0,"href":"https:\/\/apr20.net\/index.php?rest_route=\/wp\/v2\/posts\/2769\/revisions"}],"wp:attachment":[{"href":"https:\/\/apr20.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2769"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/apr20.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2769"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/apr20.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2769"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}