{"id":21624,"date":"2021-02-26T12:40:49","date_gmt":"2021-02-26T03:40:49","guid":{"rendered":"https:\/\/motoki-design.co.jp\/wordpress\/?p=21624"},"modified":"2024-03-04T18:13:43","modified_gmt":"2024-03-04T09:13:43","slug":"achive","status":"publish","type":"post","link":"https:\/\/motoki-design.co.jp\/wordpress\/achive\/","title":{"rendered":"WordPress\u81ea\u4f5c\u30c6\u30fc\u30de\u5236\u4f5c\u2465\u2502\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\uff08\u8a18\u4e8b\u4e00\u89a7\u30da\u30fc\u30b8\uff09\u306e\u4f5c\u6210"},"content":{"rendered":"\n<p>\u30b9\u30bf\u30fc\u30bf\u30fc\u30c6\u30fc\u30de\u7121\u3057\u3067\u30d5\u30eb\u30b9\u30af\u30e9\u30c3\u30c1\u3067\u4f5c\u308bWordPress\u306e\u81ea\u4f5c\u30c6\u30fc\u30de\u4f5c\u308a\u3001\u7b2c6\u5f3e\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\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\">\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\uff08\u8a18\u4e8b\u4e00\u89a7\u30da\u30fc\u30b8\uff09<\/h2>\n\n\n\n<p>\u4e00\u89a7\u8a18\u4e8b\u3092\u8868\u793a\u3059\u308b<strong>archive.php<\/strong>\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30a2\u30fc\u30ab\u30a4\u30d6\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3082\u3063\u3068\u7d30\u304b\u304f\u5206\u985e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30ab\u30c6\u30b4\u30ea\uff1acategory.php<\/li>\n\n\n\n<li>\u30bf\u30af\u30bd\u30ce\u30df\u30fc\uff1ataxonomy.php<\/li>\n\n\n\n<li>\u30e6\u30fc\u30b6\u30fc\uff1aauthor.php<\/li>\n\n\n\n<li>\u65e5\u4ed8\uff1adate.php<\/li>\n\n\n\n<li>\u30bf\u30b0\uff1atag.php<\/li>\n<\/ul>\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%E9%9A%8E%E5%B1%A4\" 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<p>\u307e\u3068\u3081\u3066\u540c\u3058\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3067\u8868\u793a\u3057\u305f\u3044\u5834\u5408\u306f<strong>archive.php<\/strong>\u3067\u8868\u793a\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u307e\u3068\u3081\u3066\u8868\u793a\u3059\u308b\u65b9\u3092\u63a1\u7528\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>single.php\u3092\u30d9\u30fc\u30b9\u306b\u4e0b\u8a18\u306e\u30b3\u30fc\u30c9\u306b\u66f8\u304d\u63db\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"archive.php\" data-lang=\"PHP\"><code>&lt;?php get_header(); ?&gt;\n&lt;div class=&quot;wrap&quot;&gt;\n    &lt;main id=&quot;main-content&quot;&gt;\n        &lt;?php the_archive_title(&#39;&lt;h1 class=&quot;title&quot;&gt;&#39;, &#39;&lt;\/h1&gt;&#39;); ?&gt;\n        &lt;?php\n        if (have_posts()) :\n            while (have_posts()) : the_post();\n        ?&gt;\n                &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;\n                    &lt;h2 class=&quot;title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;\n                    &lt;div class=&quot;date&quot;&gt;\n                        &lt;div&gt;Release date. &lt;?php the_time(&#39;Y\/m\/d&#39;); ?&gt;&lt;\/div&gt;\n                    &lt;\/div&gt;\n                    &lt;?php\n                    if (has_post_thumbnail()) {\n                        echo &#39;&lt;figure class=&quot;thumbnail&quot;&gt;&#39; . get_the_post_thumbnail() . &#39;&lt;\/figure&gt;&#39;;\n                    }\n                    ?&gt;\n                &lt;\/a&gt;\n        &lt;?php\n            endwhile;\n            $pagination = get_the_posts_pagination(array(\n                &#39;prev_text&#39; =&gt; &#39;Prev&#39;,\n                &#39;next_text&#39; =&gt; &#39;Next&#39;\n            ));\n            echo preg_replace(&#39;\/&lt;h2 class=&quot;screen-reader-text&quot;&gt;[^&lt;]*&lt;\\\/h2&gt;\/ui&#39;, &#39;&#39;, $pagination);\n        endif;\n        ?&gt;\n    &lt;\/main&gt;\n&lt;\/div&gt;\n&lt;?php get_footer(); ?&gt;<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30bf\u30a4\u30c8\u30eb<\/h3>\n\n\n\n<p><code>the_archive_title();<\/code>\u3068\u3044\u3046\u95a2\u6570\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3053\u3061\u3089\u3092\u4f7f\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;?php the_archive_title(&#39;&lt;h1 class=&quot;title&quot;&gt;&#39;, &#39;&lt;\/h1&gt;&#39;); ?&gt;<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30da\u30fc\u30b8\u9001\u308a<\/h3>\n\n\n\n<p>\u901a\u5e38\u30da\u30fc\u30b8\u9001\u308a\u306f\u4ee5\u4e0b\u306e\u69d8\u306b\u8a18\u8ff0\u3059\u308b\u306e\u3067\u3059\u304c<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>the_posts_pagination(array(\n    &#39;prev_text&#39; =&gt; &#39;Preve&#39;,\n    &#39;next_text&#39; =&gt; &#39;Next&#39;\n));<\/code><\/pre><\/div>\n\n\n\n<p>\u4e0b\u8a18\u306e\u3088\u3046\u306a\u51fa\u529b\u304c\u3055\u308c\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;navigation pagination&quot; aria-label=&quot;\u6295\u7a3f&quot;&gt;\n\t\t&lt;h2 class=&quot;screen-reader-text&quot;&gt;\u6295\u7a3f\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3&lt;\/h2&gt;\n\t\t&lt;div class=&quot;nav-links&quot;&gt;&lt;span aria-current=&quot;page&quot; class=&quot;page-numbers current&quot;&gt;1&lt;\/span&gt;\n\t\t&lt;a class=&quot;page-numbers&quot; href=&quot;https:\/\/exsample.com\/category\/uncategorized\/page\/2\/&quot;&gt;2&lt;\/a&gt;\n\t\t&lt;a class=&quot;next page-numbers&quot; href=&quot;https:\/\/exsample.com\/category\/uncategorized\/page\/2\/&quot;&gt;Next&lt;\/a&gt;&lt;\/div&gt;\n&lt;\/nav&gt;<\/code><\/pre><\/div>\n\n\n\n<p>\u3053\u306eh2\u306e\u300c\u6295\u7a3f\u30ca\u30d3\u30b2\u30fc\u30b7\u30e7\u30f3\u300d\u3068\u3044\u3046\u8868\u793a\u3092\u6d88\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e0b\u8a18\u306e\u3088\u3046\u306b\u6587\u5b57\u7f6e\u63db\u3057\u3066\u3057\u307e\u3048\u3070\u3001h2\u306f\u6d88\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>$pagination = get_the_posts_pagination(array(\n    &#39;prev_text&#39; =&gt; &#39;Preve&#39;,\n    &#39;next_text&#39; =&gt; &#39;Next&#39;\n));\necho preg_replace(&#39;\/&lt;h2 class=&quot;screen-reader-text&quot;&gt;[^&lt;]*&lt;\\\/h2&gt;\/ui&#39;, &#39;&#39;, $pagination);<\/code><\/pre><\/div>\n\n\n\n<p>\u51fa\u529b\u3055\u308c\u308b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>&lt;div class=&quot;nav-links&quot;&gt;&lt;span aria-current=&quot;page&quot; class=&quot;page-numbers current&quot;&gt;1&lt;\/span&gt;\n&lt;a class=&quot;page-numbers&quot; href=&quot;https:\/\/exsample.com\/category\/uncategorized\/page\/2\/&quot;&gt;2&lt;\/a&gt;\n&lt;a class=&quot;next page-numbers&quot; href=&quot;https:\/\/exsample.com\/category\/uncategorized\/page\/2\/&quot;&gt;Next&lt;\/a&gt;&lt;\/div&gt;<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u78ba\u8a8d<\/h3>\n\n\n\n<p>\u30da\u30fc\u30b8\u9001\u308a\u306e\u78ba\u8a8d\u306e\u78ba\u8a8d\u306e\u70ba\u306b\u3001<\/p>\n\n\n\n<p>\u7ba1\u7406\u753b\u9762 \uff1e \u6a19\u6e96\u8a2d\u5b9a \uff1e 1\u30da\u30fc\u30b8\u306b\u8868\u793a\u3059\u308b\u6700\u5927\u6295\u7a3f\u6570\u30921\u4ef6\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"502\" height=\"329\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_10h58_50.png\" alt=\"\" class=\"wp-image-21628\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_10h58_50.png 502w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_10h58_50-382x250.png 382w\" sizes=\"(max-width: 502px) 100vw, 502px\" \/><\/figure>\n\n\n\n<p>\u305f\u3081\u3057\u306b\u30ab\u30c6\u30b4\u30ea\u30fc\u30da\u30fc\u30b8\uff08Uncategorized\uff09\u3092\u8868\u793a\u3057\u3066\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-border\"><img decoding=\"async\" width=\"812\" height=\"900\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_10h59_07-812x900.png\" alt=\"\" class=\"wp-image-21629\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_10h59_07-812x900.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_10h59_07-382x424.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_10h59_07-768x852.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_10h59_07.png 833w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<p>\u30a2\u30fc\u30ab\u30a4\u30d6\u7528\u306e\u30bf\u30a4\u30c8\u30eb\u3068\u30da\u30fc\u30b8\u9001\u308a\u304c\u3061\u3083\u3093\u3068\u8868\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305f\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u304c\u753b\u50cf\u3092\u62bc\u3059\u3068\u3001\u305d\u306e\u8a18\u4e8b\u306b\u9077\u79fb\u3082\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u306e\u4fee\u6b63<\/h3>\n\n\n\n<p>\u3053\u3053\u3067\u300c<strong>\u30ab\u30c6\u30b4\u30ea\u30fc: Uncategorized\u300d\u3068\u3044\u3046\u8868\u8a18\u304c\u6c17\u306b\u306a\u3063\u305f\u306e\u3067\u3001<\/strong>\u30bf\u30a4\u30c8\u30eb\u90e8\u5206\u306e\u30b3\u30fc\u30c9\u3092\u4fee\u6b63\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-file=\"archive.php\" data-lang=\"PHP\"><code>add_filter(&#39;get_the_archive_title_prefix&#39;, function ($prefix) {\n    $prefix = &#39;&#39;;\n    return $prefix;\n});\n$archve_title = get_the_archive_title();\necho &#39;&lt;h1 class=&quot;title&quot;&gt;&#39; . $archve_title . &#39;&lt;\/h1&gt;&#39;;<\/code><\/pre><\/div>\n\n\n\n<p>\u78ba\u8a8d\u3059\u308b\u3068<strong>\u300c\u30ab\u30c6\u30b4\u30ea\u30fc:<\/strong>\u300d\u306e\u90e8\u5206\u304c\u7121\u304f\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-border\"><img decoding=\"async\" width=\"812\" height=\"363\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_11h06_36-812x363.png\" alt=\"\" class=\"wp-image-21630\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_11h06_36-812x363.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_11h06_36-382x171.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_11h06_36-768x343.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-02-26_11h06_36.png 924w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u3053\u3053\u307e\u3067\u306e\u30b3\u30fc\u30c9\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u4eca\u56de\u306farchive.php\u306e\u307f\u8ffd\u52a0\u3057\u307e\u3057\u305f\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\">archive.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=\"archive.php\" data-lang=\"PHP\"><code>&lt;?php get_header(); ?&gt;\n&lt;div class=&quot;wrap&quot;&gt;\n    &lt;main id=&quot;main-content&quot;&gt;\n        &lt;?php\n        add_filter(&#39;get_the_archive_title_prefix&#39;, function ($prefix) {\n            $prefix = &#39;&#39;;\n            return $prefix;\n        });\n        $archve_title = get_the_archive_title();\n        echo &#39;&lt;h1 class=&quot;title&quot;&gt;&#39; . $archve_title . &#39;&lt;\/h1&gt;&#39;;\n        if (have_posts()) :\n            while (have_posts()) : the_post();\n        ?&gt;\n                &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;\n                    &lt;h2 class=&quot;title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;\n                    &lt;div class=&quot;date&quot;&gt;\n                        &lt;div&gt;Release date. &lt;?php the_time(&#39;Y\/m\/d&#39;); ?&gt;&lt;\/div&gt;\n                    &lt;\/div&gt;\n                    &lt;?php\n                    if (has_post_thumbnail()) {\n                        echo &#39;&lt;figure class=&quot;thumbnail&quot;&gt;&#39; . get_the_post_thumbnail() . &#39;&lt;\/figure&gt;&#39;;\n                    }\n                    ?&gt;\n                &lt;\/a&gt;\n        &lt;?php\n            endwhile;\n            $pagination = get_the_posts_pagination(array(\n                &#39;prev_text&#39; =&gt; &#39;Prev&#39;,\n                &#39;next_text&#39; =&gt; &#39;Next&#39;\n            ));\n            echo preg_replace(&#39;\/&lt;h2 class=&quot;screen-reader-text&quot;&gt;[^&lt;]*&lt;\\\/h2&gt;\/ui&#39;, &#39;&#39;, $pagination);\n        endif;\n        ?&gt;\n    &lt;\/main&gt;\n&lt;\/div&gt;\n&lt;?php get_footer(); ?&gt;<\/code><\/pre><\/div>\n<\/div><\/details>\n<\/div>\n\n\n\n<p>\u3064\u3044\u3067\u306bTOP\u3092\u8868\u793a\u3057\u3066\u3044\u308bhome.php\u3082archive.php\u306e\u30b3\u30fc\u30c9\u3092\u6d41\u7528\u3057\u3066\u307f\u307e\u3057\u305f\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\">home.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    &lt;?php\n    if (have_posts()) :\n        while (have_posts()) : the_post();\n    ?&gt;\n            &lt;a href=&quot;&lt;?php the_permalink(); ?&gt;&quot;&gt;\n                &lt;h2 class=&quot;title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;\/h2&gt;\n                &lt;div class=&quot;date&quot;&gt;\n                    &lt;div&gt;Release date. &lt;?php the_time(&#39;Y\/m\/d&#39;); ?&gt;&lt;\/div&gt;\n                &lt;\/div&gt;\n                &lt;?php\n                if (has_post_thumbnail()) {\n                    echo &#39;&lt;figure class=&quot;thumbnail&quot;&gt;&#39; . get_the_post_thumbnail() . &#39;&lt;\/figure&gt;&#39;;\n                }\n                ?&gt;\n            &lt;\/a&gt;\n    &lt;?php\n        endwhile;\n        $pagination = get_the_posts_pagination(array(\n            &#39;prev_text&#39; =&gt; &#39;Prev&#39;,\n            &#39;next_text&#39; =&gt; &#39;Next&#39;\n        ));\n        echo preg_replace(&#39;\/&lt;h2 class=&quot;screen-reader-text&quot;&gt;[^&lt;]*&lt;\\\/h2&gt;\/ui&#39;, &#39;&#39;, $pagination);\n    endif;\n    ?&gt;\n&lt;\/main&gt;\n&lt;?php get_footer(); ?&gt;<\/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\u56de\u306f\u8a18\u4e8b\u4e00\u89a7\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u500b\u4eba\u7684\u306b\u30bf\u30c3\u30d7\u6570\u304c\u5897\u3048\u308b\u30da\u30fc\u30b8\u9001\u308a\u306f\u597d\u304d\u3058\u3083\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u4e00\u89a7\u30da\u30fc\u30b8\u306b\u306f\u5fc5\u8981\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u306f\u30c8\u30d4\u30c3\u30af\u30af\u30e9\u30b9\u30bf\u30fc\u304c\u6d41\u884c\u3063\u3066\u3044\u3066\u3001\u4e00\u89a7\u30da\u30fc\u30b8\u306e\u6295\u7a3f\u30da\u30fc\u30b8\u5316\u304c\u6d41\u884c\u3063\u3066\u3044\u307e\u3059\u304c\u3001\u3053\u306e\u30c6\u30fc\u30de\u3067\u306f\u305d\u3046\u3044\u3063\u305f\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306f\u3057\u306a\u3044\u4e88\u5b9a\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30b9\u30bf\u30fc\u30bf\u30fc\u30c6\u30fc\u30de\u7121\u3057\u3067\u30d5\u30eb\u30b9\u30af\u30e9\u30c3\u30c1\u3067\u4f5c\u308bWordPress\u306e\u81ea\u4f5c\u30c6\u30fc\u30de\u4f5c\u308a\u3001\u7b2c6\u5f3e\u3002 \u4eca\u56de\u306f\u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 \u30a2\u30fc\u30ab\u30a4\u30d6\u30da\u30fc\u30b8\uff08\u8a18\u4e8b\u4e00\u89a7\u30da\u30fc\u30b8\uff09 \u4e00\u89a7\u8a18\u4e8b\u3092\u8868\u793a\u3059\u308barchive.php\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 \u30a2 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":21642,"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-21624","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\/21624","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=21624"}],"version-history":[{"count":1,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/21624\/revisions"}],"predecessor-version":[{"id":24229,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/21624\/revisions\/24229"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media\/21642"}],"wp:attachment":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=21624"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=21624"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=21624"},{"taxonomy":"area","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/area?post=21624"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}