{"id":21536,"date":"2021-02-23T15:48:52","date_gmt":"2021-02-23T06:48:52","guid":{"rendered":"https:\/\/motoki-design.co.jp\/wordpress\/?p=21536"},"modified":"2024-03-04T18:13:26","modified_gmt":"2024-03-04T09:13:26","slug":"make-menu-widget","status":"publish","type":"post","link":"https:\/\/motoki-design.co.jp\/wordpress\/make-menu-widget\/","title":{"rendered":"WordPress\u81ea\u4f5c\u30c6\u30fc\u30de\u5236\u4f5c\u2462\u2502\u30e1\u30cb\u30e5\u30fc\u3068\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306e\u4f5c\u6210"},"content":{"rendered":"\n<p>WordPress\u306e\u81ea\u4f5c\u30c6\u30fc\u30de\u3092\u30b9\u30bf\u30fc\u30bf\u30fc\u30c6\u30fc\u30de\u3092\u4f7f\u308f\u305a\u306b\u30d5\u30eb\u30b9\u30af\u30e9\u30c3\u30c1\u3067\u4f5c\u6210\u3057\u3066\u307f\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u30e1\u30cb\u30e5\u30fc\u3068\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u8868\u793a\u3055\u305b\u3066\u307f\u307e\u3059\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\">WordPress\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b<\/h2>\n\n\n\n<p>\u5916\u89b3\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u30b0\u30ed\u30fc\u30d0\u30eb\u30e1\u30cb\u30e5\u30fc\u30fb\u30d5\u30c3\u30bf\u30fc\u30e1\u30cb\u30e5\u30fc\u3092\u4f5c\u6210\u3057\u3066\u8868\u793a\u3055\u305b\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7ba1\u7406\u753b\u9762\u306b\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b<\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092functions.php\u306b\u5165\u308c\u308b\u3068\u3001\u5916\u89b3\u304b\u3089\u30e1\u30cb\u30e5\u30fc\u3078\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"487\" height=\"271\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_09h44_14.png\" alt=\"\" class=\"wp-image-21539\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_09h44_14.png 487w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_09h44_14-382x213.png 382w\" sizes=\"(max-width: 487px) 100vw, 487px\" \/><\/figure>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"functions.php\" data-lang=\"PHP\"><code>\/\/ \u5916\u89b3\u306e\u30e1\u30cb\u30e5\u30fc\u8868\u793a\nadd_theme_support(&#39;menus&#39;);<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e1\u30cb\u30e5\u30fc\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092functions.php\u306b\u5165\u308c\u308b\u3068\u3001\u30e1\u30cb\u30e5\u30fc\u8a2d\u5b9a\u306e\u9805\u76ee\u306b\u30e1\u30cb\u30e5\u30fc\u4f4d\u7f6e\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"functions.php\" data-lang=\"PHP\"><code>function 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;);<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"812\" height=\"498\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_12h54_17-812x498.png\" alt=\"\" class=\"wp-image-21546\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_12h54_17-812x498.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_12h54_17-382x234.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_12h54_17-768x471.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_12h54_17.png 924w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e1\u30cb\u30e5\u30fc\u306e\u8868\u793a<\/h3>\n\n\n\n<p>header.php\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3055\u305b\u305f\u3044\u5834\u6240\u306b\u3001\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>    &lt;nav class=&quot; global-menu-nav&quot;&gt;\n        &lt;ul class=&quot;global-menu-list&quot;&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                &#39;items_wrap&#39;      =&gt; &#39;%3$s&#39;,\n                &#39;link_before&#39;     =&gt; &#39;&lt;span &gt;&#39;,\n                &#39;link_after&#39;      =&gt; &#39;&lt;\/span&gt;&#39;,\n            ]);\n            ?&gt;\n        &lt;\/ul&gt;\n    &lt;\/nav&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u307e\u305ffooterphp\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3055\u305b\u305f\u3044\u5834\u6240\u306b\u3001\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;ul class=&quot;footer-menu-list&quot;&gt;\n    &lt;?php\n    wp_nav_menu([\n        &#39;container&#39;       =&gt; &#39;&#39;,\n        &#39;theme_location&#39;  =&gt; &#39;footer_menu&#39;,\n        &#39;items_wrap&#39;      =&gt; &#39;%3$s&#39;,\n        &#39;link_before&#39;     =&gt; &#39;&lt;span &gt;&#39;,\n        &#39;link_after&#39;      =&gt; &#39;&lt;\/span&gt;&#39;,\n    ]);\n    ?&gt;\n&lt;\/ul&gt;<\/code><\/pre><\/div>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>\u9805\u76ee<\/th><th>\u5099\u8003<\/th><\/tr><\/thead><tbody><tr><td>container<\/td><td>ul\u3092\u56f2\u3046\u8981\u7d20\u3092\u6307\u5b9a\uff08div, nav, false\uff09\u203b\u7a7a\u767d\u306ffalse\u3068\u540c\u3058\u3002<\/td><\/tr><tr><td>theme_location<\/td><td>\u767b\u9332\u3057\u305f\u4f4d\u7f6e\u8a2d\u5b9a\uff08\u30ed\u30b1\u30fc\u30b7\u30e7\u30f3\u540d\uff09\u3092\u6307\u5b9a<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -external -noimg\" data-type=\"type3\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/wpdocs.osdn.jp\/%E3%83%86%E3%83%B3%E3%83%97%E3%83%AC%E3%83%BC%E3%83%88%E3%82%BF%E3%82%B0\/wp_nav_menu\" target=\"_blank\" rel=\"noopener noreferrer\">500 Internal Server Error<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\"><\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<h3 class=\"wp-block-heading\">\u30e1\u30cb\u30e5\u30fc\u306e\u8868\u793a\u78ba\u8a8d<\/h3>\n\n\n\n<p>\u4ee5\u4e0a\u306e\u8a2d\u5b9a\u3092\u3057\u305f\u3046\u3048\u3067\u3001\u72b6\u614b\u306e\u78ba\u8a8d\u3092\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3061\u3083\u3093\u3068\u30e1\u30cb\u30e5\u30fc\u306e\u8868\u793a\u304c\u53cd\u6620\u3055\u308c\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u203b\u30b0\u30ed\u30fc\u30d0\u30eb\u30e1\u30cb\u30e5\u30fc\u3068\u30d5\u30c3\u30bf\u30fc\u30e1\u30cb\u30e5\u30fc\u306b\u305d\u308c\u305e\u308c\u30ab\u30b9\u30bf\u30e0\u30ea\u30f3\u30af\u30923\u3064\u5165\u308c\u305f\u72b6\u614b\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"812\" height=\"395\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_03h30_02-812x395.png\" alt=\"\" class=\"wp-image-21577\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_03h30_02-812x395.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_03h30_02-382x186.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_03h30_02-768x374.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-24_03h30_02.png 890w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">\u30e1\u30cb\u30e5\u30fc\u306b\u751f\u6210\u3055\u308c\u308bclass\u3092\u9664\u53bb\u3059\u308b<\/h3>\n\n\n\n<p>\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u898b\u308b\u3068\u3001\u30e1\u30cb\u30e5\u30fc\u306eli\u3067\u751f\u6210\u3055\u308c\u308bid\u3084class\u304c\u3084\u305f\u3089\u9577\u3044\u306e\u3067\u53d6\u308a\u9664\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>&lt;li id=&quot;menu-item-8&quot; class=&quot;menu-item menu-item-type-custom menu-item-object-custom current-menu-item current_page_item menu-item-home menu-item-8&quot;&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092functions.php\u306b\u633f\u5165<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"functions.php\" data-lang=\"PHP\"><code>add_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}<\/code><\/pre><\/div>\n\n\n\n<p>\u633f\u5165\u5f8c\u3001\u3059\u3063\u304d\u308a\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>&lt;li class=&quot;current-menu-item&quot;&gt;<\/code><\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">WordPress\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b<\/h2>\n\n\n\n<p>\u6b21\u306b\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u8a2d\u7f6e\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u7ba1\u7406\u753b\u9762\u306b\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b<\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092functions.php\u306b\u5165\u308c\u308b\u3068\u3001\u5916\u89b3\u304b\u3089\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3078\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"487\" height=\"271\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_09h44_14.png\" alt=\"\" class=\"wp-image-21539\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_09h44_14.png 487w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_09h44_14-382x213.png 382w\" sizes=\"(max-width: 487px) 100vw, 487px\" \/><\/figure>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"functions.php\" data-lang=\"PHP\"><code>\/\/ \u5916\u89b3\u306e\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u8868\u793a\nadd_theme_support(&#39;widgets&#39;);<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u30a8\u30ea\u30a2\u306e\u767b\u9332<\/h3>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092functions.php\u306b\u5165\u308c\u308b\u3068\u3001\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306e\u9805\u76ee\u306b\u767b\u9332\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>function 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\n\n\n<p class=\"is-style-border_left\">\u53c2\u8003<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -external -noimg\" data-type=\"type3\" data-onclick=\"clickLink\">\n\t\t\t\t<div class=\"p-blogCard__inner\">\n\t\t\t\t\t<span class=\"p-blogCard__caption\">\u3042\u308f\u305b\u3066\u8aad\u307f\u305f\u3044<\/span>\n\t\t\t\t\t\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/wpdocs.osdn.jp\/%E9%96%A2%E6%95%B0%E3%83%AA%E3%83%95%E3%82%A1%E3%83%AC%E3%83%B3%E3%82%B9\/register_sidebar\" target=\"_blank\" rel=\"noopener noreferrer\">500 Internal Server Error<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\"><\/span>\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t<\/div>\n\t\t<\/div>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"812\" height=\"347\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_13h34_49-812x347.png\" alt=\"\" class=\"wp-image-21550\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_13h34_49-812x347.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_13h34_49-382x163.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_13h34_49-768x328.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_13h34_49.png 924w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<p>\uff0b\u30dc\u30bf\u30f3\u3092\u62bc\u3057\u3066\u3001\u9069\u5f53\u306b\u30c6\u30ad\u30b9\u30c8\u306e\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u8a18\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306e\u8868\u793a<\/h3>\n\n\n\n<p>footerphp\u306e\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u8868\u793a\u3055\u305b\u305f\u3044\u5834\u6240\u306b\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u3092\u633f\u5165\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-border_left\">\u30b5\u30a4\u30c9\u30d0\u30fc<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&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;<\/code><\/pre><\/div>\n\n\n\n<p class=\"is-style-border_left\">\u30d5\u30c3\u30bf\u30fc<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>    &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;<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u306e\u78ba\u8a8d<\/h3>\n\n\n\n<p>\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u30a8\u30ea\u30a2\u306b\u5165\u308c\u305f\u30c6\u30ad\u30b9\u30c8\u30d6\u30ed\u30c3\u30af\u304c\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-border\"><img decoding=\"async\" width=\"812\" height=\"291\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_14h42_06-812x291.png\" alt=\"\" class=\"wp-image-21551\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_14h42_06-812x291.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_14h42_06-382x137.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_14h42_06-768x276.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-23_14h42_06.png 897w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u3053\u306e\u6642\u70b9\u3067\u306e\u30b3\u30fc\u30c9\u307e\u3068\u3081<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>index.php \u2192 \u524d\u56de\u304b\u3089\u5909\u66f4\u306a\u3057<\/li>\n\n\n\n<li>sidebar.php \u2192\u7a7a\u306e\u72b6\u614b<\/li>\n<\/ul>\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-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\n    &lt;nav class=&quot; global-menu-nav&quot;&gt;\n        &lt;ul class=&quot;global-menu-list&quot;&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                &#39;items_wrap&#39;      =&gt; &#39;%3$s&#39;,\n                &#39;link_before&#39;     =&gt; &#39;&lt;span &gt;&#39;,\n                &#39;link_after&#39;      =&gt; &#39;&lt;\/span&gt;&#39;,\n            ]);\n            ?&gt;\n        &lt;\/ul&gt;\n    &lt;\/nav&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-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;ul class=&quot;footer-menu-list&quot;&gt;\n    &lt;?php\n    wp_nav_menu([\n        &#39;container&#39;       =&gt; &#39;&#39;,\n        &#39;theme_location&#39;  =&gt; &#39;footer_menu&#39;,\n        &#39;items_wrap&#39;      =&gt; &#39;%3$s&#39;,\n        &#39;link_before&#39;     =&gt; &#39;&lt;span &gt;&#39;,\n        &#39;link_after&#39;      =&gt; &#39;&lt;\/span&gt;&#39;,\n    ]);\n    ?&gt;\n&lt;\/ul&gt;\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;\/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-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\/\/ \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;);\n<\/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>\u4eca\u307e\u3067\u6c17\u306b\u306a\u3063\u3066\u3044\u305f\u30e1\u30cb\u30e5\u30fc\u3068\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3002<\/p>\n\n\n\n<p>\u3069\u3061\u3089\u3068\u3082\u306b\u4f3c\u305f\u3088\u3046\u306a\u8a2d\u5b9a\u304b\u3089\u8868\u793a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u5fdc\u7528\u3059\u308c\u3070\u597d\u304d\u306a\u5834\u6240\u306b\u8868\u793a\u304c\u3067\u304d\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u65e2\u5b58\u306e\u30c6\u30fc\u30de\u3067\u3082\u5fdc\u7528\u3067\u304d\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress\u306e\u81ea\u4f5c\u30c6\u30fc\u30de\u3092\u30b9\u30bf\u30fc\u30bf\u30fc\u30c6\u30fc\u30de\u3092\u4f7f\u308f\u305a\u306b\u30d5\u30eb\u30b9\u30af\u30e9\u30c3\u30c1\u3067\u4f5c\u6210\u3057\u3066\u307f\u3066\u3044\u307e\u3059\u3002 \u3068\u3044\u3046\u3053\u3068\u3067\u3001\u4eca\u56de\u306f\u30e1\u30cb\u30e5\u30fc\u3068\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8\u3092\u8868\u793a\u3055\u305b\u3066\u307f\u307e\u3059\u3002 WordPress\u306e\u30e1\u30cb\u30e5\u30fc\u3092\u8868\u793a\u3059\u308b \u5916\u89b3\u306e\u30e1\u30cb\u30e5\u30fc\u304b\u3089\u30b0 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":21556,"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-21536","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\/21536","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=21536"}],"version-history":[{"count":1,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/21536\/revisions"}],"predecessor-version":[{"id":24232,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/21536\/revisions\/24232"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media\/21556"}],"wp:attachment":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=21536"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=21536"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=21536"},{"taxonomy":"area","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/area?post=21536"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}