{"id":8438,"date":"2021-02-24T23:20:25","date_gmt":"2021-02-24T14:20:25","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=8438"},"modified":"2021-02-24T23:20:25","modified_gmt":"2021-02-24T14:20:25","slug":"tcd%e3%83%86%e3%83%bc%e3%83%9eswitch%ef%bc%9a%e3%83%88%e3%83%83%e3%83%97%e3%83%9a%e3%83%bc%e3%82%b8%e3%83%bb%e3%83%96%e3%83%ad%e3%82%b0%e4%b8%80%e8%a6%a7%e3%83%9a%e3%83%bc%e3%82%b8%e3%83%bb%e8%a9%b3","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=8438","title":{"rendered":"TCD\u30c6\u30fc\u30deSwitch\uff1a\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u30fb\u30d6\u30ed\u30b0\u4e00\u89a7\u30da\u30fc\u30b8\u30fb\u8a73\u7d30\u30da\u30fc\u30b8\u306e\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>\u30d6\u30ed\u30b0\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u826f\u3044\u306e\u3067\u3057\u3087\u3046\u304b\u3002<\/h4>\n<p>Switch\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u306e\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\u306b\u3064\u304d\u307e\u3057\u3066\u306f\u3001\u753b\u50cf\u5de6\u4e0a\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u91cd\u306d\u308b\u3088\u3046\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u3066\u6295\u7a3f\u65e5\u4ed8\u3092\u8868\u793a\u3057\u3066\u304a\u308a\u307e\u3059\u3002<br \/>\n\u753b\u50cf\u306e\u307f\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u3053\u3068\u306fCSS\u306e\u8abf\u6574\u306b\u3066\u5bb9\u6613\u304b\u3068\u5b58\u3058\u307e\u3059\u304c\u3001\u3053\u306e\u6295\u7a3f\u65e5\u4ed8\u90e8\u5206\u306b\u3064\u3044\u3066\u3082\u8abf\u6574\u304c\u5fc5\u8981\u3068\u306a\u3063\u3066\u307e\u3044\u308a\u307e\u3059\u3002<\/p>\n<p>\u203b\u306a\u304a\u3001\u30d6\u30ed\u30b0\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u30fb\u8a18\u4e8b\u8a73\u7d30\u30da\u30fc\u30b8\u306e\u65e5\u4ed8\u306b\u3064\u3044\u3066\u306f\u3001<br \/>\n\u3010TCD\u30c6\u30fc\u30de\uff1e\u30d6\u30ed\u30b0\uff1e\u8868\u793a\u8a2d\u5b9a\uff1e\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u30fb\u8a18\u4e8b\u8a73\u7d30\u30da\u30fc\u30b8\u5171\u901a\u306e\u8a2d\u5b9a\u306e\u300c\u65e5\u4ed8\u3092\u8868\u793a\u3059\u308b\u300d\u30c1\u30a7\u30c3\u30af\u3011\u3092\u5916\u3059\u3053\u3068\u3067\u975e\u8868\u793a\u306b\u9802\u3051\u307e\u3059\u3002<br \/>\n&nbsp;<br \/>\n\u25bc\u5909\u66f4\u7b87\u6240\u30a4\u30e1\u30fc\u30b8\uff08\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\uff09<br \/>\n<img decoding=\"async\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2021\/02\/switch_blog-img_before.jpg\" alt=\"\u5909\u66f4\u7b87\u6240\u30a4\u30e1\u30fc\u30b8\" style=\"border: 1px solid #ccc;\" \/><br \/>\n\u25bc\u5909\u66f4\u5f8c\u306e\u30a4\u30e1\u30fc\u30b8\uff08\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\uff09<br \/>\n<img decoding=\"async\" src=\"https:\/\/tcd-manual.net\/wp-content\/uploads\/2021\/02\/switch_blog-img_after.jpg\" alt=\"\u5909\u66f4\u5f8c\u306e\u30a4\u30e1\u30fc\u30b8\" style=\"border: 1px solid #ccc;\" \/><\/p>\n<h4 class=\"style_headline2\"><span>A.<\/span>\u4e0b\u8a18\u306e\u65b9\u6cd5\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/h4>\n<h5 class=\"style_headline3\">\u30fb\u30c8\u30c3\u30d7\u30da\u30fc\u30b8<\/h5>\n<p><b>1. \u672c\u6765\u306e\u65e5\u4ed8\u8868\u793a\u3092\u975e\u8868\u793a\u306b\u3059\u308b<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>\u3000\u30db\u30fc\u30e0\u30da\u30fc\u30b8 (front-page.php)<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u3000318\uff5e330\u884c\u76ee<br \/>\n\u524a\u9664\u307e\u305f\u306f&lt;!&#8211; &#8211;&gt;\u3067\u56f2\u3093\u3067\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php if ( $dp_options&#x5B;'show_date'] ) : ?&gt;\r\n\uff08\u4e2d\u7565\uff09\r\n&lt;?php endif; ?&gt;\r\n<\/pre>\n<p><b>2. \u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u306e\u4e0a\u306b\u65e5\u4ed8\u3092\u8868\u793a\u3055\u305b\u308b<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>\u3000\u30db\u30fc\u30e0\u30da\u30fc\u30b8 (front-page.php)<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u3000341\u884c\u76ee<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;p-article01__content&quot;&gt;\r\n<\/pre>\n<p>\u3000\u2193\u3000\u4e00\u884c\u8ffd\u52a0\u3057\u307e\u3059\u3002 <\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;p-article01__content&quot;&gt;\r\n&lt;p class=&quot;p-article09__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.d'); ?&gt;&lt;\/time&gt;&lt;\/p&gt;\r\n<\/pre>\n<p><b>3. \u30ab\u30b9\u30bf\u30e0CSS\u3067\u753b\u50cf\u3092\u975e\u8868\u793a\u306b\u3057\u3001\u4ed6\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u8abf\u6574\u3059\u308b<\/b><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n.home .p-blog-list .p-article01__img { display: none; }\r\n.home .p-blog-list .p-article01 { border-top: 1px solid #ddd; }\r\n<\/pre>\n<h5 class=\"style_headline3\">\u30fb\u30d6\u30ed\u30b0\u4e00\u89a7\u30da\u30fc\u30b8<\/h5>\n<p><b>1. \u672c\u6765\u306e\u65e5\u4ed8\u8868\u793a\u3092\u975e\u8868\u793a\u306b\u3059\u308b<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>\u3000index.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u300028\uff5e40\u884c\u76ee<br \/>\n\u524a\u9664\u307e\u305f\u306f&lt;!&#8211; &#8211;&gt;\u3067\u56f2\u3093\u3067\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php if ( $dp_options&#x5B;'show_date'] ) : ?&gt;\r\n\uff08\u4e2d\u7565\uff09\r\n&lt;?php endif; ?&gt;\r\n<\/pre>\n<p><b>2. \u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u306e\u4e0a\u306b\u65e5\u4ed8\u3092\u8868\u793a\u3055\u305b\u308b<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>\u3000index.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u300051\u884c\u76ee<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;p-article01__content&quot;&gt;\r\n<\/pre>\n<p>\u3000\u2193\u3000\u4e00\u884c\u8ffd\u52a0\u3057\u307e\u3059\u3002 <\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;div class=&quot;p-article01__content&quot;&gt;\r\n&lt;p class=&quot;p-article09__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.d'); ?&gt;&lt;\/time&gt;&lt;\/p&gt;\r\n<\/pre>\n<p><b>3. \u30ab\u30b9\u30bf\u30e0CSS\u3067\u753b\u50cf\u3092\u975e\u8868\u793a\u306b\u3057\u3001\u4ed6\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u8abf\u6574\u3059\u308b<\/b><br \/>\n\u30ab\u30c6\u30b4\u30ea\u30fc\u30fb\u30bf\u30b0\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306b\u3082\u9069\u7528\u3055\u308c\u308b\u8a18\u8ff0\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n.blog .p-blog-list .p-article01__img,\r\n.archive .p-blog-list .p-article01__img { display: none; }\r\n.blog .p-blog-list .p-article01,\r\n.archive .p-blog-list .p-article01 { border-top: 1px solid #ddd; }\r\n<\/pre>\n<h5 class=\"style_headline3\">\u30fb\u30d6\u30ed\u30b0\u8a73\u7d30\u30da\u30fc\u30b8<\/h5>\n<p><b>1. \u672c\u6765\u306e\u65e5\u4ed8\u8868\u793a\u3092\u975e\u8868\u793a\u306b\u3059\u308b<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>\u3000single.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u300030\uff5e42\u884c\u76ee<br \/>\n\u524a\u9664\u307e\u305f\u306f&lt;!&#8211; &#8211;&gt;\u3067\u56f2\u3093\u3067\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php if ( $dp_options&#x5B;'show_date'] ) : ?&gt;\r\n\uff08\u4e2d\u7565\uff09\r\n&lt;?php endif; ?&gt;\r\n<\/pre>\n<p><b>2. \u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u53f3\u96a3\u306b\u65e5\u4ed8\u3092\u8868\u793a\u3055\u305b\u308b<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>\u3000single.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u300054\u884c\u76ee<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;p class=&quot;p-entry__meta&quot;&gt;\r\n  &lt;a href=&quot;&lt;?php echo get_category_link( $categories&#x5B;0]-&gt;term_id ); ?&gt;&quot;&gt;&lt;?php echo esc_html( $categories&#x5B;0]-&gt;name ); ?&gt;&lt;\/a&gt;\r\n&lt;\/p&gt;\r\n<\/pre>\n<p>\u3000\u2193\u3000\u4e00\u884c\u8ffd\u52a0\u3057\u307e\u3059\u3002 <\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;p class=&quot;p-entry__meta&quot;&gt;\r\n  &lt;a href=&quot;&lt;?php echo get_category_link( $categories&#x5B;0]-&gt;term_id ); ?&gt;&quot;&gt;&lt;?php echo esc_html( $categories&#x5B;0]-&gt;name ); ?&gt;&lt;\/a&gt;\r\n&lt;\/p&gt;\r\n&lt;p class=&quot;p-article09__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.d'); ?&gt;&lt;\/time&gt;&lt;\/p&gt;\r\n<\/pre>\n<p><b>3. \u30ab\u30b9\u30bf\u30e0CSS\u3067\u753b\u50cf\u3092\u975e\u8868\u793a\u306b\u3057\u3001\u4ed6\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u8abf\u6574\u3059\u308b<\/b><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n.single-post .p-entry__img { display: none; }\r\n.single-post .p-entry__meta { float: left; }\r\n.single-post .p-entry__title { clear: both; }\r\n.single-post .p-article09__date { margin-left: 150px; padding-top: 10px; }\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"Q.\u30d6\u30ed\u30b0\u306e\u30b5\u30e0\u30cd\u30a4\u30eb\u753b\u50cf\u3092\u975e\u8868\u793a\u306b\u3059\u308b\u306b\u306f\u3069\u3046\u3059\u308c\u3070\u826f\u3044\u306e\u3067\u3057\u3087\u3046\u304b\u3002 Switch\u306e\u30d6\u30ed\u30b0\u8a18\u4e8b\u306e\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\u306b\u3064\u304d\u307e\u3057\u3066\u306f\u3001\u753b\u50cf\u5de6\u4e0a\u306b\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u91cd\u306d\u308b\u3088\u3046\u306a\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u3066\u6295\u7a3f\u65e5\u4ed8\u3092\u8868\u793a\u3057\u3066\u304a\u308a\u307e\u3059\u3002 \u753b\u50cf\u306e\u307f\u3092 [&hellip;]","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[543],"tags":[60,180,523],"class_list":["post-8438","post","type-post","status-publish","format-standard","hentry","category-tcd063","tag-eye-catch","tag-180","tag-523"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/8438","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=8438"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/8438\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8438"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8438"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8438"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}