{"id":5456,"date":"2019-05-02T14:28:57","date_gmt":"2019-05-02T05:28:57","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=5456"},"modified":"2020-09-10T08:44:48","modified_gmt":"2020-09-09T23:44:48","slug":"tcd%e3%83%86%e3%83%bc%e3%83%9eprecious%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%81%ab%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=5456","title":{"rendered":"TCD\u30c6\u30fc\u30dePrecious\uff1a\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u3092h1\u306b\u5909\u66f4\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u304c\u305d\u306e\u307e\u307eh1\u306b\u306a\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u306e\u3067\u3059\u304c\u3001\u3069\u3053\u3092\u5909\u66f4\u3059\u308c\u3070\u3088\u3044\u306e\u3067\u3057\u3087\u3046\u304b\uff1f<\/h4>\n<h4 class=\"style_headline2\"><span>A.<\/span>\u4e0b\u8a18\u306e\u624b\u9806\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/h4>\n<p><b>\u2460\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u306f\uff1ch1\uff1e\u3001\u305d\u308c\u4ee5\u5916\u3067\u306f\uff1cdiv\uff1e\u3067\u30ed\u30b4\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u5909\u66f4<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>functions\/header-logo.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>10\u884c\u76ee\u4ed8\u8fd1<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n  if($logo){\r\n    echo '&lt;h1 id=&quot;logo_image&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;&gt;&lt;img src=&quot;' . $logo&#x5B;'url'] . '?' . time() . '&quot; alt=&quot;' . $title . '&quot; title=&quot;' . $title . '&quot; \/&gt;&lt;\/a&gt;&lt;\/h1&gt;' . &quot;\\n&quot;;\r\n  } else {\r\n    echo '&lt;h1 id=&quot;logo_text&quot;&gt;&lt;a href=&quot;' . $url . '\/&quot;&gt;' . $title . &quot;&lt;\/a&gt;&lt;\/h1&gt;\\n&quot;;\r\n    echo '&lt;h2 id=&quot;description&quot;&gt;'. $tagline .&quot;&lt;\/h2&gt;\\n&quot;;\r\n  }<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n  if($logo){\r\nif(is_home()||is_front_page()){\r\n    echo '&lt;h1 id=&quot;logo_image&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;&gt;&lt;img src=&quot;' . $logo&#x5B;'url'] . '?' . time() . '&quot; alt=&quot;' . $title . '&quot; title=&quot;' . $title . '&quot; \/&gt;&lt;\/a&gt;&lt;\/h1&gt;' . &quot;\\n&quot;;\r\n}else{\r\n    echo '&lt;div id=&quot;logo_image&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;&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}\r\n  } else {\r\nif(is_home()||is_front_page()){\r\n    echo '&lt;h1 id=&quot;logo_text&quot;&gt;&lt;a href=&quot;' . $url . '\/&quot;&gt;' . $title . &quot;&lt;\/a&gt;&lt;\/h1&gt;\\n&quot;;\r\n}else{\r\n    echo '&lt;div id=&quot;logo_text&quot;&gt;&lt;a href=&quot;' . $url . '\/&quot;&gt;' . $title . &quot;&lt;\/a&gt;&lt;\/div&gt;\\n&quot;;\r\n}\r\n    echo '&lt;h2 id=&quot;description&quot;&gt;'. $tagline .&quot;&lt;\/h2&gt;\\n&quot;;\r\n  }<\/pre>\n<p><b>\u2461\u5404\u8a18\u4e8b\u306e\u898b\u51fa\u3057\u3092h1\u306b\u5909\u66f4<\/b><br \/>\n<b>\u3010\u6295\u7a3f\u3011<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>single.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a11\u884c\u76ee\u4ed8\u8fd1<\/b><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;\/h1&gt;<\/pre>\n<p><b>\u3010\u56fa\u5b9a\u30da\u30fc\u30b8\u3011<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b><br \/>\npage.php(7\u884c\u76ee\u4ed8\u8fd1)<br \/>\npage-co-noside.php(16\u884c\u76ee\u4ed8\u8fd1)<br \/>\npage-co.php(15\u884c\u76ee\u4ed8\u8fd1)<br \/>\npage-noside-short.php(14\u884c\u76ee\u4ed8\u8fd1)<br \/>\npage-noside.php(14\u884c\u76ee\u4ed8\u8fd1)<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;h2 class=&quot;headline1&quot;&gt;&lt;span&gt;&lt;?php the_title(); ?&gt;&lt;\/span&gt;&lt;\/h2&gt;<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;h1 class=&quot;headline1&quot;&gt;&lt;span&gt;&lt;?php the_title(); ?&gt;&lt;\/span&gt;&lt;\/h1&gt;<\/pre>\n<p><b>\u3010\u304a\u77e5\u3089\u305b\u3011<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>single-news.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>7\u884c\u76ee\u4ed8\u8fd1<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;h2 class=&quot;headline1&quot;&gt;&lt;span&gt;&lt;?php echo $options&#x5B;'news_headline']; ?&gt;&lt;\/span&gt;&lt;\/h2&gt;<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;div class=&quot;headline1&quot;&gt;&lt;span&gt;&lt;?php echo $options&#x5B;'news_headline']; ?&gt;&lt;\/span&gt;&lt;\/div&gt;<\/pre>\n<p><b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>11\u884c\u76ee\u4ed8\u8fd1<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;h1&gt;&lt;?php the_title(); ?&gt;&lt;\/h1&gt;<\/pre>\n<p><b>\u3010\u5546\u54c1\u3011<\/b><br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>single-product.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b>14\u884c\u76ee\u4ed8\u8fd1<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;h3 class=&quot;product_title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h3&gt;<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">&lt;h1 class=&quot;product_title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h1&gt;<\/pre>\n<p><b>\u2462h1\u306e\u30b9\u30bf\u30a4\u30eb\u8abf\u6574<\/b><br \/>\n\u7ba1\u7406\u753b\u9762\u3010\u5916\u89b3\u3011\u2192\u3010\u30c6\u30fc\u30de\u30aa\u30d7\u30b7\u30e7\u30f3\u3011\u2192\u3010\u57fa\u672c\u8a2d\u5b9a\u3011\u2192\u300c\u30ab\u30b9\u30bf\u30e0CSS\u300d\u306b\u4e0b\u8a18\u3092\u30b3\u30d4\u30fc&#038;\u30da\u30fc\u30b9\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\"> \r\nh1.product_title {font-size: 1.17em; }\r\n#post_title h1 { margin:0; padding:0; font-size:18px; line-height:160%; }\r\n@media screen and (max-width:768px){\r\n#post_title h1 { margin:0; padding:0; font-size:18px; line-height:160%; }\r\n}\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"Q.\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u304c\u305d\u306e\u307e\u307eh1\u306b\u306a\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u306e\u3067\u3059\u304c\u3001\u3069\u3053\u3092\u5909\u66f4\u3059\u308c\u3070\u3088\u3044\u306e\u3067\u3057\u3087\u3046\u304b\uff1f A.\u4e0b\u8a18\u306e\u624b\u9806\u3067\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \u2460\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u306f\uff1ch1\uff1e\u3001\u305d\u308c\u4ee5\u5916\u3067\u306f\uff1cdiv\uff1e\u3067\u30ed\u30b4\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306e\u5909\u66f4 \u7de8\u96c6 [&hellip;]","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[161,71,80],"class_list":["post-5456","post","type-post","status-publish","format-standard","hentry","category-tcd019","tag-h1","tag-heading","tag-80"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/5456","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=5456"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/5456\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5456"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5456"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5456"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}