{"id":2173,"date":"2016-08-02T13:20:22","date_gmt":"2016-08-02T04:20:22","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=2173"},"modified":"2020-05-28T07:17:12","modified_gmt":"2020-05-27T22:17:12","slug":"%e3%83%88%e3%83%83%e3%83%97%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e3%80%8c%e3%81%8a%e3%81%99%e3%81%99%e3%82%81%e3%82%ab%e3%83%86%e3%82%b4%e3%83%aa%e3%83%bc%e8%a8%98%e4%ba%8b%e3%80%8d%e3%82%92%e5%a2%97","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=2173","title":{"rendered":"TCD\u30c6\u30fc\u30deOpinion\uff1a\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u300c\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u300d\u3092\u5897\u3084\u3057\u305f\u3044"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u300c\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u300d\u3092\u5897\u3084\u3059\u65b9\u6cd5<\/h4>\n<p>Opinion\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u300c\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u300d\u304c\uff13\u3064\u63b2\u8f09\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u304c\u3001\u3053\u3061\u3089\u30924\u3064\u306b\u5909\u66f4\u3059\u308b\u4e8b\u306f\u53ef\u80fd\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n<h4 class=\"style_headline2\"><span>A.<\/span>\u4e0b\u8a18\u306ephp\u30d5\u30a1\u30a4\u30eb\u306e\u8a72\u5f53\u7b87\u6240\u3092\u5909\u66f4\u3057\u307e\u3059<\/h4>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\uff13\u3064\u306e\u300c\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u300d\u306f\u3001\u30c6\u30fc\u30de\u30aa\u30d7\u30b7\u30e7\u30f3\u306b\u3066\u9078\u629e\u3059\u308b\u3053\u3068\u3067\u8868\u793a\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u304c\u30014\u3064\u4ee5\u4e0a\u306b\u5897\u3084\u3059\u5834\u5408\u306f\u3001\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u306b\u305d\u306e\u90fd\u5ea6\u3001\u8a18\u5165\u3059\u308b\u5f62\u5f0f\u3068\u306a\u308a\u307e\u3059\u3002\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p><b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>index.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n &lt;?php \/\/ Category post3 --------------------------------------------------------------------------------------- ?&gt;\r\n\uff08\u7701\u7565\uff09\r\n  &lt;\/div&gt;&lt;!-- END .index_category_post --&gt;\r\n  &lt;\/div&gt;&lt;!-- END #index-category-post- --&gt;\r\n  &lt;?php }; ?&gt;\r\n\r\n\u203b\u3053\u306e\u4e0b\u3042\u305f\u308a\u306b\u8ffd\u52a0\r\n\r\n  &lt;?php \/\/ Category post4 --------------------------------------------------------------------------------------- ?&gt;\r\n  &lt;?php\r\n       $cat_id4 = 1;\r\n       $cat_info4 = get_category($cat_id4);\r\n       $args = array('post_type' =&gt; 'post', 'numberposts' =&gt; 5, 'category' =&gt; $cat_id4);\r\n       $index_category_post4 = get_posts($args);\r\n  ?&gt;\r\n  &lt;div id=&quot;index-category-post-&lt;?php echo $cat_id4; ?&gt;&quot;&gt;\r\n   &lt;h3 class=&quot;headline1&quot;&gt;&lt;?php echo $cat_info4-&gt;name; ?&gt;&lt;a href=&quot;&lt;?php echo get_category_link($cat_id4); ?&gt;&quot;&gt;&lt;?php _e(&quot;Archives&quot;,&quot;tcd-w&quot;); ?&gt;&lt;\/a&gt;&lt;\/h3&gt;\r\n   &lt;div class=&quot;index_category_post&quot;&gt;\r\n    &lt;?php\r\n         if ($index_category_post4) {\r\n          $i=1;\r\n          foreach ($index_category_post4 as $post) : setup_postdata ($post);\r\n           if($i==1) {\r\n    ?&gt;\r\n    &lt;div class=&quot;post1&quot;&gt;\r\n     &lt;a class=&quot;image&quot; href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php if ( has_post_thumbnail()) { echo the_post_thumbnail('size2'); } else { echo '&lt;img src=&quot;'; bloginfo('template_url'); echo '\/img\/common\/no_image2.jpg&quot; alt=&quot;&quot; title=&quot;&quot; \/&gt;'; }; ?&gt;&lt;\/a&gt;\r\n     &lt;?php if ($options&#x5B;'show_date']) { ?&gt;&lt;p class=&quot;date&quot;&gt;&lt;?php the_time('Y\/n\/j'); ?&gt;&lt;\/p&gt;&lt;?php }; ?&gt;\r\n     &lt;h4 class=&quot;title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php trim_title(35); ?&gt;&lt;\/a&gt;&lt;\/h4&gt;\r\n     &lt;div class=&quot;excerpt&quot;&gt;&lt;?php new_excerpt(45); ?&gt;&lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n    &lt;ul class=&quot;post2&quot;&gt;\r\n     &lt;?php } else { ?&gt;\r\n     &lt;li class=&quot;clearfix&quot;&gt;\r\n      &lt;a class=&quot;image&quot; href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php if ( has_post_thumbnail()) { echo the_post_thumbnail('size3'); } else { echo '&lt;img src=&quot;'; bloginfo('template_url'); echo '\/img\/common\/no_image3.jpg&quot; alt=&quot;&quot; title=&quot;&quot; \/&gt;'; }; ?&gt;&lt;\/a&gt;\r\n      &lt;div class=&quot;info&quot;&gt;\r\n      &lt;?php if ($options&#x5B;'show_date']) { ?&gt;&lt;p class=&quot;date&quot;&gt;&lt;?php the_time('Y-n-j'); ?&gt;&lt;\/p&gt;&lt;?php }; ?&gt;\r\n       &lt;h5 class=&quot;title&quot;&gt;&lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php trim_title(40); ?&gt;&lt;\/a&gt;&lt;\/h5&gt;\r\n      &lt;\/div&gt;\r\n     &lt;\/li&gt;\r\n     &lt;?php }; $i++; endforeach; wp_reset_query(); ?&gt;\r\n    &lt;\/ul&gt;\r\n    &lt;?php }; ?&gt;\r\n   &lt;\/div&gt;&lt;!-- END .index_category_post --&gt;\r\n  &lt;\/div&gt;&lt;!-- END #index-category-post- --&gt;\r\n<\/pre>\n<p>&nbsp;<br \/>\n\u4e0a\u8a18\u4f8b\u306f\u30ab\u30c6\u30b4\u30ea\u30fcID\u304c\u300c1\u300d\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u3067\u3059\u3002<br \/>\n\u300c$cat_id4 = 1;\u300d\u304c\u30ab\u30c6\u30b4\u30ea\u30fcID\u306e\u6307\u5b9a\u7b87\u6240\u3068\u306a\u308a\u307e\u3059\u306e\u3067\u3001\u9069\u5b9c\u6570\u5024\u3092\u3054\u5909\u66f4\u304f\u3060\u3055\u3044\u3002<br \/>\n\u307e\u305f\u3001\u66f4\u306b\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u3092\u5897\u3084\u3059\u5834\u5408\u306f\u3001<br \/>\n\u4e0a\u8a18\u30b3\u30fc\u30c9\u306e<br \/>\n$cat_id4<br \/>\n$cat_info4<br \/>\n$index_category_post4<br \/>\n\u3068\u3044\u3046\u5909\u6570\u306e\u6570\u5024\u90e8\u5206\u3092\u5909\u66f4\u3057\u3066\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n&nbsp;<br \/>\n\u6050\u308c\u308a\u307e\u3059\u304c\u30c6\u30fc\u30de\u30d5\u30a1\u30a4\u30eb\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306f\u30b5\u30dd\u30fc\u30c8\u306e\u5bfe\u8c61\u5916\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u4e07\u304c\u4e00\u4e0d\u5177\u5408\u304c\u751f\u3058\u307e\u3057\u3066\u3082\u5f0a\u793e\u3067\u306f\u8cac\u4efb\u3092\u8ca0\u3044\u304b\u306d\u307e\u3059\u306e\u3067\u3054\u4e86\u627f\u304f\u3060\u3055\u3044\u3002<br \/>\n\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u969b\u3057\u3066\u306f\u5fc5\u305a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3054\u7528\u610f\u306e\u4e0a<br \/>\n\u304a\u5ba2\u69d8\u306e\u8cac\u4efb\u306b\u304a\u3044\u3066\u5b9f\u65bd\u3057\u3066\u9802\u304d\u307e\u3059\u3088\u3046\u304a\u9858\u3044\u7533\u3057\u4e0a\u3052\u307e\u3059\u3002<\/p>\n<blockquote><p><span style=\"color:red;\">2020\/05\/28\u8ffd\u8a18<\/span><br \/>\n\u30c6\u30fc\u30de\u30a8\u30c7\u30a3\u30bf\u30fc\u304b\u3089\u4e0a\u8a18\u5185\u5bb9\u3092\u4fdd\u5b58\u3057\u305f\u969b\u306b\u300csyntax error, unexpected &#8221; (T_STRING)\u300d\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u308b\u5834\u5408\u306f\u3001\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u3066\u3044\u308b\u3068\u3055\u308c\u308b\u884c\u306b\u5168\u89d2\u30b9\u30da\u30fc\u30b9\u306a\u3069\u304c\u542b\u307e\u308c\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u304a\u624b\u6570\u3067\u3059\u304c\u3001\u305d\u306e\u884c\u3092\u534a\u89d2\u82f1\u6570\u5b57\u3067\u6253\u3061\u76f4\u3059\u3053\u3068\u306a\u3069\u3067\u30a8\u30e9\u30fc\u304c\u56de\u907f\u3055\u308c\u308b\u304b\u304a\u8a66\u3057\u304f\u3060\u3055\u3044\u3002\n<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"Q.\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u300c\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u300d\u3092\u5897\u3084\u3059\u65b9\u6cd5 Opinion\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u300c\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u300d\u304c\uff13\u3064\u63b2\u8f09\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u304c\u3001\u3053\u3061\u3089\u30924\u3064\u306b\u5909\u66f4\u3059\u308b\u4e8b\u306f\u53ef\u80fd\u3067\u3057\u3087\u3046\u304b\u3002 A.\u4e0b\u8a18\u306ephp\u30d5\u30a1\u30a4 [&hellip;]","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[687,328,66],"class_list":["post-2173","post","type-post","status-publish","format-standard","hentry","category-tcd018","tag-687","tag-328","tag-top-page"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/2173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2173"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/2173\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}