{"id":5296,"date":"2019-04-05T01:09:58","date_gmt":"2019-04-04T16:09:58","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=5296"},"modified":"2019-04-05T01:10:49","modified_gmt":"2019-04-04T16:10:49","slug":"tcd%e3%83%86%e3%83%bc%e3%83%9emonolith%ef%bc%9a%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%ab%e3%80%8c%e5%85%88%e9%a0%ad%e3%81%ab","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=5296","title":{"rendered":"TCD\u30c6\u30fc\u30deMONOLITH\uff1a\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30d6\u30ed\u30b0\u4e00\u89a7\u306b\u300c\u5148\u982d\u306b\u56fa\u5b9a\u8868\u793a\u300d\u3092\u8a2d\u5b9a\u3057\u305f\u8a18\u4e8b\u3092\u8868\u793a\u3055\u305b\u308b\u65b9\u6cd5"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>\u300c\u6295\u7a3f\u3092\u5148\u982d\u306b\u56fa\u5b9a\u8868\u793a\u300d\u304c\u3001\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30d6\u30ed\u30b0\u4e00\u89a7\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u3002<\/h4>\n<p>\u30c6\u30fc\u30de\u306e\u901a\u5e38\u4ed5\u69d8\u3067\u306f\u3001\u300c\u5148\u982d\u306b\u56fa\u5b9a\u8868\u793a\u300d\u306f\u30d6\u30ed\u30b0\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u307f\u53cd\u6620\u3055\u308c\u307e\u3059\u3002<\/p>\n<h4 class=\"style_headline2\"><span>A.<\/span>\u4e0b\u8a18\u306b\u3066\u3054\u5bfe\u5fdc\u304f\u3060\u3055\u3044\u3002<\/h4>\n<h5 class=\"style_headline3\">1. \u4efb\u610f\u306e\u8a18\u4e8b\u3092\u5148\u982d\u306b\u56fa\u5b9a\u8868\u793a\u8a2d\u5b9a\u3059\u308b\u3002<\/h5>\n<p>\u30d6\u30ed\u30b0\u8a18\u4e8b\u306e\u7de8\u96c6\u753b\u9762\u53f3\u5074\u304b\u3089\u300c\u516c\u958b\u72b6\u614b\u300d\u3092\u30af\u30ea\u30c3\u30af\u3057\u3001\u300c\u3053\u306e\u6295\u7a3f\u3092\u5148\u982d\u306b\u56fa\u5b9a\u8868\u793a\u300d\u306b\u30c1\u30a7\u30c3\u30af\u3092\u5165\u308c\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\uff08\u6295\u7a3f\u4e00\u89a7\u306e\u30af\u30a4\u30c3\u30af\u7de8\u96c6\u304b\u3089\u3082\u8a2d\u5b9a\u53ef\u80fd\u3067\u3059\u3002\uff09<\/p>\n<p>\u25bc\u8a18\u4e8b\u7de8\u96c6\u753b\u9762\uff08\u30af\u30ea\u30c3\u30af\u3067\u753b\u50cf\u3092\u5225\u30bf\u30d6\u306b\u3066\u62e1\u5927\u8868\u793a\u3057\u307e\u3059\u3002\uff09<br \/>\n<a href=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2019\/04\/monolith_sticky.jpg\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2019\/04\/monolith_sticky.jpg\" alt=\"\u8a18\u4e8b\u7de8\u96c6\u753b\u9762\u30ad\u30e3\u30d7\u30c1\u30e3\" \/><\/a><\/p>\n<h5 class=\"style_headline3\">2. \u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u300c\u5148\u982d\u306b\u56fa\u5b9a\u8868\u793a\u300d\u8a18\u4e8b\u3092\u8868\u793a\u3055\u305b\u308b<\/h5>\n<p>\u307e\u305a\u5148\u982d\u306b\u56fa\u5b9a\u3057\u305f\u3044\u8a18\u4e8b\u306e\u307f\u3092\u8868\u793a\u3055\u305b\u3066\u304b\u3089\u3001\u305d\u306e\u8a18\u4e8b\u4ee5\u5916\u3092\u4e26\u3079\u308b\u65b9\u6cd5\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p><b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>front-page.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>237\uff5e250\u884c\u76ee<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php\r\n   \/\/ blog list ----------------------------------------------\r\n   $post_num = esc_html($options&#x5B;'index_blog_num']);\r\n\u3000\uff08\u4e2d\u7565\uff09\r\n  &lt;?php endforeach; wp_reset_query(); ?&gt;\r\n &lt;\/ol&gt;\r\n&lt;?php }; ?&gt;\r\n<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;ol id=&quot;blog_list&quot; class=&quot;clearfix&quot;&gt;\r\n&lt;?php\r\n$sticked_posts = get_posts( array( 'post__in' =&gt; get_option( 'sticky_posts' ), 'posts_per_page' =&gt; -1 , 'post_type'=&gt; 'post' ) );\r\nforeach ( $sticked_posts as $post ) : setup_postdata( $post ); ?&gt;\r\n\t  &lt;li class=&quot;clearfix&quot;&gt;\r\n   &lt;a class=&quot;image&quot; href=&quot;&lt;?php the_permalink() ?&gt;&quot; title=&quot;&lt;?php the_title(); ?&gt;&quot;&gt;\r\n    &lt;?php if ($options&#x5B;'index_blog_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.m.j'); ?&gt;&lt;\/time&gt;&lt;\/p&gt;&lt;?php }; ?&gt;\r\n    &lt;?php if(has_post_thumbnail()) { the_post_thumbnail('size3'); } else { ?&gt;&lt;img src=&quot;&lt;?php echo bloginfo('template_url'); ?&gt;\/img\/common\/no_image3.gif&quot; title=&quot;&quot; alt=&quot;&quot; \/&gt;&lt;?php }; ?&gt;\r\n   &lt;\/a&gt;\r\n   &lt;div class=&quot;info&quot;&gt;\r\n    &lt;a class=&quot;title&quot; href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php trim_title(45); ?&gt;&lt;\/a&gt;\r\n    &lt;?php if(has_category()) { if ($options&#x5B;'index_blog_show_category']){ ?&gt;&lt;p class=&quot;category&quot;&gt;&lt;?php show_one_category(); ?&gt;&lt;\/p&gt;&lt;?php }; }; ?&gt;\r\n   &lt;\/div&gt;\r\n  &lt;\/li&gt;\r\n\t &lt;?php endforeach; wp_reset_postdata();?&gt;\r\n &lt;?php\r\n      \/\/ blog list ----------------------------------------------\r\n      $post_num = esc_html($options&#x5B;'index_blog_num']);\r\n      $args = array('post_type' =&gt; 'post', 'ignore_sticky_posts' =&gt; 1, 'orderby' =&gt; 'date', 'order' =&gt; 'DESC', 'posts_per_page' =&gt; $post_num);\r\n      $post_list = get_posts($args);\r\n      if ($post_list) {\r\n ?&gt;\r\n  &lt;?php foreach ($post_list as $post) : setup_postdata ($post); ?&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; title=&quot;&lt;?php the_title(); ?&gt;&quot;&gt;\r\n    &lt;?php if ($options&#x5B;'index_blog_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.m.j'); ?&gt;&lt;\/time&gt;&lt;\/p&gt;&lt;?php }; ?&gt;\r\n    &lt;?php if(has_post_thumbnail()) { the_post_thumbnail('size3'); } else { ?&gt;&lt;img src=&quot;&lt;?php echo bloginfo('template_url'); ?&gt;\/img\/common\/no_image3.gif&quot; title=&quot;&quot; alt=&quot;&quot; \/&gt;&lt;?php }; ?&gt;\r\n   &lt;\/a&gt;\r\n   &lt;div class=&quot;info&quot;&gt;\r\n    &lt;a class=&quot;title&quot; href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php trim_title(45); ?&gt;&lt;\/a&gt;\r\n    &lt;?php if(has_category()) { if ($options&#x5B;'index_blog_show_category']){ ?&gt;&lt;p class=&quot;category&quot;&gt;&lt;?php show_one_category(); ?&gt;&lt;\/p&gt;&lt;?php }; }; ?&gt;\r\n   &lt;\/div&gt;\r\n  &lt;\/li&gt;\r\n  &lt;?php endforeach; wp_reset_query(); ?&gt;\r\n &lt;?php }; ?&gt;\r\n &lt;\/ol&gt;\r\n<\/pre>\n<p>\u25bc\u5148\u982d\u306b\u56fa\u5b9a\u8a18\u4e8b\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2019\/04\/monolith_front_sticky.jpg\" alt=\"\u5148\u982d\u56fa\u5b9a\u8a18\u4e8b\u306e\u8868\u793a\u30a4\u30e1\u30fc\u30b8\" \/><\/p>\n<h5 class=\"style_headline3\">3. \u30d6\u30ed\u30b0\u8a18\u4e8b\u306e\u8868\u793a\u6570\u3092\u5909\u66f4\u3059\u308b<\/h5>\n<p>\u4e0a\u8a18\u3067\u306f\u3001\u4e00\u89a7\u306b\u306f\u5148\u982d\u56fa\u5b9a\u306b\u3057\u305f1\u8a18\u4e8b\u5206\u304c\u591a\u304f\u8868\u793a\u3055\u308c\u3066\u3057\u307e\u3044\u307e\u3059\u3002<br \/>\n\u305d\u3053\u3067\u3001\u30c6\u30fc\u30de\u30aa\u30d7\u30b7\u30e7\u30f3\u306e\u300c\u30d6\u30ed\u30b0\u8a18\u4e8b\u306e\u6570\u300d\u306b\u4efb\u610f\u306e\u8a18\u4e8b\u6570\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p><b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>admin\/theme-options.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>443\u884c\u76ee\u4ed8\u8fd1<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n '3' =&gt; array('value' =&gt; '3','label' =&gt; '3'),\r\n '6' =&gt; array('value' =&gt; '6','label' =&gt; '6'),\r\n '9' =&gt; array('value' =&gt; '9','label' =&gt; '9'),\r\n '12' =&gt; array('value' =&gt; '12','label' =&gt; '12')\r\n<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n '3' =&gt; array('value' =&gt; '3','label' =&gt; '3'),\r\n '5' =&gt; array('value' =&gt; '5','label' =&gt; '5'),\r\n '6' =&gt; array('value' =&gt; '6','label' =&gt; '6'),\r\n '9' =&gt; array('value' =&gt; '9','label' =&gt; '9'),\r\n '12' =&gt; array('value' =&gt; '12','label' =&gt; '12')\r\n<\/pre>\n<p>\u5916\u89b3\uff1eTCD\u30c6\u30fc\u30de\u30aa\u30d7\u30b7\u30e7\u30f3\uff1e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u300c\u30d6\u30ed\u30b0\u30b3\u30f3\u30c6\u30f3\u30c4\u300d\u3067\u3001<br \/>\n\u30d6\u30ed\u30b0\u8a18\u4e8b\u306e\u6570\u306e\u30d7\u30eb\u30c0\u30a6\u30f3\u30ea\u30b9\u30c8\u306b\u300c5\u300d\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n<p>\u203b\u65e2\u306b\u3042\u308b3\u308412\u306a\u3069\u3067\u4f7f\u308f\u306a\u3044\u3082\u306e\u304c\u3042\u308c\u3070\u3001\u6570\u5b57\u90e8\u5206\u3092\u5909\u66f4\u9802\u304f\u3053\u3068\u3067\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>\u25bc\u5148\u982d\u306b\u56fa\u5b9a\u306e\u8a18\u4e8b\uff0b5\u8a18\u4e8b\u3092\u8868\u793a\u3057\u307e\u3057\u305f\u3002<br \/>\n<img decoding=\"async\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2019\/04\/monolith_front_sticky_2.jpg\" alt=\"\u5148\u982d\u56fa\u5b9a\u8a18\u4e8b\u306e\u8868\u793a\uff3f\u8abf\u6574\u5f8c\u306e\u30a4\u30e1\u30fc\u30b8\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"Q.\u300c\u6295\u7a3f\u3092\u5148\u982d\u306b\u56fa\u5b9a\u8868\u793a\u300d\u304c\u3001\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30d6\u30ed\u30b0\u4e00\u89a7\u306b\u53cd\u6620\u3055\u308c\u306a\u3044\u3002 \u30c6\u30fc\u30de\u306e\u901a\u5e38\u4ed5\u69d8\u3067\u306f\u3001\u300c\u5148\u982d\u306b\u56fa\u5b9a\u8868\u793a\u300d\u306f\u30d6\u30ed\u30b0\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u307f\u53cd\u6620\u3055\u308c\u307e\u3059\u3002 A.\u4e0b\u8a18\u306b\u3066\u3054\u5bfe\u5fdc\u304f\u3060\u3055\u3044\u3002 1. \u4efb\u610f\u306e\u8a18\u4e8b\u3092\u5148\u982d\u306b\u56fa\u5b9a\u8868\u793a [&hellip;]","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[437],"tags":[66,438,696],"class_list":["post-5296","post","type-post","status-publish","format-standard","hentry","category-tcd042","tag-top-page","tag-438","tag-696"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/5296","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=5296"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/5296\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5296"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5296"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5296"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}