{"id":67,"date":"2016-01-22T01:06:16","date_gmt":"2016-01-21T16:06:16","guid":{"rendered":"http:\/\/tcd-manual.net\/?p=67"},"modified":"2018-10-02T16:53:04","modified_gmt":"2018-10-02T07:53:04","slug":"h%e3%82%bf%e3%82%b0%e3%81%ae%e3%83%87%e3%82%b6%e3%82%a4%e3%83%b3%e3%81%ab%e3%81%a4%e3%81%84%e3%81%a6","status":"publish","type":"post","link":"https:\/\/tcd-manual.net\/?p=67","title":{"rendered":"TCD\u30c6\u30fc\u30deOpinion\u306e\u6295\u7a3f\u30da\u30fc\u30b8\u306eh1\u898b\u51fa\u3057\u3092\u5909\u66f4\u3059\u308b"},"content":{"rendered":"<h4 class=\"style_headline2\"><span>Q.<\/span>\u6295\u7a3f\u30da\u30fc\u30b8\u306eh1\u306e\u5185\u5bb9\u3092\u8a18\u4e8b\u306e\u30bf\u30a4\u30c8\u30eb\u306b\u3057\u305f\u3044<\/h4>\n<p>\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<\/p>\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>\u2460<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><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">  if($logo){\r\n    echo &quot;&lt;div id='logo_image'&gt;\\n&quot;;\r\n    echo '&lt;h1 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;\/h1&gt;' . &quot;\\n&quot;;\r\n    echo &quot;&lt;\/div&gt;\\n&quot;;\r\n  } else {\r\n    echo &quot;&lt;div id='logo_text'&gt;\\n&quot;;\r\n    echo '&lt;h1 id=&quot;logo&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    echo &quot;&lt;\/div&gt;\\n&quot;;\r\n  }<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">  if($logo){\r\n    echo &quot;&lt;div id='logo_image'&gt;\\n&quot;;\r\nif(is_home()||is_front_page()){\r\n    echo '&lt;h1 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;\/h1&gt;' . &quot;\\n&quot;;\r\n}else{\r\n    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}\r\n    echo &quot;&lt;\/div&gt;\\n&quot;;\r\n  } else {\r\n    echo &quot;&lt;div id='logo_text'&gt;\\n&quot;;\r\nif(is_home()||is_front_page()){\r\n    echo '&lt;h1 id=&quot;logo&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&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    echo &quot;&lt;\/div&gt;\\n&quot;;\r\n  }<\/pre>\n<p>\u2461<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>functions\/category_style.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">         echo '.category-' . $category_id . ' #single_title h2 { background:#' . $cat_data&#x5B;'color1'] . &quot;; } \\n&quot;;<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">         echo '.category-' . $category_id . ' #single_title h1 { background:#' . $cat_data&#x5B;'color1'] . &quot;; } \\n&quot;;<\/pre>\n<p>\u2462<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>single.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/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>\u2463<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>header.php<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n.pc #global_menu li a, .archive_headline, .page_navi a:hover:hover,\r\n#single_title h2, #submit_comment:hover, #author_link:hover,\r\n#previous_next_post a:hover, #news_title h2,\r\n .profile_author_link:hover, #return_top, .author_social_link li.author_link a\r\n { background-color:#&lt;?php echo $options&#x5B;'pickedcolor1']; ?&gt;; }\r\n<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: php; title: ; notranslate\" title=\"\">\r\n.pc #global_menu li a, .archive_headline, .page_navi a:hover:hover,\r\n#single_title h1, #submit_comment:hover, #author_link:hover,\r\n#previous_next_post a:hover, #news_title h2,\r\n .profile_author_link:hover, #return_top, .author_social_link li.author_link a\r\n { background-color:#&lt;?php echo $options&#x5B;'pickedcolor1']; ?&gt;; }\r\n<\/pre>\n<p>\u2464<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>style_pc.css<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">#single_title h2 { margin:0; font-size:16px; background:#ccc; color:#fff; padding:10px 15px; line-height:180%; }<\/pre>\n<p>\u3000\u3000\u2193<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">#single_title h1 { margin:0; font-size:16px; background:#ccc; color:#fff; padding:10px 15px; line-height:180%; }<\/pre>\n<p>\u2465<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1a<\/b>style_sp.css<br \/>\n<b>\u7de8\u96c6\u3059\u308b\u7b87\u6240\uff1a<\/b><\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">#single_title h2 { \uff08\u5f8c\u7565\uff09<\/pre>\n<p>\u3000\u3000\u3000\u2193<\/p>\n<pre class=\"brush: css; title: ; notranslate\" title=\"\">#single_title h1 { \uff08\u5f8c\u7565\uff09<\/pre>\n","protected":false},"excerpt":{"rendered":"Q.\u6295\u7a3f\u30da\u30fc\u30b8\u306eh1\u306e\u5185\u5bb9\u3092\u8a18\u4e8b\u306e\u30bf\u30a4\u30c8\u30eb\u306b\u3057\u305f\u3044 \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 \u7de8\u96c6\u3059\u308b\u30d5\u30a1\u30a4\u30eb\uff1afuncti [&hellip;]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[71,80],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-tcd018","tag-heading","tag-80"],"_links":{"self":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/67","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=67"}],"version-history":[{"count":0,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=\/wp\/v2\/posts\/67\/revisions"}],"wp:attachment":[{"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tcd-manual.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}