{"id":3659,"date":"2017-07-14T04:14:00","date_gmt":"2017-07-13T19:14:00","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=3659"},"modified":"2025-09-30T20:08:36","modified_gmt":"2025-09-30T11:08:36","slug":"tcd%e3%83%86%e3%83%bc%e3%83%9eopinion%e3%81%ae%e3%83%88%e3%83%83%e3%83%97%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ab%e3%81%82%e3%82%8b%e3%80%8c%e3%81%8a%e3%81%99%e3%81%99%e3%82%81%e3%82%ab%e3%83%86%e3%82%b4","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=3659","title":{"rendered":"TCD\u30c6\u30fc\u30deOpinion\uff1a\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u3042\u308b\u300c\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u300d\u306b\u4e00\u90e8\u306e\u8a18\u4e8b\u306e\u307f\u8868\u793a\u3055\u305b\u308b\u65b9\u6cd5"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>\u300c\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u300d\u306e\u4e00\u90e8\u306e\u8a18\u4e8b\u3092\u9664\u5916\u3059\u308b\u65b9\u6cd5<\/h4>\n<p>Opinion\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u306f\u4e0b\u8a18\u306e\u3088\u3046\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\u30ab\u30c6\u30b4\u30ea\u30fc\u6bce\u306b\u5206\u985e\u3057\u3066\u3044\u308b\u8a18\u4e8b\u306e\u4e2d\u3067\u3082\u4e00\u90e8\u306e\u8a18\u4e8b\u306e\u307f\u8868\u793a\u3055\u305b\u305f\u3044\u4e8b\u304c\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2017\/07\/catkiji.jpg\" alt=\"\" width=\"654\" height=\"435\" class=\"alignnone size-full wp-image-3662\" srcset=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2017\/07\/catkiji.jpg 654w, https:\/\/tcd-manual.net\/wp-content\/uploads\/2017\/07\/catkiji-300x200.jpg 300w, https:\/\/tcd-manual.net\/wp-content\/uploads\/2017\/07\/catkiji-600x399.jpg 600w\" sizes=\"auto, (max-width: 654px) 100vw, 654px\" \/><\/p>\n<h4 class=\"style_headline2\"><span>A.<\/span>\u4e0b\u8a18\u306ephp\u30d5\u30a1\u30a4\u30eb\u306e\u8a72\u5f53\u7b87\u6240\u3092\u7de8\u96c6\u3057\u307e\u3059<\/h4>\n<p>\u305d\u306e\u5834\u5408\u306e\u4e00\u90e8\u306e\u8a18\u4e8b\u306e\u307f\u8868\u793a\u3055\u305b\u308b\u65b9\u6cd5\u30922\u30d1\u30bf\u30fc\u30f3\u3054\u6848\u5185\u81f4\u3057\u307e\u3059\u3002<br \/>\n\u3010\uff11\u3011\u30ab\u30c6\u30b4\u30ea\u30fc\u3068\u30bf\u30b0\u3067\u6307\u5b9a\u3057\u305f\u8a18\u4e8b\u306e\u307f\u8868\u793a\u3055\u305b\u308b\u65b9\u6cd5<br \/>\n\u30102\u3011\u8907\u6570\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\uff08A\u30ab\u30c6\u30b4\u30ea\u30fc\u3068B\u30ab\u30c6\u30b4\u30ea\u30fc\uff09\u3092\u9078\u629e\u3057\u3066\u3044\u308b\u3068\u304d\u306bB\u30ab\u30c6\u30b4\u30ea\u30fc\u3082\u542b\u307e\u308c\u308b\u8a18\u4e8b\u306f\u3001\u9664\u5916\u3059\u308b\u65b9\u6cd5<\/p>\n<p>\u3010\uff11\u3011\u30ab\u30c6\u30b4\u30ea\u30fc\u3068\u30bf\u30b0\u3067\u6307\u5b9a\u3057\u305f\u8a18\u4e8b\u306e\u307f\u8868\u793a\u3055\u305b\u308b\u65b9\u6cd5<br \/>\n<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; highlight: [6]; title: ; notranslate\" title=\"\">\r\n &lt;?php \/\/ Category post1 --------------------------------------------------------------------------------------- ?&gt;\r\n  &lt;?php\r\n       if($options&#x5B;'index_category1']) {\r\n       $cat_id1 = $options&#x5B;'index_category1'];\r\n       $cat_info1 = get_category($cat_id1);\r\n       $args = array('post_type' =&gt; 'post', 'numberposts' =&gt; 5, 'category' =&gt; $cat_id1);\r\n       $index_category_post1 = get_posts($args);\r\n  ?&gt;\r\n<\/pre>\n<p>\u2193<\/p>\n<pre class=\"brush: php; highlight: [6]; title: ; notranslate\" title=\"\">\r\n &lt;?php \/\/ Category post1 --------------------------------------------------------------------------------------- ?&gt;\r\n  &lt;?php\r\n       if($options&#x5B;'index_category1']) {\r\n       $cat_id1 = $options&#x5B;'index_category1'];\r\n       $cat_info1 = get_category($cat_id1);\r\n       $args = array('post_type' =&gt; 'post', 'numberposts' =&gt; 5, 'category' =&gt; $cat_id1, 'tag' =&gt; 'ichioshi');\r\n       $index_category_post1 = get_posts($args);\r\n  ?&gt; \r\n<\/pre>\n<p>\u203b\u300c, &#8216;tag&#8217; =&gt; &#8216;ichioshi&#8217;\u300d\u306e\u8a18\u8f09\u3092\u8ffd\u8a18\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n\u30101\u3011\u306e\u5834\u5408\u306f\u3001\u4e0b\u8a18\u306e\u8a18\u4e8b\u7de8\u96c6\u753b\u9762\u30bf\u30b0\u306e\u5165\u529b\u753b\u9762\u306b\u6307\u5b9a\u3059\u308b\u30bf\u30b0\u3092\u8a18\u4e8b\u3054\u3068\u306b\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u4e0a\u8a18\u3067\u306f\u300cichioshi\u300d\u3068\u30bf\u30b0\u3092\u5165\u529b\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2017\/07\/tag.jpg\" alt=\"\" width=\"318\" height=\"212\" class=\"alignnone size-full wp-image-3661\" srcset=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2017\/07\/tag.jpg 318w, https:\/\/tcd-manual.net\/wp-content\/uploads\/2017\/07\/tag-300x200.jpg 300w\" sizes=\"auto, (max-width: 318px) 100vw, 318px\" \/><\/p>\n<p>\u30102\u3011\u8907\u6570\u306e\u30ab\u30c6\u30b4\u30ea\u30fc\uff08A\u30ab\u30c6\u30b4\u30ea\u30fc\u3068B\u30ab\u30c6\u30b4\u30ea\u30fc\uff09\u3092\u9078\u629e\u3057\u3066\u3044\u308b\u3068\u304d\u306bB\u30ab\u30c6\u30b4\u30ea\u30fc\u3082\u542b\u307e\u308c\u308b\u8a18\u4e8b\u306f\u3001\u9664\u5916\u3059\u308b\u65b9\u6cd5<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: php; highlight: [6]; title: ; notranslate\" title=\"\">\r\n &lt;?php \/\/ Category post1 --------------------------------------------------------------------------------------- ?&gt;\r\n  &lt;?php\r\n       if($options&#x5B;'index_category1']) {\r\n       $cat_id1 = $options&#x5B;'index_category1'];\r\n       $cat_info1 = get_category($cat_id1);\r\n       $args = array('post_type' =&gt; 'post', 'numberposts' =&gt; 5, 'category' =&gt; $cat_id1);\r\n       $index_category_post1 = get_posts($args);\r\n  ?&gt;\r\n<\/pre>\n<p>\u2193<\/p>\n<pre class=\"brush: php; highlight: [6]; title: ; notranslate\" title=\"\">\r\n &lt;?php \/\/ Category post1 --------------------------------------------------------------------------------------- ?&gt;\r\n  &lt;?php\r\n       if($options&#x5B;'index_category1']) {\r\n       $cat_id1 = $options&#x5B;'index_category1'];\r\n       $cat_info1 = get_category($cat_id1);\r\n       $args = array('post_type' =&gt; 'post', 'numberposts' =&gt; 5, 'category' =&gt; $cat_id1,'category__not_in' =&gt; array(1));\r\n       $index_category_post1 = get_posts($args);\r\n  ?&gt; \r\n<\/pre>\n<p>\u203b\u300c,&#8217;category__not_in&#8217; =&gt; array(1)\u300d\u306e\u8a18\u8f09\u3092\u8ffd\u8a18\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n\u30102\u3011\u306e\u5834\u5408\u306f\u3001\u4e0a\u8a18\u300carray(1)\u300d\u306e1\u306e\u7b87\u6240\u306b\u9664\u5916\u3057\u305f\u3044\u30ab\u30c6\u30b4\u30ea\u30fcID\u3092\u8a18\u8f09\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u8a18\u4e8b\u306e\u30ab\u30c6\u30b4\u30ea\u30fcID\u306e\u78ba\u8a8d\u306f\u30c0\u30c3\u30b7\u30e5\u30dc\u30fc\u30c9\u2192\u6295\u7a3f\u2192\u30ab\u30c6\u30b4\u30ea\u30fc\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n\u8a73\u3057\u304f\u306f\u4e0b\u8a18\u3092\u3054\u89a7\u304f\u3060\u3055\u3044\u3002<br \/>\n<a href=\"https:\/\/tcd-manual.net\/?p=3646\" target=\"_blank\">\u5171\u901a\uff1a\u8a18\u4e8b\u4e00\u89a7\u3092\u547c\u3073\u51fa\u3057\u305f\u308a\u3001\u4e00\u89a7\u304b\u3089\u9664\u3044\u305f\u308a\u3059\u308b\u6642\u306b\u4f7f\u3046\u30ab\u30c6\u30b4\u30eaID\u3063\u3066\u4f55\uff1f\u7ba1\u7406\u753b\u9762\u304b\u3089\u8abf\u3079\u308b\u65b9\u6cd5<\/a><br \/>\n\u300c\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u300d\u306f3\u3064\u3054\u7528\u610f\u304c\u3054\u3056\u3044\u307e\u3059\u306e\u3067\u3001Category post1~ Category post3\u306e\u5404\u7b87\u6240\u3067\u3054\u7de8\u96c6\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u25a0\u95a2\u9023\u8a18\u4e8b<br \/>\n\u300c\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u300d\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u5897\u3084\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u4e0b\u8a18\u306e\u8a18\u4e8b\u3092\u3054\u53c2\u7167\u304f\u3060\u3055\u3044\u3002<br \/>\n<a href=\"https:\/\/tcd-manual.net\/?p=2173\" target=\"_blank\">\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<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Q.\u300c\u304a\u3059\u3059\u3081\u30ab\u30c6\u30b4\u30ea\u30fc\u8a18\u4e8b\u300d\u306e\u4e00\u90e8\u306e\u8a18\u4e8b\u3092\u9664\u5916\u3059\u308b\u65b9\u6cd5 Opinion\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u306f\u4e0b\u8a18\u306e\u3088\u3046\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\u30ab\u30c6\u30b4\u30ea\u30fc\u6bce\u306b\u5206\u985e\u3057\u3066\u3044\u308b\u8a18\u4e8b\u306e\u4e2d\u3067\u3082\u4e00\u90e8\u306e\u8a18\u4e8b\u306e\u307f [&hellip;]","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[477,431,392,162],"class_list":["post-3659","post","type-post","status-publish","format-standard","hentry","category-tcd018","tag-477","tag-specified-category","tag-excluded-categories","tag-162"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/3659","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\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3659"}],"version-history":[{"count":1,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/3659\/revisions"}],"predecessor-version":[{"id":17413,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/3659\/revisions\/17413"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}