{"id":21569,"date":"2021-02-24T19:11:43","date_gmt":"2021-02-24T10:11:43","guid":{"rendered":"https:\/\/motoki-design.co.jp\/wordpress\/?p=21569"},"modified":"2024-03-04T18:13:35","modified_gmt":"2024-03-04T09:13:35","slug":"make-top","status":"publish","type":"post","link":"https:\/\/motoki-design.co.jp\/wordpress\/make-top\/","title":{"rendered":"WordPress\u81ea\u4f5c\u30c6\u30fc\u30de\u5236\u4f5c\u2463\u2502\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u4f5c\u6210"},"content":{"rendered":"\n<p>\u30d5\u30eb\u30b9\u30af\u30e9\u30c3\u30c1\u3067WordPress\u30c6\u30fc\u30de\u3092\u4f5c\u3063\u3066\u307f\u308b\u3001\u7b2c4\u5f3e\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u30ed\u30b4\u3084\u3089\u30b3\u30d4\u30fc\u30e9\u30a4\u30c8\u3084\u3089\u3092\u5165\u308c\u3066\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u5c0f\u9650\u306e\u69cb\u9020\u3060\u3051\u3067\u4f5c\u6210\u3059\u308b\u306e\u3067\u3001\u898b\u305f\u76ee\u306f\u6b8b\u5ff5\u306a\u307e\u307e\u306a\u306e\u3067\u60aa\u3057\u304b\u3089\u305a\u3002<\/p>\n\n\n<div class=\"p-blogParts post_content\" data-partsID=\"21663\">\n<div class=\"wp-block-group is-style-emboss_box\"><div class=\"wp-block-group__inner-container is-layout-constrained wp-block-group-is-layout-constrained\">\n<p class=\"has-text-align-center\">\u30b9\u30bf\u30fc\u30bf\u30fc\u30c6\u30fc\u30de\u3092\u4f7f\u308f\u305a\u306b<br><span class=\"swl-fz u-fz-l\">WordPress\u81ea\u4f5c\u30c6\u30fc\u30de<\/span>\u3092\u5236\u4f5c\u3059\u308b<\/p>\n\n\n\n<ul class=\"swell-block-linkList is-style-default\">\n<li class=\"swell-block-linkList__item\"><a class=\"swell-block-linkList__link\" href=\"https:\/\/motoki-design.co.jp\/wordpress\/wordpress-customize\/blog\/theme-make-minimal\/\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"swl-svg-arrowCircleRight swell-block-linkList__icon -left\" width=\"1em\" height=\"1em\" viewBox=\"0 0 48 48\" role=\"img\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M24 45C12.4 45 3 35.6 3 24S12.4 3 24 3s21 9.4 21 21-9.4 21-21 21zm0-39C14.1 6 6 14.1 6 24s8.1 18 18 18 18-8.1 18-18S33.9 6 24 6z\" \/><path d=\"m34.3 22.9-8.8-8.8c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l6.3 6.3H14.8c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5h14.8l-6.3 6.3c-.6.6-.6 1.5 0 2.1s1.5.6 2.1 0l8.8-8.8c.7-.6.7-1.6.1-2.2z\" \/><\/svg><span class=\"swell-block-linkList__text\">\u2460\u6700\u77ed\u30fb\u6700\u5c0f\u69cb\u6210\u3067\u81ea\u4f5c\u30c6\u30fc\u30de\u3092\u8868\u793a\u3057\u3066\u307f\u308b<\/span><\/a><\/li>\n\n\n\n<li class=\"swell-block-linkList__item\"><a class=\"swell-block-linkList__link\" href=\"https:\/\/motoki-design.co.jp\/wordpress\/wordpress-customize\/blog\/make-header-footer\/\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"swl-svg-arrowCircleRight swell-block-linkList__icon -left\" width=\"1em\" height=\"1em\" viewBox=\"0 0 48 48\" role=\"img\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M24 45C12.4 45 3 35.6 3 24S12.4 3 24 3s21 9.4 21 21-9.4 21-21 21zm0-39C14.1 6 6 14.1 6 24s8.1 18 18 18 18-8.1 18-18S33.9 6 24 6z\" \/><path d=\"m34.3 22.9-8.8-8.8c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l6.3 6.3H14.8c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5h14.8l-6.3 6.3c-.6.6-.6 1.5 0 2.1s1.5.6 2.1 0l8.8-8.8c.7-.6.7-1.6.1-2.2z\" \/><\/svg><span class=\"swell-block-linkList__text\">\u2461\u30d8\u30c3\u30c0\u30fc\u3068\u30d5\u30c3\u30bf\u30fc\u306e\u4f5c\u6210<\/span><\/a><\/li>\n\n\n\n<li class=\"swell-block-linkList__item\"><a class=\"swell-block-linkList__link\" href=\"https:\/\/motoki-design.co.jp\/wordpress\/wordpress-customize\/blog\/make-menu-widget\/\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"swl-svg-arrowCircleRight swell-block-linkList__icon -left\" width=\"1em\" height=\"1em\" viewBox=\"0 0 48 48\" role=\"img\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M24 45C12.4 45 3 35.6 3 24S12.4 3 24 3s21 9.4 21 21-9.4 21-21 21zm0-39C14.1 6 6 14.1 6 24s8.1 18 18 18 18-8.1 18-18S33.9 6 24 6z\" \/><path d=\"m34.3 22.9-8.8-8.8c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l6.3 6.3H14.8c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5h14.8l-6.3 6.3c-.6.6-.6 1.5 0 2.1s1.5.6 2.1 0l8.8-8.8c.7-.6.7-1.6.1-2.2z\" \/><\/svg><span class=\"swell-block-linkList__text\">\u2462\u30e1\u30cb\u30e5\u30fc\u3068\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306e\u4f5c\u6210<\/span><\/a><\/li>\n\n\n\n<li class=\"swell-block-linkList__item\"><a class=\"swell-block-linkList__link\" href=\"https:\/\/motoki-design.co.jp\/wordpress\/wordpress-customize\/blog\/make-top\/\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"swl-svg-arrowCircleRight swell-block-linkList__icon -left\" width=\"1em\" height=\"1em\" viewBox=\"0 0 48 48\" role=\"img\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M24 45C12.4 45 3 35.6 3 24S12.4 3 24 3s21 9.4 21 21-9.4 21-21 21zm0-39C14.1 6 6 14.1 6 24s8.1 18 18 18 18-8.1 18-18S33.9 6 24 6z\" \/><path d=\"m34.3 22.9-8.8-8.8c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l6.3 6.3H14.8c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5h14.8l-6.3 6.3c-.6.6-.6 1.5 0 2.1s1.5.6 2.1 0l8.8-8.8c.7-.6.7-1.6.1-2.2z\" \/><\/svg><span class=\"swell-block-linkList__text\">\u2463\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u4f5c\u6210<\/span><\/a><\/li>\n\n\n\n<li class=\"swell-block-linkList__item\"><a class=\"swell-block-linkList__link\" href=\"https:\/\/motoki-design.co.jp\/wordpress\/wordpress-customize\/blog\/make-article\/\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"swl-svg-arrowCircleRight swell-block-linkList__icon -left\" width=\"1em\" height=\"1em\" viewBox=\"0 0 48 48\" role=\"img\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M24 45C12.4 45 3 35.6 3 24S12.4 3 24 3s21 9.4 21 21-9.4 21-21 21zm0-39C14.1 6 6 14.1 6 24s8.1 18 18 18 18-8.1 18-18S33.9 6 24 6z\" \/><path d=\"m34.3 22.9-8.8-8.8c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l6.3 6.3H14.8c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5h14.8l-6.3 6.3c-.6.6-.6 1.5 0 2.1s1.5.6 2.1 0l8.8-8.8c.7-.6.7-1.6.1-2.2z\" \/><\/svg><span class=\"swell-block-linkList__text\">\u2464\u6295\u7a3f\u30da\u30fc\u30b8\u30fb\u56fa\u5b9a\u30da\u30fc\u30b8\u306e\u4f5c\u6210<\/span><\/a><\/li>\n\n\n\n<li class=\"swell-block-linkList__item\"><a class=\"swell-block-linkList__link\" href=\"https:\/\/motoki-design.co.jp\/wordpress\/wordpress-customize\/blog\/achive\/\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"swl-svg-arrowCircleRight swell-block-linkList__icon -left\" width=\"1em\" height=\"1em\" viewBox=\"0 0 48 48\" role=\"img\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M24 45C12.4 45 3 35.6 3 24S12.4 3 24 3s21 9.4 21 21-9.4 21-21 21zm0-39C14.1 6 6 14.1 6 24s8.1 18 18 18 18-8.1 18-18S33.9 6 24 6z\" \/><path d=\"m34.3 22.9-8.8-8.8c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l6.3 6.3H14.8c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5h14.8l-6.3 6.3c-.6.6-.6 1.5 0 2.1s1.5.6 2.1 0l8.8-8.8c.7-.6.7-1.6.1-2.2z\" \/><\/svg><span class=\"swell-block-linkList__text\">\u2465\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u306e\u4f5c\u6210<\/span><\/a><\/li>\n\n\n\n<li class=\"swell-block-linkList__item\"><a class=\"swell-block-linkList__link\" href=\"https:\/\/motoki-design.co.jp\/wordpress\/wordpress-customize\/blog\/make-search\/\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"swl-svg-arrowCircleRight swell-block-linkList__icon -left\" width=\"1em\" height=\"1em\" viewBox=\"0 0 48 48\" role=\"img\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M24 45C12.4 45 3 35.6 3 24S12.4 3 24 3s21 9.4 21 21-9.4 21-21 21zm0-39C14.1 6 6 14.1 6 24s8.1 18 18 18 18-8.1 18-18S33.9 6 24 6z\" \/><path d=\"m34.3 22.9-8.8-8.8c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l6.3 6.3H14.8c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5h14.8l-6.3 6.3c-.6.6-.6 1.5 0 2.1s1.5.6 2.1 0l8.8-8.8c.7-.6.7-1.6.1-2.2z\" \/><\/svg><span class=\"swell-block-linkList__text\">\u2466\u691c\u7d22\u7d50\u679c\u30da\u30fc\u30b8\u306e\u4f5c\u6210<\/span><\/a><\/li>\n\n\n\n<li class=\"swell-block-linkList__item\"><a class=\"swell-block-linkList__link\" href=\"https:\/\/motoki-design.co.jp\/wordpress\/wordpress-customize\/blog\/make-style-css\/\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"swl-svg-arrowCircleRight swell-block-linkList__icon -left\" width=\"1em\" height=\"1em\" viewBox=\"0 0 48 48\" role=\"img\" aria-hidden=\"true\" focusable=\"false\"><path d=\"M24 45C12.4 45 3 35.6 3 24S12.4 3 24 3s21 9.4 21 21-9.4 21-21 21zm0-39C14.1 6 6 14.1 6 24s8.1 18 18 18 18-8.1 18-18S33.9 6 24 6z\" \/><path d=\"m34.3 22.9-8.8-8.8c-.6-.6-1.5-.6-2.1 0s-.6 1.5 0 2.1l6.3 6.3H14.8c-.8 0-1.5.7-1.5 1.5s.7 1.5 1.5 1.5h14.8l-6.3 6.3c-.6.6-.6 1.5 0 2.1s1.5.6 2.1 0l8.8-8.8c.7-.6.7-1.6.1-2.2z\" \/><\/svg><span class=\"swell-block-linkList__text\">\u2467\u898b\u305f\u76ee\uff08style.css\uff09\u306e\u4f5c\u6210<\/span><\/a><\/li>\n<\/ul>\n<\/div><\/div>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\">\u30b5\u30a4\u30c8\u30bf\u30a4\u30c8\u30eb\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u30d8\u30c3\u30c0\u30fc\u306b\u30ed\u30b4\u307e\u305f\u306f\u30bf\u30a4\u30c8\u30eb\uff08h1\uff09\u3068\u30ad\u30e3\u30c3\u30c1\u30d5\u30ec\u30fc\u30ba\u3092\u8868\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ed\u30b4\u306e\u5165\u529b\u6b04\u306e\u8868\u793a<\/h3>\n\n\n\n<p>\u307e\u305a\u306ffunctions.php\u306b\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"funcitons.php\" data-lang=\"PHP\"><code>\/\/ \u30ab\u30b9\u30bf\u30e0\u30ed\u30b4\u306e\u8868\u793a\nadd_theme_support(&#39;custom-logo&#39;);<\/code><\/pre><\/div>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306e\u30b5\u30a4\u30c8\u60c5\u5831\u306b\u30ed\u30b4\u306e\u5165\u529b\u6b04\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"688\" height=\"838\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_17h41_33.png\" alt=\"\" class=\"wp-image-21585\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_17h41_33.png 688w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_17h41_33-382x465.png 382w\" sizes=\"(max-width: 688px) 100vw, 688px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u30ed\u30b4\u3068<strong>\u30b5\u30a4\u30c8\u306e\u30bf\u30a4\u30c8\u30eb<\/strong>\u3068<strong>\u30ad\u30e3\u30c3\u30c1\u30d5\u30ec\u30fc\u30ba<\/strong>\u306e\u60c5\u5831\u3092\u5165\u529b<\/h3>\n\n\n\n<p><strong>\u30ed\u30b4<\/strong>\u3068<strong>\u30b5\u30a4\u30c8\u306e\u30bf\u30a4\u30c8\u30eb<\/strong>\u3068<strong>\u30ad\u30e3\u30c3\u30c1\u30d5\u30ec\u30fc\u30ba<\/strong>\u3082\u5165\u529b\u3057\u3066\u304a\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>WordPress\u306e\u30ed\u30b4\u306e\u63a8\u5968\u30b5\u30a4\u30ba\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u9805\u76ee<\/th><th>\u5e45<\/th><th>\u9ad8\u3055<\/th><\/tr><\/thead><tbody><tr><td>\u30ed\u30b4<\/td><td>200px<\/td><td>100px<\/td><\/tr><\/tbody><\/table><figcaption class=\"wp-element-caption\">WordPress\u306e\u30ed\u30b4\u306e\u63a8\u5968\u30b5\u30a4\u30ba<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"690\" height=\"909\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_17h39_37.png\" alt=\"\" class=\"wp-image-21586\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_17h39_37.png 690w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_17h39_37-382x503.png 382w\" sizes=\"(max-width: 690px) 100vw, 690px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">header.php\u306b\u30b3\u30fc\u30c9\u3092\u633f\u5165<\/h3>\n\n\n\n<p>header.php\u306ebody\u306e\u4e2d\u306b\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"header.php\" data-lang=\"PHP\"><code>    &lt;div id=&quot;site-title&quot;&gt;\n        &lt;?php\n        if (has_custom_logo()) :\n            $custom_logo_id = get_theme_mod(&#39;custom_logo&#39;);\n            $logo = wp_get_attachment_image_src($custom_logo_id, &#39;full&#39;);\n            $imagesize = getimagesize($logo[0]);\n            if ($imagesize) {\n                $image_width = $imagesize[0];\n                $image_height = $imagesize[1];\n            }\n            if (is_front_page() || is_home()) :\n                echo &#39;&lt;h1&gt;&lt;a href=&quot;&#39; . esc_url(home_url(&#39;\/&#39;)) . &#39;&quot; title=&quot;&#39; .  get_bloginfo(&#39;name&#39;) . &#39;&quot; rel=&quot;home&quot;&gt;&lt;img width=&quot;&#39; . $image_width . &#39;&quot; height=&quot;&#39; . $image_height . &#39;&quot; src=&quot;&#39; . esc_url($logo[0]) . &#39;&quot; alt=&quot;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&quot;&gt;&lt;\/a&gt;&#39;;\n                echo &#39;&lt;div class=&quot;catchphrase&quot;&gt;&lt;span class=&quot;site-title&quot; style=&quot;display: none;&quot;&gt;&#39; .  get_bloginfo(&#39;name&#39;) . &#39;&lt;\/span&gt; &#39; . get_bloginfo(&#39;description&#39;, &#39;display&#39;) . &#39;&lt;\/div&gt;&lt;\/h1&gt;&#39;;\n            else :\n                echo &#39;&lt;div&gt;&lt;a href=&quot;&#39; . esc_url(home_url(&#39;\/&#39;)) . &#39;&quot; title=&quot;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&quot; rel=&quot;home&quot;&gt;&lt;img width=&quot;&#39; . $image_width . &#39;&quot; height=&quot;&#39; . $image_height . &#39;&quot; src=&quot;&#39; . esc_url($logo[0]) . &#39;&quot; alt=&quot;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&quot;&gt;&lt;\/a&gt;&#39;;\n                echo &#39;&lt;div class=&quot;catchphrase&quot;&gt;&lt;span class=&quot;site-title&quot; style=&quot;display: none;&quot;&gt;&#39; .  get_bloginfo(&#39;name&#39;) . &#39;&lt;\/span&gt; &#39; . get_bloginfo(&#39;description&#39;, &#39;display&#39;) . &#39;&lt;\/div&gt;&lt;\/div&gt;&#39;;\n            endif;\n        else :\n            if (is_front_page() || is_home()) :\n                echo &#39;&lt;h1&gt;&lt;a href=&quot;&#39; . esc_url(home_url(&#39;\/&#39;)) . &#39;&quot; title=&quot;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&quot; rel=&quot;home&quot;&gt;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&lt;\/a&gt;&#39;;\n                echo &#39;&lt;div class=&quot;catchphrase&quot;&gt;&#39; . get_bloginfo(&#39;description&#39;, &#39;display&#39;) . &#39;&lt;\/div&gt;&lt;\/h1&gt;&#39;;\n            else :\n                echo &#39;&lt;div&gt;&lt;a href=&quot;&#39; . esc_url(home_url(&#39;\/&#39;)) . &#39;&quot; title=&quot;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&quot; rel=&quot;home&quot;&gt;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&lt;\/a&gt;&#39;;\n                echo &#39;&lt;div class=&quot;catchphrase&quot;&gt;&#39; . get_bloginfo(&#39;description&#39;, &#39;display&#39;) . &#39;&lt;\/div&gt;&lt;\/div&gt;&#39;;\n            endif;\n        endif;\n        ?&gt;\n    &lt;\/div&gt;<\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">\u30ed\u30b4\u753b\u50cf\u306ewidth\u3068height\u306e\u8868\u793a<\/h4>\n\n\n\n<p><code>getimagesize();<\/code>\u95a2\u6570\u304b\u3089\u753b\u50cf\u306e\u9ad8\u3055\u3088\u6a2a\u5e45\u3092\u53d6\u5f97\u3057\u3066\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u9ad8\u3055\uff1a$image_height<\/li>\n\n\n\n<li>\u6a2a\u5e45\uff1a$image_width<\/li>\n<\/ul>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>$imagesize = getimagesize($logo[0]);\nif ($imagesize) {\n    $image_width = $imagesize[0];\n    $image_height = $imagesize[1];\n}<\/code><\/pre><\/div>\n\n\n\n<h4 class=\"wp-block-heading\">the_custom_logo()\u3092\u4f7f\u308f\u306a\u3044<\/h4>\n\n\n\n<p>\u305f\u3060\u5358\u306b\u30ed\u30b4\u3092\u8868\u793a\u3059\u308b\u6642\u306f<code>the_custom_logo()<\/code>\u3060\u3051\u3067\u8868\u793a\u3067\u304d\u307e\u3059\u304c\u3001<\/p>\n\n\n\n<p><strong>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u4ee5\u5916\u306e\u6642\u306fh1\u306b\u3057\u305f\u304f\u306a\u3044<\/strong>\u306e\u3067\u4f7f\u3044\u307e\u305b\u3093\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">h1\u306b\u306a\u306b\u3092\u542b\u3081\u308b\u306e\u304b<\/h4>\n\n\n\n<p>h1\u306b\u95a2\u3057\u3066\u306f\u6d41\u6d3e\u304c\u8272\u3005\u3042\u308b\u306e\u3067\u3059\u304c\u2026<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\uff08\u3061\u3087\u3063\u3068\u7279\u6b8a\u3067\u3059\uff09<\/p>\n\n\n\n<div class=\"swell-block-capbox cap_box is-style-inner\"><div class=\"cap_box_ttl\"><span>h1\u306b\u542b\u3081\u308b\u3082\u306e<\/span><\/div><div class=\"cap_box_content\">\n<ol class=\"is-style-num_circle wp-block-list\">\n<li>h1\u306b<strong>\u30ed\u30b4\u753b\u50cf<\/strong>\u3092\u542b\u3081\u308b<\/li>\n\n\n\n<li>\u30ed\u30b4\u753b\u50cf\u3092\u8868\u793a\u3059\u308b\u6642\u306f<strong>\u30b5\u30a4\u30c8\u30bf\u30a4\u30c8\u30eb\u306e\u30c6\u30ad\u30b9\u30c8\u3082\u542b\u3081\u308b <\/strong>\u203b\u305f\u3060\u3057\u30bf\u30a4\u30c8\u30eb\u90e8\u5206\u306f\u975e\u8868\u793a\u306b\u3059\u308b<\/li>\n\n\n\n<li>h1\u306b<strong>\u30ad\u30e3\u30c3\u30c1\u30d5\u30ec\u30fc\u30ba<\/strong>\u3092\u542b\u3081\u308b<\/li>\n\n\n\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u4ee5\u5916\u306f<strong>div<\/strong>\u306b\u3059\u308b \u203b\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u3092h1\u306b\u3057\u305f\u3044\u306e\u3067<\/li>\n<\/ol>\n<\/div><\/div>\n\n\n\n<p class=\"is-style-icon_pen\">\u30ad\u30e3\u30c3\u30c1\u30d5\u30ec\u30fc\u30ba\u306fh1\u306b\u542b\u3081\u306a\u3044\u30b1\u30fc\u30b9\u3082\u591a\u3044\u306e\u3067\u3059\u304c\u3001<strong>\u30ad\u30fc\u30ef\u30fc\u30c9\u3068\u3057\u3066\u5165\u308c\u305f\u3044<\/strong>\u3053\u3068\u3082\u3042\u308b\u306e\u3067\u5165\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4ee5\u4e0b\u306e\u6761\u4ef6\u5206\u5c90\u3082\u5165\u308c\u305f\u30b3\u30fc\u30c9\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30ed\u30b4\u753b\u50cf\u304c\u3042\u308b\u304b\u306a\u3044\u304b\uff1f<\/li>\n\n\n\n<li>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u304b\u3069\u3046\u304b<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30a4\u30c8\u30bf\u30a4\u30c8\u30eb\u306e\u975e\u8868\u793a<\/h3>\n\n\n\n<p>\u30ed\u30b4\u3067\u306f\u306a\u304f\u30c6\u30ad\u30b9\u30c8\u3067\u30b5\u30a4\u30c8\u30bf\u30a4\u30c8\u30eb\u90e8\u5206\u3092\u5165\u308c\u3064\u3064\u3001<code>display:none;<\/code>\u3067\u975e\u8868\u793a\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;span class=&quot;site-title&quot; style=&quot;display: none;&quot;&gt;&#39; .  get_bloginfo(&#39;name&#39;) . &#39;&lt;\/span&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u3063\u3066Google\u306b\u306f\u30b5\u30a4\u30c8\u540d\u300cSUIMIN &#8211; WordPress\u306e\u81ea\u4f5c\u30c6\u30fc\u30de\u5236\u4f5c\u300d\u3092\u30c6\u30ad\u30b9\u30c8\u3067\u4f1d\u3048\u3064\u3064\u3001<\/p>\n\n\n\n<p>\u8868\u793a\u4e0a\u306f\u30ed\u30b4\u3067\u8868\u793a\u3092\u3057\u305f\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u72b6\u614b\u306e\u78ba\u8a8d<\/h4>\n\n\n\n<p>\u5de6\u304c\u30ed\u30b4\u8868\u793a\u6642\u3001\u53f3\u304c\u30ed\u30b4\u7121\u3057\u306e\u30b5\u30a4\u30c8\u30bf\u30a4\u30c8\u30eb\u8868\u793a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-border\"><img decoding=\"async\" width=\"812\" height=\"358\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_18h21_29-812x358.jpg\" alt=\"\" class=\"wp-image-21587\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_18h21_29-812x358.jpg 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_18h21_29-382x169.jpg 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_18h21_29-768x339.jpg 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_18h21_29.jpg 924w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u78ba\u8a8d<\/h3>\n\n\n\n<p>\u6700\u5f8c\u306b\u78ba\u8a8d\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30b5\u30a4\u30c8\u30bf\u30a4\u30c8\u30eb\u306e\u30c6\u30ad\u30b9\u30c8\u306f\u975e\u8868\u793a\u3067\u3059\u304c\u3001h1\u306e\u69cb\u9020\u7684\u306b\u306f\u30b5\u30a4\u30c8\u30bf\u30a4\u30c8\u30eb\u304c\u8a18\u8f09\u3055\u308c\u3066\u3044\u308b\u72b6\u614b\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img decoding=\"async\" width=\"635\" height=\"685\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_18h51_09.png\" alt=\"\" class=\"wp-image-21590\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_18h51_09.png 635w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_18h51_09-382x412.png 382w\" sizes=\"(max-width: 635px) 100vw, 635px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30d4\u30fc\u30e9\u30a4\u30c8\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>footer.php\u306b\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u8a18\u8f09\u3002<\/p>\n\n\n\n<p>\u672c\u5f53\u306f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u304b\u3089\u6587\u8a00\u3092\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u306b\u3057\u305f\u3044\u304c\u3001\u4eca\u56de\u306f\u30b3\u30fc\u30c9\u306b\u76f4\u63a5\u8a18\u8f09\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"footer\" data-lang=\"PHP\"><code>&lt;div class=&quot;copyright&quot;&gt;\n    \u00a92023 &lt;?php bloginfo(&#39;name&#39;); ?&gt;\n&lt;\/div&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u30b3\u30d4\u30fc\u30e9\u30a4\u30c8\u306e\u6b63\u5f0f\u306a\u8868\u8a18\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n\n\n\n<p><strong>\u00a9 \u958b\u59cb\u5e74 \u30b5\u30a4\u30c8\u540d<\/strong><\/p>\n\n\n\n<p class=\"is-style-icon_pen\">\u00a9 2010-2023 SUIMIN All Rights Reserved.<br>\u3068\u3044\u3046\u3088\u3046\u306a\u8868\u8a18\u306f\u7121\u99c4\u304c\u591a\u3044\u306e\u3067\u6700\u4f4e\u9650\u5fc5\u8981\u306a\u3082\u306e\u3060\u3051\u3092\u8868\u793a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30f3\u30c6\u30f3\u30c4\u90e8\u5206\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u90e8\u5206\u306e\u8868\u793a\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3061\u30892\u30d1\u30bf\u30fc\u30f3\u3042\u3063\u3066\u3001\u6a19\u6e96\u8a2d\u5b9a\u306e<strong>\u6700\u65b0\u8a18\u4e8b\u306e\u5834\u5408<\/strong>\u3068<strong>\u56fa\u5b9a\u30da\u30fc\u30b8\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408<\/strong>\u3068\u3092\u60f3\u5b9a\u3057\u3066\u4f5c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">home.php\u306e\u4f5c\u6210<\/h3>\n\n\n\n<p>\u3044\u307e\u307e\u3067\u306f\u672c\u6587\u3092\u4eee\u3067index.php\u3092\u8868\u793a\u3055\u305b\u3066\u307e\u3057\u305f\u304c\u3001\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u7528\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u5019\u88dc\u306f\u4ee5\u4e0b\u306e3\u3064\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30fbfront-page.php<br>\u30fbhome.php<br>\u30fbindex.php<\/p>\n\n\n\n<p class=\"is-style-icon_info\">\u203b\u4e0a\u306b\u3044\u304f\u307b\u3069\u8868\u793a\u512a\u5148\u5ea6\u304c\u9ad8\u3044<\/p>\n\n\n\n<p>\u4eca\u56de\u306fhome.php\u3067\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3067\u4f5c\u6210\u3057\u305f\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067<strong>home.php<\/strong>\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u7c21\u5358\u306a\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"home.php\" data-lang=\"PHP\"><code>&lt;?php get_header(); ?&gt;\n&lt;main id=&quot;main-content&quot;&gt;\n    home.php\n&lt;\/main&gt;\n&lt;?php get_footer(); ?&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u521d\u671f\u72b6\u614b\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306e\u8a2d\u5b9a\u306f\u3001\u7ba1\u7406\u753b\u9762\u306e\u8a2d\u5b9a \uff1e \u8868\u793a\u8a2d\u5b9a \uff1e \u6700\u65b0\u306e\u6295\u7a3f\u306e\u5834\u5408\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"745\" height=\"372\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h17_42.png\" alt=\"\" class=\"wp-image-21580\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h17_42.png 745w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h17_42-382x191.png 382w\" sizes=\"(max-width: 745px) 100vw, 745px\" \/><\/figure>\n\n\n\n<p>home.php\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img decoding=\"async\" width=\"734\" height=\"854\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h18_50.png\" alt=\"\" class=\"wp-image-21581\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h18_50.png 734w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h18_50-382x444.png 382w\" sizes=\"(max-width: 734px) 100vw, 734px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">page.php\u306e\u4f5c\u6210<\/h3>\n\n\n\n<p>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u7528\u306e\u56fa\u5b9a\u30da\u30fc\u30b8\u3092\u6307\u5b9a\u3057\u305f\u5834\u5408\u306e\u8868\u793a\u3082\u4f5c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf\u3067<strong>page.php<\/strong>\uff08\u56fa\u5b9a\u30da\u30fc\u30b8\u7528\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff09\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u7c21\u5358\u306a\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\" data-file=\"page.php\"><code>&lt;?php get_header(); ?&gt;\n&lt;main id=&quot;main-content&quot;&gt;\n    page.php\n&lt;\/main&gt;\n&lt;?php get_footer(); ?&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u7ba1\u7406\u753b\u9762\u56fa\u5b9a\u30da\u30fc\u30b8\u304b\u3089\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u7528\u306e<strong>\u56fa\u5b9a\u30da\u30fc\u30b8<\/strong>\u30921\u8a18\u4e8b\u3001\u4f5c\u6210\u3057\u3066\u516c\u958b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img decoding=\"async\" width=\"559\" height=\"246\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h21_08.png\" alt=\"\" class=\"wp-image-21582\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h21_08.png 559w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h21_08-382x168.png 382w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/figure>\n\n\n\n<p>\u7ba1\u7406\u753b\u9762\u306e\u8a2d\u5b9a\u304b\u3089\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306e\u8868\u793a\u3092\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u30db\u30fc\u30e0\u30da\u30fc\u30b8\u306b\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"812\" height=\"604\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h37_44-812x604.png\" alt=\"\" class=\"wp-image-21583\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h37_44-812x604.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h37_44-382x284.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h37_44-768x571.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h37_44.png 924w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<p>page.php\u304c\u8868\u793a\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full is-style-border\"><img decoding=\"async\" width=\"514\" height=\"728\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h42_46.png\" alt=\"\" class=\"wp-image-21584\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h42_46.png 514w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_16h42_46-382x541.png 382w\" sizes=\"(max-width: 514px) 100vw, 514px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u3053\u306e\u6642\u70b9\u3067\u306e\u30b3\u30fc\u30c9<\/h2>\n\n\n\n<p>\u3053\u306e\u6642\u70b9\u3067\u306e\u30b3\u30fc\u30c9\u307e\u3068\u3081<\/p>\n\n\n\n<p>index.php\u3068sidebar.php\u306f\u5909\u66f4\u306a\u3057\u3002<\/p>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">header.php<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-arrow_drop_down\"><\/i><i class=\"__icon--opened icon-arrow_drop_up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"header.php\" data-lang=\"PHP\"><code>&lt;!doctype html&gt;\n&lt;html &lt;?php language_attributes(); ?&gt;&gt;\n\n&lt;head&gt;\n    &lt;meta charset=&quot;utf-8&quot;&gt;\n    &lt;meta name=&quot;format-detection&quot; content=&quot;telephone=no&quot;&gt;\n    &lt;meta http-equiv=&quot;X-UA-Compatible&quot; content=&quot;IE=edge&quot;&gt;\n    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, viewport-fit=cover&quot;&gt;\n    &lt;?php wp_head(); ?&gt;\n&lt;\/head&gt;\n\n&lt;body&gt;\n    &lt;div id=&quot;site-title&quot;&gt;\n        &lt;?php\n        $custom_logo_id = get_theme_mod(&#39;custom_logo&#39;);\n        $logo = wp_get_attachment_image_src($custom_logo_id, &#39;full&#39;);\n        $imagesize = getimagesize($logo[0]);\n        if ($imagesize) {\n            $image_width = $imagesize[0];\n            $image_height = $imagesize[1];\n        }\n        if (has_custom_logo()) :\n            if (is_front_page() || is_home()) :\n                echo &#39;&lt;h1&gt;&lt;a href=&quot;&#39; . esc_url(home_url(&#39;\/&#39;)) . &#39;&quot; title=&quot;&#39; .  get_bloginfo(&#39;name&#39;) . &#39;&quot; rel=&quot;home&quot;&gt;&lt;img width=&quot;&#39; . $image_width . &#39;&quot; height=&quot;&#39; . $image_height . &#39;&quot; src=&quot;&#39; . esc_url($logo[0]) . &#39;&quot; alt=&quot;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&quot;&gt;&lt;\/a&gt;&#39;;\n                echo &#39;&lt;div class=&quot;catchphrase&quot;&gt;&lt;span class=&quot;site-title&quot; style=&quot;display: none;&quot;&gt;&#39; .  get_bloginfo(&#39;name&#39;) . &#39;&lt;\/span&gt; &#39; . get_bloginfo(&#39;description&#39;, &#39;display&#39;) . &#39;&lt;\/div&gt;&lt;\/h1&gt;&#39;;\n            else :\n                echo &#39;&lt;div&gt;&lt;a href=&quot;&#39; . esc_url(home_url(&#39;\/&#39;)) . &#39;&quot; title=&quot;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&quot; rel=&quot;home&quot;&gt;&lt;img width=&quot;&#39; . $image_width . &#39;&quot; height=&quot;&#39; . $image_height . &#39;&quot; src=&quot;&#39; . esc_url($logo[0]) . &#39;&quot; alt=&quot;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&quot;&gt;&lt;\/a&gt;&#39;;\n                echo &#39;&lt;div class=&quot;catchphrase&quot;&gt;&lt;span class=&quot;site-title&quot; style=&quot;display: none;&quot;&gt;&#39; .  get_bloginfo(&#39;name&#39;) . &#39;&lt;\/span&gt; &#39; . get_bloginfo(&#39;description&#39;, &#39;display&#39;) . &#39;&lt;\/div&gt;&lt;\/div&gt;&#39;;\n            endif;\n        else :\n            if (is_front_page() || is_home()) :\n                echo &#39;&lt;h1&gt;&lt;a href=&quot;&#39; . esc_url(home_url(&#39;\/&#39;)) . &#39;&quot; title=&quot;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&quot; rel=&quot;home&quot;&gt;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&lt;\/a&gt;&#39;;\n                echo &#39;&lt;div class=&quot;catchphrase&quot;&gt;&#39; . get_bloginfo(&#39;description&#39;, &#39;display&#39;) . &#39;&lt;\/div&gt;&lt;\/h1&gt;&#39;;\n            else :\n                echo &#39;&lt;div&gt;&lt;a href=&quot;&#39; . esc_url(home_url(&#39;\/&#39;)) . &#39;&quot; title=&quot;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&quot; rel=&quot;home&quot;&gt;&#39; . get_bloginfo(&#39;name&#39;) . &#39;&lt;\/a&gt;&#39;;\n                echo &#39;&lt;div class=&quot;catchphrase&quot;&gt;&#39; . get_bloginfo(&#39;description&#39;, &#39;display&#39;) . &#39;&lt;\/div&gt;&lt;\/div&gt;&#39;;\n            endif;\n        endif;\n        ?&gt;\n    &lt;\/div&gt;\n    &lt;?php\n    wp_nav_menu([\n        &#39;container&#39; =&gt; &#39;&#39;,\n        &#39;theme_location&#39; =&gt; &#39;global_menu&#39;,\n    ]);\n    ?&gt;<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">home.php\u3068page.php<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-arrow_drop_down\"><\/i><i class=\"__icon--opened icon-arrow_drop_up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"home.php\" data-lang=\"PHP\"><code>&lt;?php get_header(); ?&gt;\n&lt;main id=&quot;main-content&quot;&gt;\n    \u30b3\u30f3\u30c6\u30f3\u30c4\u90e8\u5206\n&lt;\/main&gt;\n&lt;?php get_footer(); ?&gt;<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">footer.php<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-arrow_drop_down\"><\/i><i class=\"__icon--opened icon-arrow_drop_up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"footer.php\" data-lang=\"PHP\"><code>&lt;?php get_sidebar(); ?&gt;\n\n&lt;?php if (is_active_sidebar(&#39;sidebar&#39;)) : ?&gt;\n    &lt;div id=&quot;sidebar_widget&quot;&gt;\n        &lt;?php dynamic_sidebar(&#39;sidebar&#39;); ?&gt;\n    &lt;\/div&gt;\n&lt;?php endif; ?&gt;\n\n&lt;?php\nwp_nav_menu([\n    &#39;container&#39;       =&gt; &#39;&#39;,\n    &#39;theme_location&#39;  =&gt; &#39;footer_menu&#39;,\n]);\n?&gt;\n\n&lt;footer id=&quot;footer&quot;&gt;\n    &lt;?php if (is_active_sidebar(&#39;footer&#39;)) : ?&gt;\n        &lt;div id=&quot;footer_widget&quot;&gt;\n            &lt;?php dynamic_sidebar(&#39;footer&#39;); ?&gt;\n        &lt;\/div&gt;\n    &lt;?php endif; ?&gt;\n&lt;\/footer&gt;\n&lt;?php wp_footer(); ?&gt;\n&lt;div class=&quot;copyright&quot;&gt;\n    \u00a92023 &lt;?php bloginfo(&#39;name&#39;); ?&gt;\n&lt;\/div&gt;\n&lt;\/body&gt;\n\n&lt;\/html&gt;<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<div class=\"swell-block-accordion\">\n<details class=\"swell-block-accordion__item\" data-swl-acc=\"wrapper\"><summary class=\"swell-block-accordion__title\" data-swl-acc=\"header\"><span class=\"swell-block-accordion__label\">functions.php<\/span><span class=\"swell-block-accordion__icon c-switchIconBtn\" data-swl-acc=\"icon\" aria-hidden=\"true\" data-opened=\"false\"><i class=\"__icon--closed icon-arrow_drop_down\"><\/i><i class=\"__icon--opened icon-arrow_drop_up\"><\/i><\/span><\/summary><div class=\"swell-block-accordion__body\" data-swl-acc=\"body\">\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"functions.php\" data-lang=\"PHP\"><code>&lt;?php\n\n\/\/ \u5916\u89b3\u306e\u30e1\u30cb\u30e5\u30fc\u8868\u793a\nadd_theme_support(&#39;menus&#39;);\n\n\/\/ \u5916\u89b3\u306e\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u8868\u793a\nadd_theme_support(&#39;widgets&#39;);\n\n\/\/ \u30ab\u30b9\u30bf\u30e0\u30ed\u30b4\u306e\u8868\u793a\nadd_theme_support(&#39;custom-logo&#39;);\n\n\/\/ \u30bf\u30a4\u30c8\u30eb\u30bf\u30b0\u306e\u8868\u793a\nadd_theme_support(&#39;title-tag&#39;);\n\n\/\/ \u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u306e\u8868\u793a\nadd_theme_support(&#39;post-thumbnails&#39;);\n\n\/\/ WordPress\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\nremove_action(&#39;wp_head&#39;, &#39;wp_generator&#39;);\n\n\/\/ \u7d75\u6587\u5b57\nadd_filter(&#39;emoji_svg_url&#39;, &#39;__return_false&#39;);\nremove_action(&#39;wp_head&#39;, &#39;print_emoji_detection_script&#39;, 7);\nremove_action(&#39;admin_print_scripts&#39;, &#39;print_emoji_detection_script&#39;);\nremove_action(&#39;wp_print_styles&#39;, &#39;print_emoji_styles&#39;);\nremove_action(&#39;admin_print_styles&#39;, &#39;print_emoji_styles&#39;);\n\n\/\/ Windows Live Write\u306e\u505c\u6b62\nremove_action(&#39;wp_head&#39;, &#39;wlwmanifest_link&#39;);\n\n\/\/ EditURI(RSD Link)\u306e\u505c\u6b62\nremove_action(&#39;wp_head&#39;, &#39;rsd_link&#39;);\n\n\/\/ \u8a18\u53f7\u306e\u81ea\u52d5\u5909\u63db\u505c\u6b62(wptexturize\u7121\u52b9\u5316)\nadd_filter(&#39;run_wptexturize&#39;, &#39;__return_false&#39;);\n\n\/\/ https:\/\/api.w.org\/\u306e\u505c\u6b62\nremove_action(&#39;wp_head&#39;, &#39;rest_output_link_wp_head&#39;);\n\n\/\/ global-styles-inline-css\u306e\u505c\u6b62\nremove_action(&#39;wp_enqueue_scripts&#39;, &#39;wp_enqueue_global_styles&#39;);\nremove_action(&#39;wp_footer&#39;, &#39;wp_enqueue_global_styles&#39;, 1);\nremove_action(&#39;wp_body_open&#39;, &#39;wp_global_styles_render_svg_filters&#39;);\n\n\/\/ classic-theme-styles\u306e\u505c\u6b62\nadd_action(&#39;wp_enqueue_scripts&#39;, function () {\n    wp_dequeue_style(&#39;classic-theme-styles&#39;);\n}, 20);\n\n\/\/ wp-block-library\u306e\u505c\u6b62\nadd_action(&#39;wp_enqueue_scripts&#39;, function () {\n    wp_dequeue_style(&#39;wp-block-library&#39;);\n}, 20);\n\n\/\/ \u30e1\u30cb\u30e5\u30fc\u306eli\u306eid,class\u3092\u524a\u9664\nadd_filter(&#39;nav_menu_css_class&#39;, &#39;wp_navtag_remove&#39;, 100, 1);\nadd_filter(&#39;nav_menu_item_id&#39;, &#39;wp_navtag_remove&#39;, 100, 1);\nadd_filter(&#39;page_css_class&#39;, &#39;my_css_attributes_filter&#39;, 100, 1);\nfunction wp_navtag_remove($var) {\n    return is_array($var) ? array_intersect($var, array(&#39;current-menu-item&#39;)) : &#39;&#39;;\n}\n\n\/\/ \u30e1\u30cb\u30e5\u30fc\u4f4d\u7f6e\u306e\u8a2d\u5b9a\nfunction setup_nav_menu() {\n    register_nav_menu(&#39;global_menu&#39;, &#39;\u30b0\u30ed\u30fc\u30d0\u30eb\u30e1\u30cb\u30e5\u30fc&#39;);\n    register_nav_menu(&#39;footer_menu&#39;, &#39;\u30d5\u30c3\u30bf\u30fc\u30e1\u30cb\u30e5\u30fc&#39;);\n}\nadd_action(&#39;after_setup_theme&#39;, &#39;setup_nav_menu&#39;);\n\n\/\/ \u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u30a8\u30ea\u30a2\u306e\u767b\u9332\nfunction register_area() {\n    register_sidebar([\n        &#39;name&#39; =&gt; &#39;\u30b5\u30a4\u30c9\u30d0\u30fc&#39;,\n        &#39;id&#39; =&gt; &#39;sidebar&#39;,\n        &#39;description&#39; =&gt; &#39;\u30b5\u30a4\u30c9\u30d0\u30fc\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002&#39;,\n        &#39;before_widget&#39; =&gt; &#39;&lt;div id=&quot;%1$s&quot; class=&quot;%2$s&quot;&gt;&#39;,\n        &#39;after_widget&#39; =&gt; &#39;&lt;\/div&gt;&#39;,\n    ]);\n    register_sidebar([\n        &#39;name&#39; =&gt; &#39;\u30d5\u30c3\u30bf\u30fc&#39;,\n        &#39;id&#39; =&gt; &#39;footer&#39;,\n        &#39;description&#39; =&gt; &#39;\u30d5\u30c3\u30bf\u30fc\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002&#39;,\n        &#39;before_widget&#39; =&gt; &#39;&lt;div id=&quot;%1$s&quot; class=&quot;%2$s&quot;&gt;&#39;,\n        &#39;after_widget&#39; =&gt; &#39;&lt;\/div&gt;&#39;,\n    ]);\n}\nadd_action(&#39;widgets_init&#39;, &#39;register_area&#39;);<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3068\u547c\u3093\u3067\u3044\u3044\u306e\u304b\u308f\u304b\u3089\u306a\u3044\u898b\u305f\u76ee\u3067\u3059\u304c\u2026<\/p>\n\n\n\n<p>\u69cb\u9020\u7684\u306b\u306f\u3060\u3044\u3076\u30b5\u30a4\u30c8\u3063\u307d\u304f\u306a\u3063\u3066\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u7d30\u304b\u3044\u3068\u3053\u308d\u3092\u76f4\u3057\u305f\u3044\u3068\u3053\u308d\u3067\u3059\u304c\u3001\u307e\u305a\u306f\u6700\u5c0f\u9650\u3067\u30b5\u30a4\u30c8\u306b\u5fc5\u8981\u306a\u30d1\u30fc\u30c4\u3092\u63c3\u3048\u3066\u3044\u3053\u3046\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30d5\u30eb\u30b9\u30af\u30e9\u30c3\u30c1\u3067WordPress\u30c6\u30fc\u30de\u3092\u4f5c\u3063\u3066\u307f\u308b\u3001\u7b2c4\u5f3e\u3002 \u4eca\u56de\u306f\u30ed\u30b4\u3084\u3089\u30b3\u30d4\u30fc\u30e9\u30a4\u30c8\u3084\u3089\u3092\u5165\u308c\u3066\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3059\u3002 \u6700\u5c0f\u9650\u306e\u69cb\u9020\u3060\u3051\u3067\u4f5c\u6210\u3059\u308b\u306e\u3067\u3001\u898b\u305f\u76ee\u306f\u6b8b\u5ff5\u306a\u307e\u307e\u306a\u306e\u3067\u60aa\u3057\u304b\u3089\u305a\u3002 \u30b5\u30a4\u30c8\u30bf\u30a4\u30c8\u30eb\u306e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":21593,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pochipp_cv_data":"","swell_btn_cv_data":"","footnotes":""},"categories":[93],"tags":[],"area":[],"class_list":["post-21569","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-theme"],"_links":{"self":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/21569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/comments?post=21569"}],"version-history":[{"count":1,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/21569\/revisions"}],"predecessor-version":[{"id":24231,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/21569\/revisions\/24231"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media\/21593"}],"wp:attachment":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=21569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=21569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=21569"},{"taxonomy":"area","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/area?post=21569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}