{"id":693,"date":"2023-11-10T18:54:54","date_gmt":"2023-11-10T09:54:54","guid":{"rendered":"https:\/\/tokyo1970.com\/web\/?p=693"},"modified":"2023-11-10T18:54:54","modified_gmt":"2023-11-10T09:54:54","slug":"single-php%e3%81%ae%e5%88%86%e5%b2%90","status":"publish","type":"post","link":"https:\/\/tokyo1970.com\/web\/?p=693","title":{"rendered":"single.php\u306e\u5206\u5c90"},"content":{"rendered":"<p>single.php\u306b\u4e0b\u8a18\u3092\u66f8\u304f<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php\r\n$post = $wp_query-&gt;post;\r\nif ( in_category('aaa') ) {\r\ninclude(TEMPLATEPATH.'\/single_aaa.php');\r\n}\r\n elseif ( in_category('bbb') ) {\r\ninclude(TEMPLATEPATH.'\/single_bbb.php');\r\n}\r\n elseif ( in_category('ccc') ) {\r\ninclude(TEMPLATEPATH.'\/single_ccc.php');\r\n}\r\n elseif ( in_category('ddd') ) {\r\ninclude(TEMPLATEPATH.'\/single_ddd.php');\r\n}\r\n else {\r\ninclude(TEMPLATEPATH.'\/single_normal.php');\r\n}\r\n?&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>single.php\u306b\u4e0b\u8a18\u3092\u66f8\u304f &lt;?php $post = $wp_query-&gt;post; if ( in_category(&#8216;aaa&#8217;) ) { include(TEMPLATEPATH.&#8217;\/singl&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-693","post","type-post","status-publish","format-standard","hentry","category-wordpress"],"_links":{"self":[{"href":"https:\/\/tokyo1970.com\/web\/index.php?rest_route=\/wp\/v2\/posts\/693","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tokyo1970.com\/web\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tokyo1970.com\/web\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tokyo1970.com\/web\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tokyo1970.com\/web\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=693"}],"version-history":[{"count":1,"href":"https:\/\/tokyo1970.com\/web\/index.php?rest_route=\/wp\/v2\/posts\/693\/revisions"}],"predecessor-version":[{"id":694,"href":"https:\/\/tokyo1970.com\/web\/index.php?rest_route=\/wp\/v2\/posts\/693\/revisions\/694"}],"wp:attachment":[{"href":"https:\/\/tokyo1970.com\/web\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=693"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tokyo1970.com\/web\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=693"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tokyo1970.com\/web\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=693"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}