
{"id":7316,"date":"2019-05-24T07:24:56","date_gmt":"2019-05-23T22:24:56","guid":{"rendered":"https:\/\/tetraup.com\/news_topics\/archives\/7316"},"modified":"2026-06-06T18:09:24","modified_gmt":"2026-06-06T09:09:24","slug":"wordpress-functions-guide2","status":"publish","type":"post","link":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/","title":{"rendered":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011"},"content":{"rendered":"\n<p>\u2193\u524d\u56de\u306e\u8a18\u4e8b\u3092\u8aad\u3093\u3067\u3044\u306a\u3044\u65b9\u306f\u3053\u3061\u3089\u304b\u3089<\/p>\n\n\n\n<a class=\"link\" href=\"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide1\">WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff11\u3011<\/a>\n\n\n\n<p>\u524d\u56de\u306e\u7d9a\u304d\u304b\u3089\u59cb\u3081\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\uff01\u3000<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;ul>\n  &lt;?php\n  $args = array(\n    'posts_per_page' => 8,\n    'orderby' => 'date',\n    'paged' => $paged\n  );\n  $my_query = new WP_Query($args);\n\n  if ($my_query->have_posts()) :while ($my_query -> have_posts()) :$my_query -> the_post(); ?>\n    &lt;li>\n      &lt;a href=\"&lt;?php the_permalink(); ?>\">\n        &lt;?php the_post_thumbnail('medium'); ?>\n        &lt;p>\n        &lt;?php\n        if(mb_strlen($post->post_title,'UTf-8')>40){\n          $title= mb_substr($post->post_title, 0, 40, 'UTF-8');\n          echo $title.'...';\n        } else { \n          echo $post->post_title;\n        } ?>\n      &lt;\/p>\n        &lt;p class=\"excerpt\">&lt;?php echo get_the_excerpt(); ?>&lt;\/p>\n        &lt;time>&lt;?php the_time('Y.m.d'); ?>&lt;\/time>\n      &lt;\/a>\n      &lt;p>&lt;?php the_category(' '); ?>&lt;\/p>\n    &lt;\/li>\n  &lt;?php endwhile;else: ?>\n    \u6295\u7a3f\u304c\u3042\u308a\u307e\u305b\u3093\n  &lt;?php endif;wp_reset_postdata(); ?>\n&lt;\/ul>&lt;\/pre><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;ul&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  &lt;?php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  <\/span><span style=\"color: #9CDCFE\">$args<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #DCDCAA\">array<\/span><span style=\"color: #D4D4D4\">(<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    <\/span><span style=\"color: #CE9178\">&#39;posts_per_page&#39;<\/span><span style=\"color: #D4D4D4\"> =&gt; <\/span><span style=\"color: #B5CEA8\">8<\/span><span style=\"color: #D4D4D4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    <\/span><span style=\"color: #CE9178\">&#39;orderby&#39;<\/span><span style=\"color: #D4D4D4\"> =&gt; <\/span><span style=\"color: #CE9178\">&#39;date&#39;<\/span><span style=\"color: #D4D4D4\">,<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    <\/span><span style=\"color: #CE9178\">&#39;paged&#39;<\/span><span style=\"color: #D4D4D4\"> =&gt; <\/span><span style=\"color: #9CDCFE\">$paged<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  );<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  <\/span><span style=\"color: #9CDCFE\">$my_query<\/span><span style=\"color: #D4D4D4\"> = <\/span><span style=\"color: #569CD6\">new<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #4EC9B0\">WP_Query<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #9CDCFE\">$args<\/span><span style=\"color: #D4D4D4\">);<\/span><\/span>\n<span class=\"line\"><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  <\/span><span style=\"color: #C586C0\">if<\/span><span style=\"color: #D4D4D4\"> (<\/span><span style=\"color: #9CDCFE\">$my_query<\/span><span style=\"color: #D4D4D4\">-&gt;<\/span><span style=\"color: #DCDCAA\">have_posts<\/span><span style=\"color: #D4D4D4\">()) :<\/span><span style=\"color: #C586C0\">while<\/span><span style=\"color: #D4D4D4\"> (<\/span><span style=\"color: #9CDCFE\">$my_query<\/span><span style=\"color: #D4D4D4\"> -&gt; <\/span><span style=\"color: #DCDCAA\">have_posts<\/span><span style=\"color: #D4D4D4\">()) :<\/span><span style=\"color: #9CDCFE\">$my_query<\/span><span style=\"color: #D4D4D4\"> -&gt; <\/span><span style=\"color: #DCDCAA\">the_post<\/span><span style=\"color: #D4D4D4\">(); ?&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    &lt;li&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">      &lt;a href=<\/span><span style=\"color: #CE9178\">&quot;&lt;?php the_permalink(); ?&gt;&quot;<\/span><span style=\"color: #D4D4D4\">&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">        &lt;?php <\/span><span style=\"color: #DCDCAA\">the_post_thumbnail<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #CE9178\">&#39;medium&#39;<\/span><span style=\"color: #D4D4D4\">); ?&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">        &lt;p&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">        &lt;?php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">        <\/span><span style=\"color: #C586C0\">if<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #DCDCAA\">mb_strlen<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #9CDCFE\">$post<\/span><span style=\"color: #D4D4D4\">-&gt;<\/span><span style=\"color: #9CDCFE\">post_title<\/span><span style=\"color: #D4D4D4\">,<\/span><span style=\"color: #CE9178\">&#39;UTf-8&#39;<\/span><span style=\"color: #D4D4D4\">)&gt;<\/span><span style=\"color: #B5CEA8\">40<\/span><span style=\"color: #D4D4D4\">){<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">          <\/span><span style=\"color: #9CDCFE\">$title<\/span><span style=\"color: #D4D4D4\">= <\/span><span style=\"color: #DCDCAA\">mb_substr<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #9CDCFE\">$post<\/span><span style=\"color: #D4D4D4\">-&gt;<\/span><span style=\"color: #9CDCFE\">post_title<\/span><span style=\"color: #D4D4D4\">, <\/span><span style=\"color: #B5CEA8\">0<\/span><span style=\"color: #D4D4D4\">, <\/span><span style=\"color: #B5CEA8\">40<\/span><span style=\"color: #D4D4D4\">, <\/span><span style=\"color: #CE9178\">&#39;UTF-8&#39;<\/span><span style=\"color: #D4D4D4\">);<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">          <\/span><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">$title<\/span><span style=\"color: #D4D4D4\">.<\/span><span style=\"color: #CE9178\">&#39;...&#39;<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">        } <\/span><span style=\"color: #C586C0\">else<\/span><span style=\"color: #D4D4D4\"> { <\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">          <\/span><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #9CDCFE\">$post<\/span><span style=\"color: #D4D4D4\">-&gt;<\/span><span style=\"color: #9CDCFE\">post_title<\/span><span style=\"color: #D4D4D4\">;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">        } ?&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">      &lt;\/p&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">        &lt;p <\/span><span style=\"color: #569CD6\">class<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">&quot;excerpt&quot;<\/span><span style=\"color: #D4D4D4\">&gt;&lt;?php <\/span><span style=\"color: #DCDCAA\">echo<\/span><span style=\"color: #D4D4D4\"> <\/span><span style=\"color: #DCDCAA\">get_the_excerpt<\/span><span style=\"color: #D4D4D4\">(); ?&gt;&lt;\/p&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">        &lt;time&gt;&lt;?php <\/span><span style=\"color: #DCDCAA\">the_time<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #CE9178\">&#39;Y.m.d&#39;<\/span><span style=\"color: #D4D4D4\">); ?&gt;&lt;\/time&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">      &lt;\/a&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">      &lt;p&gt;&lt;?php <\/span><span style=\"color: #DCDCAA\">the_category<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #CE9178\">&#39; &#39;<\/span><span style=\"color: #D4D4D4\">); ?&gt;&lt;\/p&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    &lt;\/li&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  &lt;?php <\/span><span style=\"color: #C586C0\">endwhile<\/span><span style=\"color: #D4D4D4\">;<\/span><span style=\"color: #C586C0\">else<\/span><span style=\"color: #D4D4D4\">: ?&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    \u6295\u7a3f\u304c\u3042\u308a\u307e\u305b\u3093<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">  &lt;?php <\/span><span style=\"color: #C586C0\">endif<\/span><span style=\"color: #D4D4D4\">;<\/span><span style=\"color: #DCDCAA\">wp_reset_postdata<\/span><span style=\"color: #D4D4D4\">(); ?&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">&lt;\/ul&gt;&lt;\/pre&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u4eca\u56de\u306f12\u884c\u76ee\u4ee5\u964d\u304b\u3089\u306e\u8aac\u660e\u306b\u306a\u308a\u307e\u3059\u300212\u884c\u76ee\u306f\u30ea\u30f3\u30af\u3067\u98db\u3079\u308b\u3088\u3046\u306b\u3059\u308b\u8a18\u8ff0\u3067\u3059\u3002<a href=\"&lt;?php the_permalink(); ?&gt;\"><\/a><\/p>\n\n\n\n<p>\u30eb\u30fc\u30d7\u5185\u3067\u8a72\u5f53\u3059\u308b<strong class=\"marker\">\u8a18\u4e8b\u306eURL\u3092\u305d\u306e\u307e\u307e\u51fa\u529b\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<p>\u3067\u3059\u306e\u3067\u3001a\u30bf\u30b0\u306ehref\u5c5e\u6027\u306e\u4e2d\u306b\u305d\u306e\u307e\u307e\u8a18\u8ff0\u3057\u3066\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u3000<\/p>\n\n\n\n<p>13\u884c\u76ee\u304c<strong>\u30a2\u30a4\u30ad\u30e3\u30c3\u30c1\u753b\u50cf\u306e\u51fa\u529b<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-start:13;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;?php the_post_thumbnail('medium'); ?><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;?php <\/span><span style=\"color: #DCDCAA\">the_post_thumbnail<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #CE9178\">&#39;medium&#39;<\/span><span style=\"color: #D4D4D4\">); ?&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u7a2e\u985e\u306f\u3001\u5c0f\u3055\u3044\u9806\u306b<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>the_post_thumbnail( 'thumbnail' );        \/\/ \u30b5\u30e0\u30cd\u30a4\u30eb (\u30c7\u30d5\u30a9\u30eb\u30c8 150px x 150px\u00a0:\u6700\u5927\u5024)\nthe_post_thumbnail( 'medium' );           \/\/ \u4e2d\u30b5\u30a4\u30ba   (\u30c7\u30d5\u30a9\u30eb\u30c8 300px x 300px\u00a0:\u6700\u5927\u5024)\nthe_post_thumbnail( 'large' );            \/\/ \u5927\u30b5\u30a4\u30ba   (\u30c7\u30d5\u30a9\u30eb\u30c8 640px x 640px\u00a0:\u6700\u5927\u5024)\nthe_post_thumbnail( 'full' );             \/\/ \u30d5\u30eb\u30b5\u30a4\u30ba (\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u753b\u50cf\u306e\u5143\u30b5\u30a4\u30ba)\nthe_post_thumbnail( array( 100, 100 ) );  \/\/ \u4ed6\u306e\u30b5\u30a4\u30ba<\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #DCDCAA\">the_post_thumbnail<\/span><span style=\"color: #D4D4D4\">( <\/span><span style=\"color: #CE9178\">&#39;thumbnail&#39;<\/span><span style=\"color: #D4D4D4\"> );        <\/span><span style=\"color: #6A9955\">\/\/ \u30b5\u30e0\u30cd\u30a4\u30eb (\u30c7\u30d5\u30a9\u30eb\u30c8 150px x 150px\u00a0:\u6700\u5927\u5024)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">the_post_thumbnail<\/span><span style=\"color: #D4D4D4\">( <\/span><span style=\"color: #CE9178\">&#39;medium&#39;<\/span><span style=\"color: #D4D4D4\"> );           <\/span><span style=\"color: #6A9955\">\/\/ \u4e2d\u30b5\u30a4\u30ba   (\u30c7\u30d5\u30a9\u30eb\u30c8 300px x 300px\u00a0:\u6700\u5927\u5024)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">the_post_thumbnail<\/span><span style=\"color: #D4D4D4\">( <\/span><span style=\"color: #CE9178\">&#39;large&#39;<\/span><span style=\"color: #D4D4D4\"> );            <\/span><span style=\"color: #6A9955\">\/\/ \u5927\u30b5\u30a4\u30ba   (\u30c7\u30d5\u30a9\u30eb\u30c8 640px x 640px\u00a0:\u6700\u5927\u5024)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">the_post_thumbnail<\/span><span style=\"color: #D4D4D4\">( <\/span><span style=\"color: #CE9178\">&#39;full&#39;<\/span><span style=\"color: #D4D4D4\"> );             <\/span><span style=\"color: #6A9955\">\/\/ \u30d5\u30eb\u30b5\u30a4\u30ba (\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u305f\u753b\u50cf\u306e\u5143\u30b5\u30a4\u30ba)<\/span><\/span>\n<span class=\"line\"><span style=\"color: #DCDCAA\">the_post_thumbnail<\/span><span style=\"color: #D4D4D4\">( <\/span><span style=\"color: #DCDCAA\">array<\/span><span style=\"color: #D4D4D4\">( <\/span><span style=\"color: #B5CEA8\">100<\/span><span style=\"color: #D4D4D4\">, <\/span><span style=\"color: #B5CEA8\">100<\/span><span style=\"color: #D4D4D4\"> ) );  <\/span><span style=\"color: #6A9955\">\/\/ \u4ed6\u306e\u30b5\u30a4\u30ba<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u3068\u3042\u308a\u307e\u3059\u3002\u7b46\u8005\u306f\u753b\u50cf\u30b5\u30a4\u30ba\u304c\u5927\u304d\u3044\u3068\u30b5\u30a4\u30c8\u306e\u8868\u793a\u304c\u9045\u304f\u306a\u3063\u3066\u3057\u307e\u3046\u306e\u3067\u3001\u5c0f\u3055\u3059\u304e\u306a\u3044\u300cmedium\u300d\u3067\u8a2d\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u3000<\/p>\n\n\n\n<p>\u6b21\u306b\u300115\u884c\u76ee\u301c21\u884c\u76ee\u306e<strong>\u8a18\u4e8b\u30bf\u30a4\u30c8\u30eb\u3092\u51fa\u529b\u3059\u308b<\/strong>\u95a2\u6570\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3053\u306e\u8a18\u8ff0\u3067\u306f\u3001\u30bf\u30a4\u30c8\u30eb\u304c40\u6587\u5b57\u4ee5\u4e0a\u306e\u5834\u5408\u306f\u300c&#8230;\u300d\u3067\u4ee5\u4e0b\u3092\u7701\u7565\u3059\u308b\u3088\u3046\u306bPHP\u3067\u8a18\u8ff0\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u305d\u306e\u307e\u307e\u8a18\u4e8b\u306e\u30bf\u30a4\u30c8\u30eb\u3092\u51fa\u529b\u3057\u305f\u3044\u5834\u5408\u306f\u3001<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-width:calc(1 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;?php the_title(); ?><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;?php <\/span><span style=\"color: #DCDCAA\">the_title<\/span><span style=\"color: #D4D4D4\">(); ?&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u3068\u3060\u3051\u8a18\u8ff0\u3059\u308c\u3070OK\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u3000<\/p>\n\n\n\n<p>\u6b21\u306b\u300123\u884c\u76ee\u306e<strong>\u629c\u7c8b\u3092\u51fa\u529b\u3059\u308b<\/strong>\u95a2\u6570\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u629c\u7c8b\u3068\u306f\u3001\u8a18\u4e8b\u306e\u6982\u8981\u3092\u8a18\u8ff0\u3059\u308b\u5834\u6240\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4efb\u610f\u5165\u529b\u306a\u306e\u3067\u3001\u5165\u529b\u304c\u306a\u3044\u5834\u5408\u306f\u8a18\u4e8b\u306e\u672c\u6587\u306e\u6700\u521d\u306e\u4e00\u90e8\u304c\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-start:23;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;p class=\"excerpt\">&lt;?php the_excerpt(); ?>&lt;\/p><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;p <\/span><span style=\"color: #569CD6\">class<\/span><span style=\"color: #D4D4D4\">=<\/span><span style=\"color: #CE9178\">&quot;excerpt&quot;<\/span><span style=\"color: #D4D4D4\">&gt;&lt;?php <\/span><span style=\"color: #DCDCAA\">the_excerpt<\/span><span style=\"color: #D4D4D4\">(); ?&gt;&lt;\/p&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u3000\u3000\u3000\u3000<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u300124\u884c\u76ee\u306f<strong>\u6295\u7a3f(\u516c\u958b)\u6642\u523b\u306e\u51fa\u529b<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-start:24;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;time>&lt;?php the_time('Y.m.d'); ?>&lt;\/time><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;time&gt;&lt;?php <\/span><span style=\"color: #DCDCAA\">the_time<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #CE9178\">&#39;Y.m.d&#39;<\/span><span style=\"color: #D4D4D4\">); ?&gt;&lt;\/time&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>Y(\u5e74)m(\u6708)d(\u65e5)\u306a\u3069\u3092\u7528\u3044\u3066\u3001\u597d\u304d\u306a\u5f62\u5f0f\u3067\u51fa\u529b\u3059\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u3000<\/p>\n\n\n\n<p>\u6700\u5f8c\u306b\u300126\u884c\u76ee\u306f<strong>\u30ab\u30c6\u30b4\u30ea\u30fc\u306e\u51fa\u529b<\/strong>\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-start:26;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;p>&lt;?php the_category(' '); ?>&lt;\/p><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;p&gt;&lt;?php <\/span><span style=\"color: #DCDCAA\">the_category<\/span><span style=\"color: #D4D4D4\">(<\/span><span style=\"color: #CE9178\">&#39; &#39;<\/span><span style=\"color: #D4D4D4\">); ?&gt;&lt;\/p&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>category\u306e\u5f8c\u308d\u306e\u30ab\u30c3\u30b3\u5185\u306b\u4efb\u610f\u306e\u6587\u5b57\u3092\u5165\u308c\u308b\u3068\u3001\u533a\u5207\u308a\u3068\u3057\u3066\u51fa\u529b\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4e0a\u306e\u30b3\u30fc\u30c9\u3067\u306f\u7a7a\u767d\u3067\u51fa\u529b\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u3000<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u3001<\/p>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono\" style=\"font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#D4D4D4;--cbp-line-number-start:28;--cbp-line-number-width:calc(2 * 0.6 * .875rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span style=\"display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#1E1E1E\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"54\" height=\"14\" viewBox=\"0 0 54 14\"><g fill=\"none\" fill-rule=\"evenodd\" transform=\"translate(1 1)\"><circle cx=\"6\" cy=\"6\" r=\"6\" fill=\"#FF5F56\" stroke=\"#E0443E\" stroke-width=\".5\"><\/circle><circle cx=\"26\" cy=\"6\" r=\"6\" fill=\"#FFBD2E\" stroke=\"#DEA123\" stroke-width=\".5\"><\/circle><circle cx=\"46\" cy=\"6\" r=\"6\" fill=\"#27C93F\" stroke=\"#1AAB29\" stroke-width=\".5\"><\/circle><\/g><\/svg><\/span><span role=\"button\" tabindex=\"0\" style=\"color:#D4D4D4;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><pre class=\"code-block-pro-copy-button-pre\" aria-hidden=\"true\"><textarea class=\"code-block-pro-copy-button-textarea\" tabindex=\"-1\" aria-hidden=\"true\" readonly>&lt;?php endwhile;else: ?>\n    \u6295\u7a3f\u304c\u3042\u308a\u307e\u305b\u3093\n&lt;?php endif;wp_reset_postdata(); ?><\/textarea><\/pre><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2\"><\/path><\/svg><\/span><pre class=\"shiki dark-plus\" style=\"background-color: #1E1E1E\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #D4D4D4\">&lt;?php <\/span><span style=\"color: #C586C0\">endwhile<\/span><span style=\"color: #D4D4D4\">;<\/span><span style=\"color: #C586C0\">else<\/span><span style=\"color: #D4D4D4\">: ?&gt;<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">    \u6295\u7a3f\u304c\u3042\u308a\u307e\u305b\u3093<\/span><\/span>\n<span class=\"line\"><span style=\"color: #D4D4D4\">&lt;?php <\/span><span style=\"color: #C586C0\">endif<\/span><span style=\"color: #D4D4D4\">;<\/span><span style=\"color: #DCDCAA\">wp_reset_postdata<\/span><span style=\"color: #D4D4D4\">(); ?&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<p>\u3067\u30eb\u30fc\u30d7\u3092\u7d42\u308f\u3089\u305b\u3066\u3001\u8a18\u4e8b\u304c\u306a\u3044\u5834\u5408\u306e\u6587\u8a00\u3092\u66f8\u304d\u3001endif;\u306e\u5f8c\u306b\u30eb\u30fc\u30d7\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u95a2\u6570\u3001\u300cwp_reset_postdata();\u300d\u3092\u8a18\u8ff0\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3053\u3046\u3044\u3063\u305f\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u95a2\u6570\u3092\u66f8\u3044\u3066\u3044\u306a\u3044\u3068\u305f\u307e\u306b\u4e0d\u5177\u5408\u306a\u3069\u304c\u8d77\u304d\u3066\u3057\u307e\u3046\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3068\u306f\u3044\u3048\u3001\u4f5c\u8005\u304c\u4eca\u307e\u3067\u51fa\u4f1a\u3063\u305f\u30d0\u30b0\u3067\u30ea\u30bb\u30c3\u30c8\u3092\u66f8\u3044\u3066\u3044\u306a\u3044\u306e\u304c\u539f\u56e0\u3060\u3063\u305f\uff01\u3068\u3044\u3046\u3053\u3068\u306f\u306a\u3044\u306e\u3067\u3059\u304c\u3001\u5ff5\u306e\u305f\u3081\u306b\u66f8\u3044\u3066\u304a\u3044\u3066\u640d\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u3000<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30eb\u30fc\u30d7\u5916\u3067\u4f7f\u3048\u308b\u95a2\u6570<\/h2>\n\n\n\n<p>\u4ee5\u4e0a\u304c\u7b46\u8005\u304c\u3088\u304f\u4f7f\u3046\u30eb\u30fc\u30d7\u5185\u306ewordpress\u306e\u95a2\u6570\u3067\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u30eb\u30fc\u30d7\u306e\u5916\u304b\u5185\u304b\u3067\u4f7f\u3046\u95a2\u6570\u306f\u5909\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001<strong>the_content();<\/strong>\u3068\u3044\u3046\u672c\u6587\u3092\u8868\u793a\u3059\u308b\u95a2\u6570\u306f<strong class=\"marker\">&gt;\u30eb\u30fc\u30d7\u5916\u3067\u306f\u6a5f\u80fd\u3057\u307e\u305b\u3093\u3002<\/strong><\/p>\n\n\n\n<p>\u8a18\u4e8b\u4e00\u89a7\u30da\u30fc\u30b8\u3067\u51fa\u529b\u3059\u308b\u5834\u5408\u306b\u306f\u6c17\u4ed8\u304d\u307e\u305b\u3093\u304c\u3001<strong>single.php<\/strong>\uff08\u8a18\u4e8b\u8a73\u7d30\u30da\u30fc\u30b8\uff09\u3067\u4f7f\u3046\u969b\u306b\u5fd8\u308c\u304c\u3061\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u3046\u307e\u304f\u52d5\u304b\u306a\u3044\u6642\u306f\u3001\u3060\u3044\u305f\u3044\u8abf\u3079\u308c\u3070\u5148\u4eba\u305f\u3061\u304c\u8a18\u4e8b\u306b\u3057\u3066\u6559\u3048\u3066\u304f\u308c\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u56f0\u3063\u305f\u3089<strong>\u3059\u3050\u306b\u8abf\u3079\u3066\u307f\u308b\u3053\u3068<\/strong>\u3092\u30aa\u30b9\u30b9\u30e1\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u3000<\/p>\n\n\n\n<p>\u305d\u3057\u3066\u3001\u4ee5\u4e0b\u304b\u3089\u306f\u30eb\u30fc\u30d7\u5916\u3067\u3088\u304f\u4f7f\u3046\u95a2\u6570\u3092\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>get_header();<\/strong><\/li>\n\n\n\n<li><strong>get_sidebar();<\/strong><\/li>\n\n\n\n<li><strong>get_footer();<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u3053\u3061\u3089\u306f\u3001\u8a18\u8ff0\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u3068\u540c\u3058\u968e\u5c64\u306b\u3042\u308bheader.php\u3001sidebar.php\u3001footer.php\u3092include\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\uff08\u30ab\u30c3\u30b3\u5185\uff09\u306b\u3001\u4f8b\u3048\u3070\u300c&#8217;main&#8217;\u300d\u3068\u8a18\u8ff0\u3059\u308b\u3068\u3001header-main.php\u3001sidebar-main.php\u304c\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u3000<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>get_template_directory_uri();<\/strong><\/li>\n\n\n\n<li><strong>home_url();<\/strong><\/li>\n<\/ul>\n\n\n\n<p class=\"has-text-align-center\">\u2193\u51fa\u529b\u5f8c<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>\u30c9\u30e1\u30a4\u30f3\u540d\/wp-content\/themes\/\u30c6\u30fc\u30de\u540d\/(\u4eca\u3044\u308b\u968e\u5c64\u307e\u3067)<\/strong><\/li>\n\n\n\n<li><strong>\u30c9\u30e1\u30a4\u30f3\u540d\/(\u4eca\u3044\u308b\u968e\u5c64\u307e\u3067)<\/strong><\/li>\n<\/ul>\n\n\n\n<p>\u524d\u8005\u306f\u3001echo\u3068\u30bb\u30c3\u30c8\u3067\u4f7f\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001<strong>img\u30bf\u30b0<\/strong>\u3084<strong>\u30d5\u30a1\u30a4\u30eb\u3092\u53c2\u7167\u3059\u308b\u3068\u304d<\/strong>\u306e\u305f\u3081\u306e<strong class=\"marker\">\u30d1\u30b9\u3092\u51fa\u529b\u3057\u3066\u304f\u308c\u307e\u3059\u3002<\/strong><\/p>\n\n\n\n<p>\u3000\u3000\u3000<\/p>\n\n\n\n<p>\u5f8c\u8005\u306f\u3001<strong>a\u30bf\u30b0\u306ehref\u5c5e\u6027<\/strong>\u306a\u3069\u306b\u4f7f\u3048\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u30eb\u30fc\u30d7\u5916\u3067\u30dc\u30bf\u30f3\u306a\u3069\u3092\u8a2d\u5b9a\u3059\u308b\u3068\u304d\u306b\u4f7f\u3044\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u3000<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u3044\u304b\u304c\u3060\u3063\u305f\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u3001\u521d\u5fc3\u8005\u306e\u65b9\u3067\u3082\u4f7f\u3046\u6a5f\u4f1a\u306e\u591a\u3044\u3067\u3042\u308d\u3046\u95a2\u6570\u3092\u7d39\u4ecb\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>WordPress\u306f\u4fbf\u5229\u306a\u95a2\u6570\u304c\u305f\u304f\u3055\u3093\u3042\u308a\u307e\u3059\u304c\u3001<strong>\u4f7f\u3044\u3053\u306a\u3059\u306b\u306f\u516c\u5f0f\u30b5\u30a4\u30c8\u3092\u3088\u304f\u8aad\u3093\u3060\u308a\u52c9\u5f37\u304c\u5fc5\u8981\u3067\u3059\u3002<\/strong><\/p>\n\n\n\n<p>\u3054\u81ea\u8eab\u306e\u6e80\u8db3\u306e\u3044\u304f\u30d6\u30ed\u30b0\u3092\u4f5c\u3063\u3066\u3001\u7d20\u6575\u306aWordpress\u30e9\u30a4\u30d5\u3092\u9001\u308c\u308b\u3053\u3068\u3092\u9858\u3063\u3066\u3044\u307e\u3059\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u2193\u524d\u56de\u306e\u8a18\u4e8b\u3092\u8aad\u3093\u3067\u3044\u306a\u3044\u65b9\u306f\u3053\u3061\u3089\u304b\u3089 WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff11\u3011 \u524d\u56de\u306e\u7d9a\u304d\u304b\u3089\u59cb\u3081\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3059\uff01\u3000 \u4eca\u56de\u306f12\u884c\u76ee\u4ee5\u964d\u304b\u3089\u306e\u8aac\u660e\u306b\u306a\u308a\u307e\u3059\u300212\u884c\u76ee\u306f\u30ea\u30f3\u30af\u3067\u98db\u3079\u308b\u3088\u3046\u306b\u3059 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":9361,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[37],"tags":[82,76],"class_list":["post-7316","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-column","tag-php","tag-wordpress"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Michio Suzuki\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u30cb\u30e5\u30fc\u30b9&amp;\u30c8\u30d4\u30c3\u30af\u30b9 | KnocknoteEducation\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011 | TETRA UP \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/\" \/>\n\t\t<meta property=\"fb:admins\" content=\"1225479620796563\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/tetraup.com\/news_topics\/wp-content\/uploads\/2019\/05\/WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de81\u3011.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/tetraup.com\/news_topics\/wp-content\/uploads\/2019\/05\/WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de81\u3011.png\" \/>\n\t\t<meta property=\"og:image:width\" content=\"980\" \/>\n\t\t<meta property=\"og:image:height\" content=\"700\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-05-23T22:24:56+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-06-06T09:09:24+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/KnocknoteEducation\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@KnocknoteE\" \/>\n\t\t<meta name=\"twitter:title\" content=\"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011 | TETRA UP \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/tetraup.com\/news_topics\/wp-content\/uploads\/2019\/05\/WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de81\u3011.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#article\",\"name\":\"WordPress\\u521d\\u5fc3\\u8005\\u5fc5\\u898b\\uff01\\u3088\\u304f\\u4f7f\\u3046\\u95a2\\u6570\\u307e\\u3068\\u3081\\u3010\\u30d6\\u30ed\\u30b0\\u7de8\\uff12\\u3011 | TETRA UP \\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\\u6559\\u5ba4\",\"headline\":\"WordPress\\u521d\\u5fc3\\u8005\\u5fc5\\u898b\\uff01\\u3088\\u304f\\u4f7f\\u3046\\u95a2\\u6570\\u307e\\u3068\\u3081\\u3010\\u30d6\\u30ed\\u30b0\\u7de8\\uff12\\u3011\",\"author\":{\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/author\\\/michio-suzuki\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/WordPress\\u521d\\u5fc3\\u8005\\u5fc5\\u898b\\uff01\\u3088\\u304f\\u4f7f\\u3046\\u95a2\\u6570\\u307e\\u3068\\u3081\\u3010\\u30d6\\u30ed\\u30b0\\u7de81\\u3011.png\",\"width\":980,\"height\":700,\"caption\":\"WordPress\\u521d\\u5fc3\\u8005\\u5fc5\\u898b\\uff01\\u3088\\u304f\\u4f7f\\u3046\\u95a2\\u6570\\u307e\\u3068\\u3081\\u3010\\u30d6\\u30ed\\u30b0\\u7de81\\u3011\"},\"datePublished\":\"2019-05-24T07:24:56+09:00\",\"dateModified\":\"2026-06-06T18:09:24+09:00\",\"inLanguage\":\"ja\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#webpage\"},\"articleSection\":\"\\u30b3\\u30e9\\u30e0, PHP, WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/tetraup.com\\\/news_topics\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/category\\\/column\\\/#listItem\",\"name\":\"\\u30b3\\u30e9\\u30e0\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/category\\\/column\\\/#listItem\",\"position\":2,\"name\":\"\\u30b3\\u30e9\\u30e0\",\"item\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/category\\\/column\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#listItem\",\"name\":\"WordPress\\u521d\\u5fc3\\u8005\\u5fc5\\u898b\\uff01\\u3088\\u304f\\u4f7f\\u3046\\u95a2\\u6570\\u307e\\u3068\\u3081\\u3010\\u30d6\\u30ed\\u30b0\\u7de8\\uff12\\u3011\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#listItem\",\"position\":3,\"name\":\"WordPress\\u521d\\u5fc3\\u8005\\u5fc5\\u898b\\uff01\\u3088\\u304f\\u4f7f\\u3046\\u95a2\\u6570\\u307e\\u3068\\u3081\\u3010\\u30d6\\u30ed\\u30b0\\u7de8\\uff12\\u3011\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/category\\\/column\\\/#listItem\",\"name\":\"\\u30b3\\u30e9\\u30e0\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/#organization\",\"name\":\"TETRA UP\",\"description\":\"\\u5b50\\u3069\\u3082\\u305f\\u3061\\u306e\\u30df\\u30e9\\u30a4\\u3092\\u5275\\u308b\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\\u30b9\\u30af\\u30fc\\u30eb\",\"url\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/\",\"telephone\":\"+81367098725\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/tetraup.com\\\/education\\\/img\\\/cropped-tetra_up_favicon.png\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#organizationLogo\"},\"image\":{\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/www.instagram.com\\\/tetraup\\\/\",\"https:\\\/\\\/www.tiktok.com\\\/@daichan_tetraup\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC59I963hxVZRSIKD-vvFflg\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/author\\\/michio-suzuki\\\/#author\",\"url\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/author\\\/michio-suzuki\\\/\",\"name\":\"Michio Suzuki\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/fc26a5bf7f8b68a36662446ac0d449aacc6e0bd04772a6ea60dd549a953ceea1?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Michio Suzuki\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#webpage\",\"url\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/\",\"name\":\"WordPress\\u521d\\u5fc3\\u8005\\u5fc5\\u898b\\uff01\\u3088\\u304f\\u4f7f\\u3046\\u95a2\\u6570\\u307e\\u3068\\u3081\\u3010\\u30d6\\u30ed\\u30b0\\u7de8\\uff12\\u3011 | TETRA UP \\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\\u6559\\u5ba4\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/author\\\/michio-suzuki\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/author\\\/michio-suzuki\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/wp-content\\\/uploads\\\/2019\\\/05\\\/WordPress\\u521d\\u5fc3\\u8005\\u5fc5\\u898b\\uff01\\u3088\\u304f\\u4f7f\\u3046\\u95a2\\u6570\\u307e\\u3068\\u3081\\u3010\\u30d6\\u30ed\\u30b0\\u7de81\\u3011.png\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#mainImage\",\"width\":980,\"height\":700,\"caption\":\"WordPress\\u521d\\u5fc3\\u8005\\u5fc5\\u898b\\uff01\\u3088\\u304f\\u4f7f\\u3046\\u95a2\\u6570\\u307e\\u3068\\u3081\\u3010\\u30d6\\u30ed\\u30b0\\u7de81\\u3011\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/column\\\/wordpress-functions-guide2\\\/#mainImage\"},\"datePublished\":\"2019-05-24T07:24:56+09:00\",\"dateModified\":\"2026-06-06T18:09:24+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/#website\",\"url\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/\",\"name\":\"TETRA UP\",\"description\":\"\\u5b50\\u3069\\u3082\\u305f\\u3061\\u306e\\u30df\\u30e9\\u30a4\\u3092\\u5275\\u308b\\u30d7\\u30ed\\u30b0\\u30e9\\u30df\\u30f3\\u30b0\\u30b9\\u30af\\u30fc\\u30eb\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/tetraup.com\\\/news_topics\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011 | TETRA UP \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4","description":"","canonical_url":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#article","name":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011 | TETRA UP \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4","headline":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011","author":{"@id":"https:\/\/tetraup.com\/news_topics\/author\/michio-suzuki\/#author"},"publisher":{"@id":"https:\/\/tetraup.com\/news_topics\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/tetraup.com\/news_topics\/wp-content\/uploads\/2019\/05\/WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de81\u3011.png","width":980,"height":700,"caption":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de81\u3011"},"datePublished":"2019-05-24T07:24:56+09:00","dateModified":"2026-06-06T18:09:24+09:00","inLanguage":"ja","mainEntityOfPage":{"@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#webpage"},"isPartOf":{"@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#webpage"},"articleSection":"\u30b3\u30e9\u30e0, PHP, WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tetraup.com\/news_topics#listItem","position":1,"name":"Home","item":"https:\/\/tetraup.com\/news_topics","nextItem":{"@type":"ListItem","@id":"https:\/\/tetraup.com\/news_topics\/category\/column\/#listItem","name":"\u30b3\u30e9\u30e0"}},{"@type":"ListItem","@id":"https:\/\/tetraup.com\/news_topics\/category\/column\/#listItem","position":2,"name":"\u30b3\u30e9\u30e0","item":"https:\/\/tetraup.com\/news_topics\/category\/column\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#listItem","name":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tetraup.com\/news_topics#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#listItem","position":3,"name":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011","previousItem":{"@type":"ListItem","@id":"https:\/\/tetraup.com\/news_topics\/category\/column\/#listItem","name":"\u30b3\u30e9\u30e0"}}]},{"@type":"Organization","@id":"https:\/\/tetraup.com\/news_topics\/#organization","name":"TETRA UP","description":"\u5b50\u3069\u3082\u305f\u3061\u306e\u30df\u30e9\u30a4\u3092\u5275\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb","url":"https:\/\/tetraup.com\/news_topics\/","telephone":"+81367098725","logo":{"@type":"ImageObject","url":"https:\/\/tetraup.com\/education\/img\/cropped-tetra_up_favicon.png","@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#organizationLogo"},"image":{"@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#organizationLogo"},"sameAs":["https:\/\/www.instagram.com\/tetraup\/","https:\/\/www.tiktok.com\/@daichan_tetraup","https:\/\/www.youtube.com\/channel\/UC59I963hxVZRSIKD-vvFflg"]},{"@type":"Person","@id":"https:\/\/tetraup.com\/news_topics\/author\/michio-suzuki\/#author","url":"https:\/\/tetraup.com\/news_topics\/author\/michio-suzuki\/","name":"Michio Suzuki","image":{"@type":"ImageObject","@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/fc26a5bf7f8b68a36662446ac0d449aacc6e0bd04772a6ea60dd549a953ceea1?s=96&d=mm&r=g","width":96,"height":96,"caption":"Michio Suzuki"}},{"@type":"WebPage","@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#webpage","url":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/","name":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011 | TETRA UP \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4","inLanguage":"ja","isPartOf":{"@id":"https:\/\/tetraup.com\/news_topics\/#website"},"breadcrumb":{"@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#breadcrumblist"},"author":{"@id":"https:\/\/tetraup.com\/news_topics\/author\/michio-suzuki\/#author"},"creator":{"@id":"https:\/\/tetraup.com\/news_topics\/author\/michio-suzuki\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/tetraup.com\/news_topics\/wp-content\/uploads\/2019\/05\/WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de81\u3011.png","@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#mainImage","width":980,"height":700,"caption":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de81\u3011"},"primaryImageOfPage":{"@id":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/#mainImage"},"datePublished":"2019-05-24T07:24:56+09:00","dateModified":"2026-06-06T18:09:24+09:00"},{"@type":"WebSite","@id":"https:\/\/tetraup.com\/news_topics\/#website","url":"https:\/\/tetraup.com\/news_topics\/","name":"TETRA UP","description":"\u5b50\u3069\u3082\u305f\u3061\u306e\u30df\u30e9\u30a4\u3092\u5275\u308b\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b9\u30af\u30fc\u30eb","inLanguage":"ja","publisher":{"@id":"https:\/\/tetraup.com\/news_topics\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u30cb\u30e5\u30fc\u30b9&amp;\u30c8\u30d4\u30c3\u30af\u30b9 | KnocknoteEducation","og:type":"article","og:title":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011 | TETRA UP \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4","og:url":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/","fb:admins":"1225479620796563","og:image":"https:\/\/tetraup.com\/news_topics\/wp-content\/uploads\/2019\/05\/WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de81\u3011.png","og:image:secure_url":"https:\/\/tetraup.com\/news_topics\/wp-content\/uploads\/2019\/05\/WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de81\u3011.png","og:image:width":980,"og:image:height":700,"article:published_time":"2019-05-23T22:24:56+00:00","article:modified_time":"2026-06-06T09:09:24+00:00","article:publisher":"https:\/\/www.facebook.com\/KnocknoteEducation","twitter:card":"summary","twitter:site":"@KnocknoteE","twitter:title":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011 | TETRA UP \u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u6559\u5ba4","twitter:image":"https:\/\/tetraup.com\/news_topics\/wp-content\/uploads\/2019\/05\/WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de81\u3011.png"},"aioseo_meta_data":{"post_id":"7316","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":[],"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2024-05-10 07:29:08","updated":"2026-06-06 09:10:22","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tetraup.com\/news_topics\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tetraup.com\/news_topics\/category\/column\/\" title=\"\u30b3\u30e9\u30e0\">\u30b3\u30e9\u30e0<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tWordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tetraup.com\/news_topics"},{"label":"\u30b3\u30e9\u30e0","link":"https:\/\/tetraup.com\/news_topics\/category\/column\/"},{"label":"WordPress\u521d\u5fc3\u8005\u5fc5\u898b\uff01\u3088\u304f\u4f7f\u3046\u95a2\u6570\u307e\u3068\u3081\u3010\u30d6\u30ed\u30b0\u7de8\uff12\u3011","link":"https:\/\/tetraup.com\/news_topics\/column\/wordpress-functions-guide2\/"}],"_links":{"self":[{"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/posts\/7316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/comments?post=7316"}],"version-history":[{"count":9,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/posts\/7316\/revisions"}],"predecessor-version":[{"id":11229,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/posts\/7316\/revisions\/11229"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/media\/9361"}],"wp:attachment":[{"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/media?parent=7316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/categories?post=7316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tetraup.com\/news_topics\/wp-json\/wp\/v2\/tags?post=7316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}