{"id":1573,"date":"2016-05-18T12:26:05","date_gmt":"2016-05-18T03:26:05","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=1573"},"modified":"2019-07-31T18:10:53","modified_gmt":"2019-07-31T09:10:53","slug":"%e3%83%88%e3%83%83%e3%83%97%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e3%83%96%e3%83%ad%e3%82%b0%e4%b8%80%e8%a6%a7%e3%81%a8%e3%81%8a%e7%9f%a5%e3%82%89%e3%81%9b%e4%b8%80%e8%a6%a7%e3%81%ae%e4%bd%8d%e7%bd%ae","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=1573","title":{"rendered":"\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30d6\u30ed\u30b0\u4e00\u89a7\u3068\u304a\u77e5\u3089\u305b\u4e00\u89a7\u306e\u4f4d\u7f6e\u3092\u5165\u308c\u66ff\u3048\u308b"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30d6\u30ed\u30b0\u4e00\u89a7\u3068\u304a\u77e5\u3089\u305b\u4e00\u89a7\u306e\u5de6\u53f3\u306e\u4f4d\u7f6e\u3092\u53cd\u5bfe\u306b\u8868\u793a\u3057\u305f\u3044<\/h4>\n<p>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u4e2d\u8179\u306b\u8868\u793a\u3055\u308c\u308b\u30d6\u30ed\u30b0\u8a18\u4e8b\u4e00\u89a7\u3068\u304a\u77e5\u3089\u305b\u8a18\u4e8b\u4e00\u89a7\u306e\u5de6\u53f3\u3092\u5165\u308c\u66ff\u3048\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f\u307e\u305f\u3001\u30b9\u30de\u30db\u8868\u793a\u306e\u969b\u306e\u4e0a\u4e0b\u306e\u8868\u793a\u9806\u3082\u5165\u308c\u66ff\u3048\u3092\u3057\u305f\u3044\u3067\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<h4>\u2460PC\u8868\u793a\u306e\u969b\u306e\u5de6\u53f3\u306e\u8868\u793a\u5165\u308c\u66ff\u3048<\/h4>\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<h4>\u2460NEWS\u306e\u4f4d\u7f6e\u3092\u5de6\u304b\u3089\u53f3\u3078\u5909\u66f4<\/h4>\n<pre class=\"brush: php; highlight: [7]; title: ; notranslate\" title=\"\">\r\n  &lt;?php\r\n       $index_news_num = $options&#x5B;'index_news_num'];\r\n       $args = array('post_type' =&gt; 'news', 'ignore_sticky_posts' =&gt; 1, 'posts_per_page' =&gt; $index_news_num);\r\n       $index_news_list = get_posts($args);\r\n       if ($index_news_list) {\r\n  ?&gt;\r\n  &lt;div class=&quot;left&quot;&gt;\r\n<\/pre>\n<p>\u203b\u6700\u7d42\u884c\u306e&#8221;left&#8221;\u3092&#8221;right&#8221;\u3078\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<h4>\u2461BLOG\u306e\u4f4d\u7f6e\u3092\u53f3\u304b\u3089\u5de6\u3078\u5909\u66f4<\/h4>\n<pre class=\"brush: php; highlight: [7]; title: ; notranslate\" title=\"\">\r\n  &lt;?php\r\n       $index_blog_num = $options&#x5B;'index_blog_num'];\r\n       $args = array('post_type' =&gt; 'post', 'ignore_sticky_posts' =&gt; 1, 'posts_per_page' =&gt; $index_blog_num);\r\n       $index_blog_list = get_posts($args);\r\n       if ($index_blog_list) {\r\n  ?&gt;\r\n  &lt;div class=&quot;right&quot;&gt;\r\n<\/pre>\n<p>\u203b\u6700\u7d42\u884c\u306e&#8221;right&#8221;\u3092&#8221;left&#8221;\u3078\u5909\u66f4\u3057\u307e\u3059\u3002<\/p>\n<h4>\u2461\u30b9\u30de\u30db\u8868\u793a\u306e\u969b\u306e\u4e0a\u4e0b\u306e\u8868\u793a\u9806\u5165\u308c\u66ff\u3048<\/h4>\n<p><b>1.\u4e0b\u8a18\u30d5\u30a1\u30a4\u30eb\u306e\u8a72\u5f53\u7b87\u6240\u3092\u30ab\u30c3\u30c8(Ctrl+X)\u3057\u307e\u3059<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>mobile\/index.php<br \/>(\u30ef\u30fc\u30c9\u30d7\u30ec\u30b9\u7ba1\u7406\u753b\u9762\u304b\u3089\u306f\u76f4\u63a5\u53c2\u7167\u3067\u304d\u306a\u3044\u30d5\u30a1\u30a4\u30eb\u306a\u306e\u3067FTP\u7b49\u3092\u4f7f\u7528\u3057\u3001\u7de8\u96c6\u3092\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059)<br \/>\n<b>\u5207\u308a\u53d6\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n       $index_blog_num = $options&#x5B;'index_blog_num'];\r\n       $args = array('post_type' =&gt; 'post', 'ignore_sticky_posts' =&gt; 1, 'posts_per_page' =&gt; $index_blog_num);\r\n       $index_blog_list = get_posts($args);\r\n       if ($index_blog_list) {\r\n  ?&gt;\r\n  &lt;div id=&quot;index_blog&quot;&gt;\r\n   &lt;h3 class=&quot;headline&quot;&gt;&lt;?php echo $options&#x5B;'index_blog_headline']; ?&gt;&lt;\/h3&gt;\r\n   &lt;ol&gt;\r\n    &lt;?php\r\n         foreach ($index_blog_list as $post) : setup_postdata ($post);\r\n    ?&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 the_post_thumbnail('size1'); ?&gt;&lt;\/a&gt;\r\n     &lt;?php if ($options&#x5B;'show_date']){ ?&gt;&lt;p class=&quot;date&quot;&gt;&lt;time class=&quot;entry-date updated&quot; datetime=&quot;&lt;?php the_modified_time('c'); ?&gt;&quot;&gt;&lt;?php the_time('Y.n.j'); ?&gt;&lt;\/time&gt;&lt;\/p&gt;&lt;?php }; ?&gt;\r\n     &lt;a class=&quot;title&quot; href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/a&gt;\r\n    &lt;\/li&gt;\r\n    &lt;?php endforeach; wp_reset_query(); ?&gt;\r\n   &lt;\/ol&gt;\r\n   &lt;?php if($options&#x5B;'show_index_blog_button'] == 1) { ?&gt;\r\n   &lt;div class=&quot;link_button_wrap&quot;&gt;\r\n    &lt;div class=&quot;link_button&quot;&gt;&lt;?php next_posts_link($options&#x5B;'index_blog_button']) ?&gt;&lt;\/div&gt;\r\n   &lt;\/div&gt;\r\n   &lt;?php }; ?&gt;\r\n  &lt;\/div&gt;\r\n  &lt;?php }; ?&gt;\r\n<\/pre>\n<p><b>2.\u540c\u30d5\u30a1\u30a4\u30eb\u4e0a\u3001\u4e0b\u8a18\u30b3\u30fc\u30c9\u306e\u76f4\u4e0a\u90e8\u306b\u30da\u30fc\u30b9\u30c8(Ctrl+V)\u3057\u307e\u3059<\/b><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n  &lt;?php\r\n       $index_news_num = $options&#x5B;'index_news_num'];\r\n       $args = array('post_type' =&gt; 'news', 'ignore_sticky_posts' =&gt; 1, 'posts_per_page' =&gt; $index_news_num);\r\n       $index_news_list = get_posts($args);\r\n       if ($index_news_list) {\r\n  ?&gt;\r\n\uff08\u4ee5\u4e0b\u7701\u7565\uff09\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"Q.\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30d6\u30ed\u30b0\u4e00\u89a7\u3068\u304a\u77e5\u3089\u305b\u4e00\u89a7\u306e\u5de6\u53f3\u306e\u4f4d\u7f6e\u3092\u53cd\u5bfe\u306b\u8868\u793a\u3057\u305f\u3044 \u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u4e2d\u8179\u306b\u8868\u793a\u3055\u308c\u308b\u30d6\u30ed\u30b0\u8a18\u4e8b\u4e00\u89a7\u3068\u304a\u77e5\u3089\u305b\u8a18\u4e8b\u4e00\u89a7\u306e\u5de6\u53f3\u3092\u5165\u308c\u66ff\u3048\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304b\uff1f\u307e\u305f\u3001\u30b9\u30de\u30db\u8868\u793a\u306e\u969b\u306e\u4e0a\u4e0b\u306e\u8868\u793a\u9806\u3082\u5165\u308c\u66ff\u3048\u3092\u3057 [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[44],"tags":[268,66,180,51,157],"class_list":["post-1573","post","type-post","status-publish","format-standard","hentry","category-tcd029","tag-268","tag-top-page","tag-180","tag-layout","tag-157"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/1573","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=1573"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/1573\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1573"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1573"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1573"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}