{"id":832,"date":"2016-02-19T08:10:18","date_gmt":"2016-02-18T23:10:18","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=832"},"modified":"2021-04-30T21:29:18","modified_gmt":"2021-04-30T12:29:18","slug":"%e5%95%86%e5%93%81%e3%83%bb%e3%83%96%e3%83%ad%e3%82%b0%e3%81%ae%e8%a1%a8%e7%a4%ba%e6%95%b0%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=832","title":{"rendered":"TCD\u30c6\u30fc\u30dePrecious\uff1a\u304a\u77e5\u3089\u305b\u30fb\u5546\u54c1\u30fb\u30d6\u30ed\u30b0\u306e\u8868\u793a\u6570\u3092\u5909\u66f4\u3059\u308b"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>\u304a\u77e5\u3089\u305b\u30fb\u5546\u54c1\u30fb\u30d6\u30ed\u30b0\u306e\u8868\u793a\u6570\u3092\u5909\u66f4\u3059\u308b<\/h4>\n<p>TOP\u30da\u30fc\u30b8\u306b\u304a\u3051\u308b\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8868\u793a\u6570\u306f<br \/>\n\u304a\u77e5\u3089\u305b\uff1a3\u3064<br \/>\n\u5546\u54c1\uff1a6\u30a2\u30a4\u30c6\u30e0<br \/>\n\u30d6\u30ed\u30b0\uff1a3\u8a18\u4e8b<br \/>\n\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n\u3053\u308c\u3092\u4efb\u610f\u306e\u6570\u306b\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/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><strong>\u25a0\u304a\u77e5\u3089\u305b\u306e\u6570\u3092\u5909\u66f4\u3059\u308b\u5834\u5408<\/strong><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; title: ; notranslate\" title=\"\">  &lt;!-- index news --&gt;\r\n &lt;?php if ($options&#x5B;'show_index_news']) { ?&gt;\r\n &lt;div id=&quot;index_news&quot;&gt;\r\n  &lt;h3 class=&quot;headline1&quot;&gt;&lt;span&gt;&lt;?php echo $options&#x5B;'index_headline_news']; ?&gt;&lt;\/span&gt;&lt;\/h3&gt;\r\n  &lt;ol class=&quot;clearfix&quot;&gt;\r\n   &lt;?php\r\n        $args = array('post_type' =&gt; 'news', 'numberposts' =&gt; 3);\r\n        $news_post=get_posts($args);\r\n        if ($news_post) :\r\n        foreach ($news_post as $post) : setup_postdata ($post);\r\n   ?&gt;<\/pre>\n<p>\u203b\u300c &#8216;numberposts&#8217; => 3 \u300d\u90e8\u5206\u306e\u300c3\u300d\u3092\u4efb\u610f\u306e\u6570\u5024\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u25a0\u5546\u54c1\u6570\u3092\u5909\u66f4\u3059\u308b\u5834\u5408<\/strong><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; title: ; notranslate\" title=\"\"> &lt;!-- product list --&gt;\r\n &lt;?php\r\n      if ($options&#x5B;'show_index_product']) {\r\n      $args = array('post_type' =&gt; 'product', 'numberposts' =&gt; 6);\r\n      $product_post=get_posts($args);\r\n      if ($product_post) {\r\n ?&gt;<\/pre>\n<p>\u203b\u300c &#8216;numberposts&#8217; => 6 \u300d\u90e8\u5206\u306e\u300c6\u300d\u3092\u4efb\u610f\u306e\u6570\u5024\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<p><strong>\u25a0\u30d6\u30ed\u30b0\u306e\u8a18\u4e8b\u6570\u3092\u5909\u66f4\u3059\u308b\u5834\u5408<\/strong><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; title: ; notranslate\" title=\"\"> &lt;!-- blog list --&gt;\r\n &lt;?php if ($options&#x5B;'show_index_blog']) { ?&gt;\r\n &lt;div id=&quot;index_blog&quot;&gt;\r\n  &lt;h3 class=&quot;headline1&quot;&gt;&lt;span&gt;&lt;?php echo $options&#x5B;'index_headline_blog']; ?&gt;&lt;\/span&gt;&lt;\/h3&gt;\r\n  &lt;ol class=&quot;clearfix&quot;&gt;\r\n   &lt;?php\r\n        $args = array('post_type' =&gt; 'post', 'numberposts' =&gt; 3);\r\n        $index_recent_post=get_posts($args);\r\n        if ($index_recent_post) :\r\n        foreach ($index_recent_post as $post) : setup_postdata ($post);\r\n   ?&gt;<\/pre>\n<p>\u203b\u300c &#8216;numberposts&#8217; => 3 \u300d\u90e8\u5206\u306e\u300c3\u300d\u3092\u4efb\u610f\u306e\u6570\u5024\u306b\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Q.\u304a\u77e5\u3089\u305b\u30fb\u5546\u54c1\u30fb\u30d6\u30ed\u30b0\u306e\u8868\u793a\u6570\u3092\u5909\u66f4\u3059\u308b TOP\u30da\u30fc\u30b8\u306b\u304a\u3051\u308b\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u8868\u793a\u6570\u306f \u304a\u77e5\u3089\u305b\uff1a3\u3064 \u5546\u54c1\uff1a6\u30a2\u30a4\u30c6\u30e0 \u30d6\u30ed\u30b0\uff1a3\u8a18\u4e8b \u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002 \u3053\u308c\u3092\u4efb\u610f\u306e\u6570\u306b\u5909\u66f4\u3059\u308b\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002 A.\u4e0b\u8a18\u306e [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[66,135,127,822],"class_list":["post-832","post","type-post","status-publish","format-standard","hentry","category-tcd019","tag-top-page","tag-135","tag-127","tag-822"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/832","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=832"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/832\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=832"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=832"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=832"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}