{"id":6031,"date":"2019-07-02T16:30:32","date_gmt":"2019-07-02T07:30:32","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=6031"},"modified":"2019-07-02T16:30:32","modified_gmt":"2019-07-02T07:30:32","slug":"tcd%e3%83%86%e3%83%bc%e3%83%9egorgeous%ef%bc%9a%e8%a8%98%e4%ba%8b%e3%82%bf%e3%82%a4%e3%83%88%e3%83%ab%e3%82%92h1%e3%80%81%e3%83%ad%e3%82%b4%e3%82%92div%e3%81%ab%e3%81%99%e3%82%8b%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=6031","title":{"rendered":"TCD\u30c6\u30fc\u30deGorgeous\uff1a\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u3092h1\u3001\u30ed\u30b4\u3092DIV\u306b\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>\u8a73\u7d30\u30da\u30fc\u30b8\u3067\u8a18\u4e8b\u306e\u30bf\u30a4\u30c8\u30eb\u3092&lt;h1&gt;\u306b\u5909\u66f4\u3057\u305f\u3044\u306e\u3067\u3059\u304c\u3001\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304b\u3002<\/h4>\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\">1. \u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u306f\u30ad\u30e3\u30c3\u30c1\u30d5\u30ec\u30fc\u30ba\u3092&lt;h1&gt;\u3001\u305d\u308c\u4ee5\u5916\u306e\u30da\u30fc\u30b8\u3067\u306f&lt;div&gt;\u3068\u3059\u308b<\/h5>\n<p><b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>\u3000header.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u300083\u884c\u76ee\u4ed8\u8fd1<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;h1 id=&quot;site_description&quot;&gt;&lt;?php bloginfo('description'); ?&gt;&lt;\/h1&gt;\r\n<\/pre>\n<p>\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n &lt;?php if ( is_home() || is_front_page() ) : ?&gt;\r\n &lt;h1 id=&quot;site_description&quot;&gt;&lt;?php bloginfo('description'); ?&gt;&lt;\/h1&gt;\r\n&lt;?php else : ?&gt;\r\n &lt;div id=&quot;site_description&quot;&gt;&lt;?php bloginfo('description'); ?&gt;&lt;\/div&gt;\r\n&lt;?php endif; ?&gt;\r\n<\/pre>\n<h5 class=\"style_headline3\">2. \u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u306f\u30ed\u30b4\u3092&lt;h2&gt;\u3001\u305d\u308c\u4ee5\u5916\u306e\u30da\u30fc\u30b8\u3067\u306f&lt;div&gt;\u3068\u3059\u308b<\/h5>\n<p><b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>\u3000functions\/header-logo.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u300015\u884c\u76ee\u4ed8\u8fd1<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\nif($logo){\r\n    echo '&lt;h2 id=&quot;logo&quot; style=&quot;top:' . $option&#x5B;'logotop'] . 'px; left:' . $option&#x5B;'logoleft'] . 'px;&quot;&gt;&lt;a href=&quot; ' . $url . '\/&quot; title=&quot;' . $title . '&quot; data-label=&quot;' . $title . '&quot;&gt;&lt;img src=&quot;' . $logo&#x5B;'url'] . '?' . time() . '&quot; alt=&quot;' . $title . '&quot; title=&quot;' . $title . '&quot; \/&gt;&lt;\/a&gt;&lt;\/h2&gt;' . &quot;\\n&quot;;\r\n  } else {\r\n    echo '&lt;h2 id=&quot;logo&quot;&gt;&lt;a href=&quot;' . $url . '\/&quot;&gt;' . $title . &quot;&lt;\/a&gt;&lt;\/h2&gt;\\n&quot;;\r\n  }\r\n}\r\n<\/pre>\n<p>\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n  if($logo){\r\n\t  if ( is_home() || is_front_page() ) {\r\n    echo '&lt;h2 id=&quot;logo&quot; style=&quot;top:' . $option&#x5B;'logotop'] . 'px; left:' . $option&#x5B;'logoleft'] . 'px;&quot;&gt;&lt;a href=&quot; ' . $url . '\/&quot; title=&quot;' . $title . '&quot; data-label=&quot;' . $title . '&quot;&gt;&lt;img src=&quot;' . $logo&#x5B;'url'] . '?' . time() . '&quot; alt=&quot;' . $title . '&quot; title=&quot;' . $title . '&quot; \/&gt;&lt;\/a&gt;&lt;\/h2&gt;' . &quot;\\n&quot;;\r\n\t } else {\r\n\t\t  echo '&lt;div id=&quot;logo&quot; style=&quot;top:' . $option&#x5B;'logotop'] . 'px; left:' . $option&#x5B;'logoleft'] . 'px;&quot;&gt;&lt;a href=&quot; ' . $url . '\/&quot; title=&quot;' . $title . '&quot; data-label=&quot;' . $title . '&quot;&gt;&lt;img src=&quot;' . $logo&#x5B;'url'] . '?' . time() . '&quot; alt=&quot;' . $title . '&quot; title=&quot;' . $title . '&quot; \/&gt;&lt;\/a&gt;&lt;\/div&gt;' . &quot;\\n&quot;;\r\n\t  }\r\n  } else {\r\n\t  if ( is_home() || is_front_page() ) {\r\n    echo '&lt;h2 id=&quot;logo&quot;&gt;&lt;a href=&quot;' . $url . '\/&quot;&gt;' . $title . &quot;&lt;\/a&gt;&lt;\/h2&gt;\\n&quot;;\r\n\t  } else {\r\n\t\t  echo '&lt;div id=&quot;logo&quot;&gt;&lt;a href=&quot;' . $url . '\/&quot;&gt;' . $title . &quot;&lt;\/a&gt;&lt;\/div&gt;\\n&quot;;\r\n\t  }\r\n  }\r\n}\r\n<\/pre>\n<h5 class=\"style_headline3\">3. \u5404\u6295\u7a3f\u30da\u30fc\u30b8\u306e\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u304ch1\u306b\u306a\u308b\u3088\u3046\u306b\u5909\u66f4\u3059\u308b<\/h5>\n<p><b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>\u3000single.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u30006\u884c\u76ee\u4ed8\u8fd1<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;h2 class=&quot;headline1&quot; id=&quot;page_headline&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;\r\n<\/pre>\n<p>\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;h1 class=&quot;headline1&quot; id=&quot;page_headline&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h1&gt;\r\n<\/pre>\n<p><b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>\u3000page.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>\u30006\u884c\u76ee\u4ed8\u8fd1<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;h2 class=&quot;headline1&quot; id=&quot;page_headline&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;\r\n<\/pre>\n<p>\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n&lt;h1 class=&quot;headline1&quot; id=&quot;page_headline&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h1&gt;\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"Q.\u8a73\u7d30\u30da\u30fc\u30b8\u3067\u8a18\u4e8b\u306e\u30bf\u30a4\u30c8\u30eb\u3092&lt;h1&gt;\u306b\u5909\u66f4\u3057\u305f\u3044\u306e\u3067\u3059\u304c\u3001\u65b9\u6cd5\u306f\u3042\u308a\u307e\u3059\u304b\u3002 A.\u4e0b\u8a18\u306e\u65b9\u6cd5\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u304f\u3060\u3055\u3044\u3002 1. \u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u306f\u30ad\u30e3\u30c3\u30c1\u30d5\u30ec\u30fc\u30ba\u3092&lt;h1&gt;\u3001\u305d\u308c\u4ee5\u5916\u306e\u30da\u30fc\u30b8\u3067\u306f [&hellip;]","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[38],"tags":[161,453,64],"class_list":["post-6031","post","type-post","status-publish","format-standard","hentry","category-tcd013","tag-h1","tag-h2","tag-logo"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/6031","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\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=6031"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/6031\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=6031"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=6031"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=6031"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}