{"id":2869,"date":"2017-01-27T13:16:22","date_gmt":"2017-01-27T04:16:22","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=2869"},"modified":"2020-05-16T06:53:01","modified_gmt":"2020-05-15T21:53:01","slug":"tcd%e3%83%86%e3%83%bc%e3%83%9e%e3%81%ae%e5%9b%ba%e5%ae%9a%e3%83%9a%e3%83%bc%e3%82%b8%e3%81%ae%e3%83%91%e3%83%b3%e3%81%8f%e3%81%9a%e3%83%aa%e3%82%b9%e3%83%88%e3%82%92%e8%a6%aa%e5%ad%90%e9%96%a2","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=2869","title":{"rendered":"\u30c6\u30fc\u30de\u5171\u901a\uff1a\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\u3092\u89aa\u5b50\u95a2\u4fc2\u3067\u968e\u5c64\u5316\u3055\u305b\u308b\u65b9\u6cd5"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\u3092\u89aa\u5b50\u95a2\u4fc2\u3067\u968e\u5c64\u5316\u3055\u305b\u305f\u3044<\/h4>\n<p>\u7533\u3057\u8a33\u3054\u3056\u3044\u307e\u305b\u3093\u304c\u3001\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u89aa\u5b50\u8a2d\u5b9a\u306f\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\u306b\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002<\/p>\n<p>WordPress\u306e\u56fa\u5b9a\u30da\u30fc\u30b8\u3067\u306f\u3001\u89aa\u5b50\u968e\u5c64\u306b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u304c\u3001\u57fa\u672c\u7684\u306b\u5f0a\u793eTCD\u30c6\u30fc\u30de\u306e\u300c\u56fa\u5b9a\u30da\u30fc\u30b8\u300d\u3067\u306f<b>\u6642\u7cfb\u5217\u306b\u4f9d\u5b58\u3057\u306a\u3044\u30fb\u89aa\u5b50\u968e\u5c64\u3092\u3082\u305f\u306a\u3044\u72ec\u7acb\u3057\u305f\u30da\u30fc\u30b8<\/b>\uff08\u4f1a\u793e\u6982\u8981\u30da\u30fc\u30b8\u3001\u7279\u5b9a\u5546\u53d6\u5f15\u6cd5\u306e\u8868\u793a\u3001\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u30dd\u30ea\u30b7\u30fc\u306a\u3069\uff09\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u304a\u308a\u3001<br \/>\n\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\u3067\u306f\u300c\u30db\u30fc\u30e0 \uff1e \u30da\u30fc\u30b8\u30bf\u30a4\u30c8\u30eb\u300d\u3068\u3044\u3063\u305f\u8868\u793a\u4ed5\u69d8\u3068\u306a\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<blockquote><p>\u300c\u30c6\u30fc\u30de\u5171\u901a\u300d\u3068\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u3059\u3079\u3066\u306e\u30c6\u30fc\u30de\u3067\u306e\u52d5\u4f5c\u691c\u8a3c\u306f\u884c\u3063\u3066\u304a\u308a\u307e\u305b\u3093\u3002<br \/>\n\u52d5\u4f5c\u306e\u4fdd\u8a3c\u304c\u3067\u304d\u305a\u3001\u4e07\u304c\u4e00\u4e0d\u5177\u5408\u304c\u751f\u3058\u307e\u3057\u305f\u5834\u5408\u3082\u3001\u5f0a\u793e\u3067\u306f\u8cac\u4efb\u3092\u8ca0\u3046\u4e8b\u304c\u3067\u304d\u304b\u306d\u307e\u3059\u3002\u4f55\u5352\u3054\u4e86\u627f\u4e0b\u3055\u3044\u307e\u305b\u3002<br \/>\n\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306b\u95a2\u3057\u307e\u3057\u3066\u306f\u5fc5\u305a\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3092\u3054\u7528\u610f\u306e\u4e0a\u3001\u6050\u7e2e\u306a\u304c\u3089\u304a\u5ba2\u69d8\u306e\u8cac\u4efb\u306b\u304a\u3044\u3066\u5b9f\u65bd\u3057\u3066\u9802\u304d\u307e\u3059\u3088\u3046\u304a\u9858\u3044\u7533\u3057\u4e0a\u3052\u307e\u3059\u3002<\/p><\/blockquote>\n<h4 class=\"style_headline2\"><span>A.<\/span>\u4e0b\u8a18\u306ephp\u30d5\u30a1\u30a4\u30eb\u306e\u8a72\u5f53\u7b87\u6240\u306b\u8ffd\u8a18\u3057\u307e\u3059<\/h4>\n<p><b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>breadcrumb.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php } elseif (is_page()) { ?&gt;\r\n  &lt;li itemprop=&quot;itemListElement&quot; itemscope itemtype=&quot;http:\/\/schema.org\/ListItem&quot; class=&quot;last&quot;&gt;&lt;span itemprop=&quot;name&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/span&gt;&lt;meta itemprop=&quot;position&quot; content=&quot;2&quot; \/&gt;&lt;\/li&gt;\r\n<\/pre>\n<p>\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;?php } elseif ( is_page() &amp;&amp; $post-&gt;post_parent ) {\r\n  $count = 0;\r\n  $per_ids = array_reverse(get_post_ancestors($post-&gt;ID));\r\n  foreach ( $per_ids as $par_id ){\r\n    $count += 1;\r\n?&gt;\r\n    &lt;li itemprop=&quot;itemListElement&quot; itemscope itemtype=&quot;http:\/\/schema.org\/ListItem&quot;&gt;&lt;a itemprop=&quot;item&quot; href=&quot;&lt;?php echo get_page_link( $par_id );?&gt;&quot;&gt;&lt;span\r\nitemprop=&quot;name&quot;&gt;&lt;?php echo get_page($par_id)-&gt;post_title; ?&gt;&lt;\/span&gt;&lt;meta itemprop=&quot;position&quot; content=&quot;2&quot; \/&gt;&lt;\/a&gt;&lt;\/li&gt;\r\n&lt;?php }?&gt;\r\n &lt;li itemprop=&quot;itemListElement&quot; itemscope itemtype=&quot;http:\/\/schema.org\/ListItem&quot; class=&quot;last&quot;&gt;&lt;span itemprop=&quot;name&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/span&gt;&lt;meta itemprop=&quot;position&quot; content=&quot;3&quot; \/&gt;&lt;\/li&gt;\r\n&lt;?php } else { ?&gt;\r\n    &lt;li itemprop=&quot;itemListElement&quot; itemscope itemtype=&quot;http:\/\/schema.org\/ListItem&quot; class=&quot;last&quot;&gt;&lt;span itemprop=&quot;name&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/span&gt;&lt;meta itemprop=&quot;position&quot; content=&quot;2&quot; \/&gt;&lt;\/li&gt;\r\n<\/pre>\n<h4 class=\"style_headline2\">\u4ee5\u4e0b\u306e\u30c6\u30fc\u30de\u306f\u5225\u8a18\u4e8b\u3067\u306e\u65b9\u6cd5\u3092\u304a\u8a66\u3057\u304f\u3060\u3055\u3044<\/h4>\n<p>VOGUE\u306e\u5834\u5408\u306f\u3001\u4e0b\u8a18\u8a18\u4e8b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"fbjdcxNWcA\"><p><a href=\"https:\/\/tcd-manual.net\/?p=3918\">TCD\u30c6\u30fc\u30deVOGUE\uff1a\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\u3092\u89aa\u5b50\u95a2\u4fc2\u3067\u968e\u5c64\u5316\u3059\u308b\u65b9\u6cd5<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;TCD\u30c6\u30fc\u30deVOGUE\uff1a\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\u3092\u89aa\u5b50\u95a2\u4fc2\u3067\u968e\u5c64\u5316\u3059\u308b\u65b9\u6cd5&#8221; &#8212; TCD LABO\" src=\"https:\/\/tcd-manual.net\/?p=3918&#038;embed=true#?secret=IOYVvHhRtn#?secret=fbjdcxNWcA\" data-secret=\"fbjdcxNWcA\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n<p>STORY\u306e\u5834\u5408\u306f\u3001\u4e0b\u8a18\u8a18\u4e8b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<blockquote class=\"wp-embedded-content\" data-secret=\"qToRB8n6hX\"><p><a href=\"https:\/\/tcd-manual.net\/?p=3708\">TCD\u30c6\u30fc\u30deSTORY\uff1a\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\u3092\u968e\u5c64\u5316\u3059\u308b\u65b9\u6cd5<\/a><\/p><\/blockquote>\n<p><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;TCD\u30c6\u30fc\u30deSTORY\uff1a\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\u3092\u968e\u5c64\u5316\u3059\u308b\u65b9\u6cd5&#8221; &#8212; TCD LABO\" src=\"https:\/\/tcd-manual.net\/?p=3708&#038;embed=true#?secret=PLbX6pPSDp#?secret=qToRB8n6hX\" data-secret=\"qToRB8n6hX\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"Q.\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\u3092\u89aa\u5b50\u95a2\u4fc2\u3067\u968e\u5c64\u5316\u3055\u305b\u305f\u3044 \u7533\u3057\u8a33\u3054\u3056\u3044\u307e\u305b\u3093\u304c\u3001\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u89aa\u5b50\u8a2d\u5b9a\u306f\u30d1\u30f3\u304f\u305a\u30ea\u30b9\u30c8\u306b\u53cd\u6620\u3055\u308c\u307e\u305b\u3093\u3002 WordPress\u306e\u56fa\u5b9a\u30da\u30fc\u30b8\u3067\u306f\u3001\u89aa\u5b50\u968e\u5c64\u306b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u304c\u3001\u57fa\u672c\u7684\u306b\u5f0a\u793eTC [&hellip;]","protected":false},"author":16,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[487,63],"tags":[95,67,151],"class_list":["post-2869","post","type-post","status-publish","format-standard","hentry","category-tcd050","category-common","tag-bread-crumb","tag-page","tag-151"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/2869","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=2869"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/2869\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2869"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2869"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2869"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}