{"id":21427,"date":"2023-01-29T17:14:29","date_gmt":"2023-01-29T08:14:29","guid":{"rendered":"https:\/\/motoki-design.co.jp\/wordpress\/?p=21427"},"modified":"2024-04-10T03:58:45","modified_gmt":"2024-04-09T18:58:45","slug":"comment-custom","status":"publish","type":"post","link":"https:\/\/motoki-design.co.jp\/wordpress\/comment-custom\/","title":{"rendered":"WordPress\u2502\u30b3\u30e1\u30f3\u30c8\u6b04\u306e\u304a\u3059\u3059\u3081\u30ab\u30b9\u30bf\u30de\u30a4\u30ba"},"content":{"rendered":"\n<p>SEO\u5bfe\u7b56\u306b\u591a\u5c11\u306f\u5f71\u97ff\u306f\u3042\u308b\u30b3\u30e1\u30f3\u30c8\u6b04\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -external\" 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\">Search Engine Journal<\/span>\n\t\t\t\t\t<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/cdn.searchenginejournal.com\/wp-content\/uploads\/2021\/02\/e3613307-0124-476b-a258-67e3488fb181-6021e0077fb69.jpeg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/www.searchenginejournal.com\/google-removing-blog-comments-may-impact-search-rankings\/395400\/\" target=\"_blank\" rel=\"noopener noreferrer\">Google: Removing Blog Comments May Impact Search Rankings<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">Removing all comments from a website may hurt search rankings, says Google\u2019s John Mueller.<\/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>\u30b9\u30d1\u30e0\u5bfe\u7b56\u3067reCAPTCHA\u7b49\u5c0e\u5165\u3057\u305f\u308a\u3068\u30b3\u30b9\u30c8\u306f\u304b\u304b\u308a\u307e\u3059\u304c\u3001<\/p>\n\n\n\n<p>\u3082\u3057\u30b3\u30e1\u30f3\u30c8\u3059\u308b\u306a\u3089\u5c0e\u5165\u3059\u308b\u3068\u3057\u305f\u3089\u3001<strong>\u30e6\u30fc\u30b6\u30fc\u3055\u3093\u304c\u4f7f\u3044\u3084\u3059\u3044\u5f62<\/strong>\u306b\u6574\u3048\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-border_left\">WordPress\u30c6\u30fc\u30deSWELL\u306e\u521d\u671f\u72b6\u614b<\/p>\n\n\n\n<p>WordPress\u30c6\u30fc\u30de\u306eSWELL\u3067\u306f\u3059\u3067\u306b\u8981\u7d20\u304c\u6574\u7406\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3059\u304c\u3001\u305d\u308c\u3067\u3082\u5165\u529b\u7b87\u6240\u304c\u591a\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"812\" height=\"724\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_07h36_50-812x724.png\" alt=\"\" class=\"wp-image-21431\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_07h36_50-812x724.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_07h36_50-382x341.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_07h36_50-768x685.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_07h36_50.png 924w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<p class=\"is-style-border_left\">\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u5f8c<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"812\" height=\"527\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h25_45-812x527.png\" alt=\"\" class=\"wp-image-21430\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h25_45-812x527.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h25_45-382x248.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h25_45-768x499.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h25_45.png 924w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<p>\u5177\u4f53\u7684\u306b\u3084\u3063\u305f\u3053\u3068\u306f\u4ee5\u4e0b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"is-style-num_circle wp-block-list\">\n<li>\u540d\u524d\u3068\u30b3\u30e1\u30f3\u30c8\u306e\u9806\u756a\u306e\u5165\u308c\u66ff\u3048<\/li>\n\n\n\n<li>h3\u898b\u51fa\u3057\u3084\u30e9\u30d9\u30eb\u3084\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u7b49\u306e\u8981\u7d20\u306e\u975e\u8868\u793a<\/li>\n\n\n\n<li>\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\uff08\u4eee\u306e\u6587\u7ae0\uff09\u306e\u8ffd\u52a0<\/li>\n\n\n\n<li>\u9001\u4fe1\u30dc\u30bf\u30f3\u306e\u53f3\u914d\u7f6e<\/li>\n<\/ol>\n\n\n\n<p>\u672c\u8a18\u4e8b\u3067\u306f\u500b\u4eba\u7684\u306b\u304a\u3059\u3059\u3081\u306eWordPress\u306e\u30b3\u30e1\u30f3\u30c8\u6b04\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">WordPress\u306e\u30b3\u30e1\u30f3\u30c8\u6b04\u306e\u304a\u3059\u3059\u3081\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/h2>\n\n\n\n<p>WordPress\u306e\u30b3\u30e1\u30f3\u30c8\u6b04\u306e\u304a\u3059\u3059\u3081\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u308f\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3042\u304f\u307e\u3067\u500b\u4eba\u7684\u306a\u304a\u3059\u3059\u3081\u306e\u8a2d\u5b9a\u306a\u306e\u3067\u3001\u5225\u306e\u30a2\u30a4\u30c7\u30a3\u30a2\u304c\u3042\u308b\u4eba\u306f\u53c2\u8003\u306b\u3057\u3066\u30a2\u30ec\u30f3\u30b8\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u57fa\u672c\u8a2d\u5b9a<\/h3>\n\n\n\n<p>\u7ba1\u7406\u753b\u9762 \uff1e \u8a2d\u5b9a \uff1e\u30c7\u30a3\u30b9\u30ab\u30c3\u30b7\u30e7\u30f3\u306e\u753b\u9762\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ed6\u306e\u30b3\u30e1\u30f3\u30c8\u8a2d\u5b9a\u306e\u4ee5\u4e0b\u306e\u30c1\u30a7\u30c3\u30af\u3092\u5916\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u30b3\u30e1\u30f3\u30c8\u306e\u6295\u7a3f\u8005\u306e\u540d\u524d\u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u5165\u529b\u3092\u5fc5\u9808\u306b\u3059\u308b<\/li>\n\n\n\n<li>\u30b3\u30e1\u30f3\u30c8\u6295\u7a3f\u8005\u304c Cookie \u3092\u4fdd\u5b58\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b\u3001Cookie \u30aa\u30d7\u30c8\u30a4\u30f3\u7528\u30c1\u30a7\u30c3\u30af\u30dc\u30c3\u30af\u30b9\u3092\u8868\u793a\u3057\u307e\u3059<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"812\" height=\"433\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h43_34-812x433.png\" alt=\"\" class=\"wp-image-21432\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h43_34-812x433.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h43_34-382x204.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h43_34-768x410.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h43_34.png 924w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<p>\u4ee5\u4e0a\u306e2\u3064\u3092\u306f\u305a\u3059\u3053\u3068\u3067\u3001\u5165\u529b\u306e\u624b\u9593\u304c\u5c11\u3057\u7701\u3051\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">functions.php\u3092\u7528\u3044\u305f\u30b3\u30e1\u30f3\u30c8\u306e\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/h3>\n\n\n\n<p>\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306f\u4ee5\u4e0b\u306e3\u70b9\u3067\u3059\u3002<\/p>\n\n\n\n<ol class=\"is-style-num_circle wp-block-list\">\n<li>\u30b3\u30e1\u30f3\u30c8\u6b04\u3068\u540d\u524d\u306e\u5165\u308c\u66ff\u3048<\/li>\n\n\n\n<li>\u7121\u99c4\u306a\u30e9\u30d9\u30eb\u3084\u5165\u529b\u6b04\u306e\u524a\u9664<\/li>\n\n\n\n<li>\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\uff08\u4eee\u306e\u6587\u7ae0\uff09\u306e\u8ffd\u52a0<\/li>\n<\/ol>\n\n\n\n<p>\u6700\u521d\u306b\u30b3\u30fc\u30c9\u3092\u7d39\u4ecb\u3057\u3066\u3001\u3042\u3068\u304b\u3089\u7d30\u304b\u3044\u89e3\u8aac\u3092\u3044\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-border_left\">\u5168\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u542b\u3081\u305f\u30b3\u30fc\u30c9<\/p>\n\n\n\n<p>\u307e\u305a\u7ba1\u7406\u753b\u9762 \uff1e \u5916\u89b3 \uff1e \u30c6\u30fc\u30de\u30a8\u30c7\u30a3\u30bf \uff1e functions.php\u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_pen\">\u203b\u30b3\u30fc\u30c9\u306e\u8ffd\u8a18\u304c\u6016\u3044\u4eba\u306f<strong>Code Snippets<\/strong>\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u8a18\u8f09\u3059\u308b\u3068\u5b89\u5168\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"is-style-icon_info\">\u3053\u308c\u304b\u3089\u89e3\u8aac\u3059\u308b\u30b3\u30fc\u30c9\u3092\u3059\u3079\u3066\u542b\u3093\u3067\u304a\u308a\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 motoki_comment_field_custom( $fields ) {\n  $comment_field = &#39;&lt;p class=&quot;comment-form-comment&quot;&gt;&lt;label for=&quot;comment&quot;&gt;\u30b3\u30e1\u30f3\u30c8\u5185\u5bb9&lt;span class=&quot;required&quot;&gt;\u203b&lt;\/span&gt;&lt;\/label&gt;&lt;textarea id=&quot;comment&quot; name=&quot;comment&quot; cols=&quot;45&quot; rows=&quot;8&quot; maxlength=&quot;65525&quot; required=&quot;&quot; placeholder=&quot;\u5185\u5bb9\u3092\u3054\u8a18\u5165\u304f\u3060\u3055\u3044&quot;&gt;&lt;\/textarea&gt;&lt;\/p&gt;&#39;;\n  unset( $fields[&#39;comment&#39;] );\n  $fields[&#39;comment&#39;] = $comment_field;\n  $fields[&#39;author&#39;] = &#39;&lt;p class=&quot;comment-form-author&quot;&gt;&lt;label for=&quot;author&quot;&gt;\u304a\u540d\u524d&lt;\/label&gt;&lt;input id=&quot;author&quot; name=&quot;author&quot; type=&quot;text&quot; value=&quot;&quot; size=&quot;30&quot; maxlength=&quot;245&quot; autocomplete=&quot;name&quot; placeholder=&quot;\u30cf\u30f3\u30c9\u30eb\u30cd\u30fc\u30e0\u3067\u3082\u53ef&quot;&gt;&lt;\/p&gt;&#39;;\n  $fields[&#39;url&#39;] = &#39;&#39;;\n  $fields[&#39;email&#39;] = &#39;&#39;; \n  $fields[&#39;comment_notes_before&#39;] = &#39;&lt;span class=&quot;u-fz-xs&quot;&gt;\u3053\u306e\u30b5\u30a4\u30c8\u306freCAPTCHA\u306b\u3088\u3063\u3066\u4fdd\u8b77\u3055\u308c\u3066\u304a\u308a\u3001Google\u306e\n    &lt;a href=&quot;https:\/\/policies.google.com\/privacy&quot;&gt;\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u30dd\u30ea\u30b7\u30fc&lt;\/a&gt;\u3068\n    &lt;a href=&quot;https:\/\/policies.google.com\/terms&quot;&gt;\u5229\u7528\u898f\u7d04&lt;\/a&gt;\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002&lt;\/span&gt;&#39;;\t\n  return $fields;\n}\nadd_filter( &#39;comment_form_fields&#39;, &#39;motoki_comment_field_custom&#39;);<\/code><\/pre><\/div>\n\n\n\n<p>\u4ee5\u4e0b\u3001\u8a73\u3057\u3044\u89e3\u8aac\u3067\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b3\u30e1\u30f3\u30c8\u6b04\u3068\u540d\u524d\u306e\u5165\u308c\u66ff\u3048<\/h3>\n\n\n\n<p>WordPress\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u30b3\u30e1\u30f3\u30c8\u2192\u540d\u524d\u3068\u3044\u3046\u9806\u756a\u306a\u306e\u3067\u3059\u304c\u3001\u9055\u548c\u611f\u304c\u3042\u3063\u305f\u306e\u3067\u4e26\u3073\u66ff\u3048\u3092\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>function motoki_comment_field_custom( $fields ) {\n  $comment_field = &#39;&#39;;\n  unset( $fields[&#39;comment&#39;] );\n  $fields[&#39;comment&#39;] = $comment_field;\n  return $fields;\n}\nadd_filter( &#39;comment_form_fields&#39;, &#39;motoki_comment_field_custom&#39;);<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30b5\u30a4\u30c8\u3084\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u306e\u5165\u529b\u6b04\u306e\u524a\u9664<\/h3>\n\n\n\n<p>WordPress\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u5165\u529b\u9805\u76ee\u304c\u591a\u3059\u304e\u308b\u306e\u3067\u6e1b\u3089\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>function motoki_comment_field_custom( $fields ) {\n  $fields[&#39;url&#39;] = &#39;&#39;;\n  $fields[&#39;email&#39;] = &#39;&#39;; \n  return $fields;\n}\nadd_filter( &#39;comment_form_fields&#39;, &#39;motoki_comment_field_custom&#39;);<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u306e\u8ffd\u52a0<\/h3>\n\n\n\n<p>\u5165\u529b\u6b04\u3092\u540d\u524d\u3068\u30b3\u30e1\u30f3\u30c8\u3060\u3051\u306b\u6e1b\u3089\u3057\u307e\u3057\u305f\u304c\u3001\u5165\u529b\u3057\u3084\u3059\u3044\u3088\u3046\u306b\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\uff08\u4eee\u306e\u6587\u7ae0\uff09\u3092\u3044\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u203b\u3064\u3044\u3067\u306b\u30e9\u30d9\u30eb\u306e\u8868\u8a18\u306f\u524a\u9664\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u203breCAPTCHA\u3092\u4f7f\u3063\u3066\u3044\u308b\u95a2\u4fc2\u3067\u3001\u6700\u5f8c\u306b\u6587\u8a00\u3092\u3044\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n<div class=\"swell-block-postLink\">\t\t\t<div class=\"p-blogCard -internal\" data-type=\"type1\" 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<div class=\"p-blogCard__thumb c-postThumb\"><figure class=\"c-postThumb__figure\"><img decoding=\"async\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/hide-recaptcha-382x215.jpg\" alt=\"\" class=\"c-postThumb__img u-obf-cover\" width=\"320\" height=\"180\"><\/figure><\/div>\t\t\t\t\t<div class=\"p-blogCard__body\">\n\t\t\t\t\t\t<a class=\"p-blogCard__title\" href=\"https:\/\/motoki-design.co.jp\/wordpress\/hide-recaptcha\/\">WordPress\u2502reCAPTCHA\u306e\u30ed\u30b4\u753b\u50cf\u3092\u516c\u5f0f\u306e\u3084\u308a\u65b9\u3067\u975e\u8868\u793a\u306b\u3059\u308b\u30ab\u30b9\u30bf\u30de\u30a4\u30ba<\/a>\n\t\t\t\t\t\t<span class=\"p-blogCard__excerpt\">WordPress\u3067\u306e\u30b3\u30e1\u30f3\u30c8\u3084\u304a\u554f\u3044\u5408\u308f\u305b\u306e\u30b9\u30d1\u30e0\u5bfe\u7b56\u3067 Google\u306ereCAPTCHA\uff08v3\uff09\u3092\u5165\u308c\u308b\u3053\u3068\u306f\u5b9a\u756a\u306e\u5bfe\u7b56\u3060\u3068\u601d\u3044\u307e\u3059\u3002 \u3057\u304b\u3057\u6761\u4ef6\u306b\u3088\u3063\u3066\u306freCaptch\u30ed\u30b4\u304c\u90aa\u9b54\u306b\u306a\u308b&#8230;<\/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>\u3084\u3063\u3066\u3044\u308b\u3053\u3068\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u72b6\u614b\u306eHTML\u3092\u66f8\u3053\u3046\u3057\u3066\u5165\u308c\u306a\u304a\u3057\u3066\u3044\u308b\u3060\u3051\u3067\u3059\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>function motoki_comment_field_custom( $fields ) {\n  $comment_field = &#39;&lt;p class=&quot;comment-form-comment&quot;&gt;&lt;label for=&quot;comment&quot;&gt;\u30b3\u30e1\u30f3\u30c8\u5185\u5bb9&lt;span class=&quot;required&quot;&gt;\u203b&lt;\/span&gt;&lt;\/label&gt;&lt;textarea id=&quot;comment&quot; name=&quot;comment&quot; cols=&quot;45&quot; rows=&quot;8&quot; maxlength=&quot;65525&quot; required=&quot;&quot; placeholder=&quot;\u5185\u5bb9\u3092\u3054\u8a18\u5165\u304f\u3060\u3055\u3044&quot;&gt;&lt;\/textarea&gt;&lt;\/p&gt;&#39;;\n  unset( $fields[&#39;comment&#39;] );\n  $fields[&#39;author&#39;] = &#39;&lt;p class=&quot;comment-form-author&quot;&gt;&lt;label for=&quot;author&quot;&gt;\u304a\u540d\u524d&lt;\/label&gt;&lt;input id=&quot;author&quot; name=&quot;author&quot; type=&quot;text&quot; value=&quot;&quot; size=&quot;30&quot; maxlength=&quot;245&quot; autocomplete=&quot;name&quot; placeholder=&quot;\u30cf\u30f3\u30c9\u30eb\u30cd\u30fc\u30e0\u3067\u3082\u53ef&quot;&gt;&lt;\/p&gt;&#39;;\n  $fields[&#39;comment_notes_before&#39;] = &#39;&lt;span class=&quot;u-fz-xs&quot;&gt;\u3053\u306e\u30b5\u30a4\u30c8\u306freCAPTCHA\u306b\u3088\u3063\u3066\u4fdd\u8b77\u3055\u308c\u3066\u304a\u308a\u3001Google\u306e\n    &lt;a href=&quot;https:\/\/policies.google.com\/privacy&quot;&gt;\u30d7\u30e9\u30a4\u30d0\u30b7\u30fc\u30dd\u30ea\u30b7\u30fc&lt;\/a&gt;\u3068\n    &lt;a href=&quot;https:\/\/policies.google.com\/terms&quot;&gt;\u5229\u7528\u898f\u7d04&lt;\/a&gt;\u304c\u9069\u7528\u3055\u308c\u307e\u3059\u3002&lt;\/span&gt;&#39;;\t\n  return $fields;\n}\nadd_filter( &#39;comment_form_fields&#39;, &#39;motoki_comment_field_custom&#39;);<\/code><\/pre><\/div>\n\n\n\n<p>\u82f1\u8a9e\u8868\u8a18\u306b\u3059\u308b\u306a\u3089\u3053\u3061\u3089\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-php\" data-lang=\"PHP\"><code>function motoki_comment_field_custom( $fields ) {\n  $comment_field = &#39;&lt;p class=&quot;comment-form-comment&quot;&gt;&lt;label for=&quot;comment&quot;&gt;\u30b3\u30e1\u30f3\u30c8\u5185\u5bb9&lt;span class=&quot;required&quot;&gt;\u203b&lt;\/span&gt;&lt;\/label&gt;&lt;textarea id=&quot;comment&quot; name=&quot;comment&quot; cols=&quot;45&quot; rows=&quot;8&quot; maxlength=&quot;65525&quot; required=&quot;&quot; placeholder=&quot;\u5185\u5bb9\u3092\u3054\u8a18\u5165\u304f\u3060\u3055\u3044&quot;&gt;&lt;\/textarea&gt;&lt;\/p&gt;&#39;;\n  unset( $fields[&#39;comment&#39;] );\n  $fields[&#39;author&#39;] = &#39;&lt;p class=&quot;comment-form-author&quot;&gt;&lt;label for=&quot;author&quot;&gt;\u304a\u540d\u524d&lt;\/label&gt;&lt;input id=&quot;author&quot; name=&quot;author&quot; type=&quot;text&quot; value=&quot;&quot; size=&quot;30&quot; maxlength=&quot;245&quot; autocomplete=&quot;name&quot; placeholder=&quot;\u30cf\u30f3\u30c9\u30eb\u30cd\u30fc\u30e0\u3067\u3082\u53ef&quot;&gt;&lt;\/p&gt;&#39;;\n  $fields[&#39;comment_notes_before&#39;] = &#39;&lt;span class=&quot;u-fz-xs&quot;&gt;This site is protected by reCAPTCHA and the Google\n    &lt;a href=&quot;https:\/\/policies.google.com\/privacy&quot;&gt;Privacy Policy&lt;\/a&gt; and\n    &lt;a href=&quot;https:\/\/policies.google.com\/terms&quot;&gt;Terms of Service&lt;\/a&gt; apply.&lt;\/span&gt;&#39;;\t\n  return $fields;\n}\nadd_filter( &#39;comment_form_fields&#39;, &#39;motoki_comment_field_custom&#39;);<\/code><\/pre><\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u53f3\u306b\u914d\u7f6e<\/h3>\n\n\n\n<p>CSS\u3067\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u53f3\u306b\u914d\u7f6e\u306b\u5909\u66f4\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u540c\u3058\u5de6\u63c3\u3048\u306e\u914d\u7f6e\u3060\u3068\u8aa4\u30af\u30ea\u30c3\u30af\u3055\u308c\u308b\u53ef\u80fd\u6027\u304c\u3042\u308b\u306e\u3067\u3001\u5c11\u3057\u30ea\u30ba\u30e0\u3092\u5909\u66f4\u3059\u308b\u305f\u3081\u306b\u914d\u7f6e\u3092\u5909\u3048\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3042\u3068\u306fh3\u306e\u898b\u51fa\u3057\uff08\u30b3\u30e1\u30f3\u30c8\u3059\u308b\uff09\u3092\u975e\u8868\u793a\u306b\u3057\u3066\u3044\u307e\u3059\uff08SWELL\u30c6\u30fc\u30de\u7279\u6709\uff09<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"812\" height=\"78\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_17h13_06-812x78.png\" alt=\"\" class=\"wp-image-21437\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_17h13_06-812x78.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_17h13_06-382x37.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_17h13_06-768x74.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_17h13_06.png 924w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-css\" data-lang=\"CSS\"><code>\/*\u30b3\u30e1\u30f3\u30c8\u6b04\u306e\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u53f3\u5074\u306b*\/\n.form-submit {\n    text-align: right;\n}\n\/*\u30b3\u30e1\u30f3\u30c8\u6b04\u306eh3\u3092\u975e\u8868\u793a*\/\n.p-commentArea__title{\n\tdisplay: none;\n}<\/code><\/pre><\/div>\n\n\n\n<p>\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u306f\u4ee5\u4e0a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305f\u3044\u3076\u30b7\u30f3\u30d7\u30eb\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"812\" height=\"364\" src=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h25_45-1-812x364.png\" alt=\"\" class=\"wp-image-21433\" srcset=\"https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h25_45-1-812x364.png 812w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h25_45-1-382x171.png 382w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h25_45-1-768x344.png 768w, https:\/\/motoki-design.co.jp\/wordpress\/wp-content\/uploads\/2023-01-29_16h25_45-1.png 924w\" sizes=\"(max-width: 812px) 100vw, 812px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u307e\u3068\u3081<\/h2>\n\n\n\n<p>\u5b9f\u306f\u666e\u6bb5\u306f\u30d6\u30ed\u30b0\u3092\u66f8\u304f\u3068\u304d\u306b\u306f\u3001\u30b3\u30e1\u30f3\u30c8\u6b04\u3092\u89e3\u653e\u3057\u3066\u306a\u304b\u3063\u305f\u306e\u3067\u3059\u304c\u3001<\/p>\n\n\n\n<p>reCAPTCHA\u306e\u8868\u8a18\u3092\u633f\u5165\u3059\u308b\u969b\u306b\u3064\u3044\u3067\u306b\u6574\u7406\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u3082\u3057\u30b3\u30e1\u30f3\u30c8\u6b04\u3092\u3082\u3063\u3068\u6d3b\u767a\u306b\u3057\u305f\u3044\uff01\u3068\u3044\u3046\u65b9\u306f\u53c2\u8003\u306b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SEO\u5bfe\u7b56\u306b\u591a\u5c11\u306f\u5f71\u97ff\u306f\u3042\u308b\u30b3\u30e1\u30f3\u30c8\u6b04\u3002 \u30b9\u30d1\u30e0\u5bfe\u7b56\u3067reCAPTCHA\u7b49\u5c0e\u5165\u3057\u305f\u308a\u3068\u30b3\u30b9\u30c8\u306f\u304b\u304b\u308a\u307e\u3059\u304c\u3001 \u3082\u3057\u30b3\u30e1\u30f3\u30c8\u3059\u308b\u306a\u3089\u5c0e\u5165\u3059\u308b\u3068\u3057\u305f\u3089\u3001\u30e6\u30fc\u30b6\u30fc\u3055\u3093\u304c\u4f7f\u3044\u3084\u3059\u3044\u5f62\u306b\u6574\u3048\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002 WordPre [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":21436,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"pochipp_cv_data":"","swell_btn_cv_data":"","footnotes":""},"categories":[91],"tags":[],"area":[],"class_list":["post-21427","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-customize"],"_links":{"self":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/21427","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=21427"}],"version-history":[{"count":2,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/21427\/revisions"}],"predecessor-version":[{"id":25218,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/posts\/21427\/revisions\/25218"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media\/21436"}],"wp:attachment":[{"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/media?parent=21427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/categories?post=21427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/tags?post=21427"},{"taxonomy":"area","embeddable":true,"href":"https:\/\/motoki-design.co.jp\/wordpress\/wp-json\/wp\/v2\/area?post=21427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}