{"id":3556,"date":"2017-04-20T00:27:42","date_gmt":"2017-04-19T15:27:42","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=3556"},"modified":"2021-04-30T22:16:00","modified_gmt":"2021-04-30T13:16:00","slug":"tcd%e3%83%86%e3%83%bc%e3%83%9estory%e3%81%a7news%e3%82%84%e3%83%96%e3%83%ad%e3%82%b0%e4%b8%80%e8%a6%a7%e3%81%ae%e4%bd%8d%e7%bd%ae%e3%82%92%e5%a4%89%e6%9b%b4%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=3556","title":{"rendered":"TCD\u30c6\u30fc\u30deSTORY\uff1aNEWS\u3084\u30d6\u30ed\u30b0\u4e00\u89a7\u306e\u4f4d\u7f6e\u3092\u5909\u66f4\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>STORY\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u3066NEWS\u3068\u30d6\u30ed\u30b0\u4e00\u89a7\u90e8\u5206\u306e\u7b87\u6240\u3092\u5909\u66f4\u3057\u305f\u3044<\/h4>\n<p>STORY\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u3066news\u4e00\u89a7\u3068\u30d6\u30ed\u30b0\u4e00\u89a7\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3092TOP\u30b9\u30e9\u30a4\u30c0\u30fc\u4e0b\u306b\u79fb\u52d5\u3055\u305b\u305f\u3044\u3067\u3059\u304c\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304b\u3002<\/p>\n<h4 class=\"style_headline2\"><span>A.<\/span>\u8a72\u5f53\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066\u304f\u3060\u3055\u3044<\/h4>\n<p><b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>front-page.php<\/p>\n<p>front-page.php\u306e164\u884c\u76ee\uff1cdiv class=&#8221;inner&#8221;\uff1e\u304b\u3089310\u884c\u76ee\uff1c\/div\uff1e\u307e\u3067\u3092\u30ab\u30c3\u30c8\u3057\u300132\u884c\u76ee\uff1cdiv id=&#8221;content01&#8243; class=&#8221;main&#8221;\uff1e\u306e\u6b21\u306b\u30da\u30fc\u30b9\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u4e0b\u8a18\u306e\u90e8\u5206\u304c\u30ab\u30c3\u30c8\u90e8\u5206\u3067\u3059\u3002<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n\t&lt;div class=&quot;inner&quot;&gt;\r\n&lt;?php\r\nif ( $show_index_news_content ) :\r\n?&gt;\r\n\t\t&lt;section class=&quot;fade01&quot;&gt;\r\n&lt;?php\r\n\tif ( is_mobile() &amp;&amp; ! is_no_responsive() ) :\r\n?&gt;\r\n\t\t\t&lt;h2 class=&quot;headline-primary headline-font-type&quot;&gt;&lt;?php echo esc_html( $options&#x5B;'index_news_headline'] ); ?&gt;&lt;\/h2&gt;\r\n&lt;?php\r\n\telse :\r\n?&gt;\r\n\t\t\t&lt;h2 class=&quot;headline-primary headline-font-type&quot; style=&quot;font-size: &lt;?php echo esc_attr( $index_news_headline_font_size ); ?&gt;px;&quot;&gt;&lt;?php echo esc_html( $options&#x5B;'index_news_headline'] ); ?&gt;&lt;\/h2&gt;\r\n&lt;?php\r\n\tendif;\r\n?&gt;\r\n&lt;?php\r\n\tif ( $news_query-&gt;have_posts() ) :\r\n?&gt;\r\n\t\t\t&lt;div class=&quot;top-news flex flex-wrap&quot;&gt;\r\n&lt;?php\r\n\t\twhile ( $news_query-&gt;have_posts() ) :\r\n\t\t\t$news_query-&gt;the_post();\r\n?&gt;\r\n\t\t\t\t&lt;article class=&quot;article02&quot;&gt;\r\n   \t\t\t\t\t&lt;a class=&quot;article02-thumbnail &lt;?php echo esc_attr( $hover_type ); ?&gt;&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;\r\n&lt;?php\r\n\t\t\tif ( has_post_thumbnail() ) :\r\n\t\t\t\tthe_post_thumbnail( 'size1' );\r\n\t\t\telse :\r\n?&gt;\r\n\t\t\t\t\t\t&lt;img src=&quot;&lt;?php echo get_template_directory_uri(); ?&gt;\/img\/common\/no-image-280x280.gif&quot; alt=&quot;&lt;?php the_title(); ?&gt;&quot;&gt;\r\n&lt;?php\r\n\t\t\tendif;\r\n?&gt;\r\n\t\t\t\t\t&lt;\/a&gt;\r\n    \t\t\t\t&lt;div class=&quot;article02-content&quot;&gt;\r\n&lt;?php\r\n\t\t\tif ( $options&#x5B;'show_date_news'] ) :\r\n?&gt;\r\n     \t\t\t\t\t&lt;time class=&quot;article02-date&quot; datetime=&quot;&lt;?php the_time( 'Y-m-d' ); ?&gt;&quot;&gt;&lt;?php the_time( 'Y.m.d' ); ?&gt;&lt;\/time&gt;\r\n&lt;?php\r\n\t\t\tendif;\r\n?&gt;\r\n      \t\t\t\t\t&lt;h3 class=&quot;article02-title&quot;&gt;\r\n\t\t\t\t\t\t\t&lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;&lt;?php echo wp_trim_words( get_the_title(), 40, '...' ); ?&gt;&lt;\/a&gt;\r\n\t\t\t\t\t\t&lt;\/h3&gt;\r\n&lt;?php\r\n\t\t\tif ( ! is_mobile() ) :\r\n?&gt;\r\n      \t\t\t\t\t&lt;p class=&quot;article02-text&quot;&gt;&lt;?php the_excerpt(); ?&gt;&lt;\/p&gt;\r\n&lt;?php\r\n\t\t\tendif;\r\n?&gt;\r\n   \t\t\t\t\t&lt;\/div&gt;\r\n\t\t\t\t&lt;\/article&gt;\r\n&lt;?php\r\n\t\tendwhile;\r\n\t\twp_reset_postdata();\r\n?&gt;\r\n\t\t\t&lt;\/div&gt;\r\n&lt;?php\r\n\tendif;\r\n\tif ( $options&#x5B;'show_index_news_button'] ) :\r\n?&gt;\r\n\t\t\t&lt;p class=&quot;button&quot;&gt;&lt;a href=&quot;&lt;?php echo get_post_type_archive_link( 'news' ); ?&gt;&quot;&gt;&lt;?php echo esc_html( $options&#x5B;'index_news_button'] ); ?&gt;&lt;\/a&gt;&lt;\/p&gt;\r\n\t\t&lt;\/section&gt;\r\n&lt;?php\r\n\tendif;\r\nendif;\r\nif ( $options&#x5B;'show_index_blog_content'] ) :\r\n?&gt;\r\n\t\t&lt;section class=&quot;fade01&quot;&gt;\r\n&lt;?php\r\n\tif ( is_mobile() &amp;&amp; ! is_no_responsive() ) :\r\n?&gt;\r\n\t\t\t&lt;h2 class=&quot;headline-primary headline-font-type&quot;&gt;&lt;?php echo esc_html( $options&#x5B;'index_blog_headline'] ); ?&gt;&lt;\/h2&gt;\r\n&lt;?php\r\n\telse :\r\n?&gt;\r\n\t\t\t&lt;h2 class=&quot;headline-primary headline-font-type&quot; style=&quot;font-size: &lt;?php echo esc_attr( $index_blog_headline_font_size ); ?&gt;px;&quot;&gt;&lt;?php echo esc_html( $options&#x5B;'index_blog_headline'] ); ?&gt;&lt;\/h2&gt;\r\n&lt;?php\r\n\tendif;\r\n?&gt;\r\n&lt;?php\r\n\tif ( $blog_query-&gt;have_posts() ) :\r\n?&gt;\r\n\t\t\t&lt;div class=&quot;top-blog flex flex-wrap&quot;&gt;\r\n&lt;?php\r\n\twhile ( $blog_query-&gt;have_posts() ) :\r\n\t\t$blog_query-&gt;the_post();\r\n\t\tif ( $archive_show_category ) {\r\n\t\t\t$categories = get_the_category();\r\n\t\t\t$thelist = '';\r\n\t\t\t$i = 0;\r\n\t\t\tforeach ( $categories as $category ) {\r\n\t\t\t\tif ( $i &gt; 0 ) {\r\n\t\t\t\t\t$thelist .= ', ';\r\n\t\t\t\t}\r\n\t\t\t\t$thelist .= '&lt;span class=&quot;article03-category-item&quot; data-url=&quot;' . esc_url( get_category_link( $category-&gt;term_id ) ) . '&quot;&gt;' . esc_html( $category-&gt;name ) . '&lt;\/span&gt;';\r\n\t\t\t\t$i++;\r\n\t\t\t}\r\n\t\t}\r\n?&gt;\r\n\t\t\t\t&lt;article class=&quot;article03&quot;&gt;\r\n\t\t\t\t\t&lt;a class=&quot;flex flex-column&quot; href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;\r\n\t\t\t\t\t\t&lt;div class=&quot;article03-thumbnail &lt;?php echo esc_attr( $hover_type ); ?&gt;&quot;&gt;\r\n&lt;?php\r\n\t\tif ( has_post_thumbnail() ) :\r\n\t\t\tthe_post_thumbnail( 'size1' );\r\n\t\telse :\r\n?&gt;\r\n\t\t\t\t\t\t\t&lt;img src=&quot;&lt;?php echo get_template_directory_uri(); ?&gt;\/img\/common\/no-image-280x280.gif&quot; alt=&quot;&lt;?php the_title(); ?&gt;&quot;&gt;\r\n&lt;?php\r\n\t\tendif;\r\n?&gt;\r\n\t\t\t\t\t\t&lt;\/div&gt;\r\n\t\t\t\t\t\t&lt;div class=&quot;article03-content flex flex-auto flex-column&quot;&gt;\r\n\t\t\t\t\t\t\t&lt;h2 class=&quot;article03-title headline-font-type&quot;&gt;&lt;?php echo is_mobile() ? wp_trim_words( get_the_title(), 20, '...' ) : wp_trim_words( get_the_title(), 25, '...' ); ?&gt;&lt;\/h2&gt;\r\n&lt;?php\r\n\t\tif ( $archive_show_date || $archive_show_category ) :\r\n?&gt;\r\n\t\t\t\t\t\t\t&lt;p class=&quot;article03-meta&quot;&gt;\r\n\t\t\t\t\t\t\t\t&lt;?php if ( $archive_show_date ) : ?&gt;&lt;time class=&quot;article03-date&quot; datetime=&quot;&lt;?php the_time( 'Y-m-d' ); ?&gt;&quot;&gt;&lt;?php the_time( 'Y.m.d' ); ?&gt;&lt;\/time&gt;&lt;?php endif; ?&gt;&lt;?php if ( ! wp_is_mobile() &amp;&amp; $archive_show_category ) : ?&gt;&lt;span class=&quot;article03-category&quot;&gt;&lt;?php echo $thelist; ?&gt;&lt;\/span&gt;&lt;?php endif; ?&gt;\r\n\t\t\t\t\t\t\t&lt;\/p&gt;\r\n&lt;?php\r\n\t\tendif;\r\n?&gt;\r\n\t\t\t\t\t\t&lt;\/div&gt;\r\n\t\t\t\t\t&lt;\/a&gt;\r\n\t\t\t\t&lt;\/article&gt;\r\n&lt;?php\r\n\tendwhile;\r\n\twp_reset_postdata();\r\n?&gt;\r\n\t\t\t&lt;\/div&gt;\r\n&lt;?php\r\n\tendif;\r\n\tif ( $options&#x5B;'show_index_blog_button'] ) :\r\n?&gt;\r\n\t\t\t&lt;p class=&quot;button&quot;&gt;&lt;a href=&quot;&lt;?php echo get_post_type_archive_link( 'post' ); ?&gt;&quot;&gt;&lt;?php echo esc_html( $options&#x5B;'index_blog_button'] ); ?&gt;&lt;\/a&gt;&lt;\/p&gt;\r\n\t\t&lt;\/section&gt;\r\n&lt;?php\r\n\tendif;\r\nendif;\r\n?&gt;\r\n\t&lt;\/div&gt;\r\n<\/pre>\n<p>\u8a2d\u5b9a\u306f\u3001\u4ee5\u4e0a\u3068\u306a\u308a\u307e\u3059\u3002<br \/>\n\u306a\u304a\u3001NEWS\u306e\u307f\u3001\u30d6\u30ed\u30b0\u306e\u307f\u3068\u3044\u3046\u5909\u66f4\u306f\u5927\u5e45\u306a\u4ed5\u69d8\u5909\u66f4\u3068\u306a\u308a\u307e\u3059\u306e\u3067\u6709\u511f\u5bfe\u5fdc\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"Q.STORY\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u3066NEWS\u3068\u30d6\u30ed\u30b0\u4e00\u89a7\u90e8\u5206\u306e\u7b87\u6240\u3092\u5909\u66f4\u3057\u305f\u3044 STORY\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u3066news\u4e00\u89a7\u3068\u30d6\u30ed\u30b0\u4e00\u89a7\u306e\u30bb\u30af\u30b7\u30e7\u30f3\u3092TOP\u30b9\u30e9\u30a4\u30c0\u30fc\u4e0b\u306b\u79fb\u52d5\u3055\u305b\u305f\u3044\u3067\u3059\u304c\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304b\u3002 A.\u8a72\u5f53\u30d5\u30a1\u30a4\u30eb\u3092\u7de8 [&hellip;]","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[436],"tags":[123,66,438],"class_list":["post-3556","post","type-post","status-publish","format-standard","hentry","category-tcd041","tag-123","tag-top-page","tag-438"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/3556","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\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3556"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/3556\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}