{"id":5753,"date":"2024-08-27T17:00:04","date_gmt":"2024-08-27T08:00:04","guid":{"rendered":"http:\/\/www.code-plus.jp\/240909\/?p=5753"},"modified":"2026-01-08T11:16:29","modified_gmt":"2026-01-08T02:16:29","slug":"post-5753","status":"publish","type":"post","link":"https:\/\/code-plus.jp\/gp\/post-5753\/","title":{"rendered":"WordPress\u306e\u6295\u7a3f\u30a8\u30c7\u30a3\u30bf\u3067\u81ea\u52d5\u7684\u306b\u633f\u5165\u3055\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30b3\u30e1\u30f3\u30c8\u3092\u7121\u52b9\u306b\u3059\u308b"},"content":{"rendered":"\n<p>WordPress\u306e\u6295\u7a3f\u30a8\u30c7\u30a3\u30bf\u3067\u81ea\u52d5\u7684\u306b\u633f\u5165\u3055\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30b3\u30e1\u30f3\u30c8\u3092\u7121\u52b9\u306b\u3059\u308b<\/p>\n\n\n\n<p>\u276cwp:heading\u276d\u276cwp:paragraph\u276d\u276cwp:list\u276d\u2026<\/p>\n\n\n\n<p>\u3053\u308c\u3089\u306e\u30b3\u30e1\u30f3\u30c8\u306fGutenberg\u30a8\u30c7\u30a3\u30bf\u306b\u3088\u3063\u3066\u633f\u5165\u3055\u308c\u308b\u3082\u306e\u3067\u3059\u3002<br><code>functions.php<\/code>\u30d5\u30a1\u30a4\u30eb\u306b\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u308c\u3089\u306e\u30b3\u30e1\u30f3\u30c8\u3092\u7121\u52b9\u306b\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>function disable_gutenberg_block_comments() {\n\/\/Gutenberg\u30d6\u30ed\u30c3\u30af\u30b3\u30e1\u30f3\u30c8\u3092\u7121\u52b9\u5316\nremove_filter('render_block', 'wp_render_block_comments', 10);\n\/\/\u30af\u30e9\u30b7\u30c3\u30af\u30d6\u30ed\u30c3\u30af\u30b3\u30e1\u30f3\u30c8\u3082\u7121\u52b9\u5316\uff08\u5ff5\u306e\u305f\u3081\uff09\nremove_filter('the_content', 'wpautop');\nremove_filter('the_content', 'wptexturize');\n}\nadd_action('init', 'disable_gutenberg_block_comments');<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092<code>functions.php<\/code>\u30d5\u30a1\u30a4\u30eb\u306e\u6700\u5f8c\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br>\u3053\u306e\u30b3\u30fc\u30c9\u306f\u4ee5\u4e0b\u306e\u3053\u3068\u3092\u884c\u3044\u307e\u3059\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Gutenberg\u30d6\u30ed\u30c3\u30af\u30b3\u30e1\u30f3\u30c8\u3092\u7121\u52b9\u5316\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li>\u5ff5\u306e\u305f\u3081\u3001\u30af\u30e9\u30b7\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u30d5\u30a3\u30eb\u30bf\u30fc\u3082\u7121\u52b9\u5316\u3057\u307e\u3059\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u3053\u306e\u5909\u66f4\u3092\u52a0\u3048\u305f\u5f8c\u3001\u65b0\u3057\u3044\u6295\u7a3f\u3084\u65e2\u5b58\u306e\u6295\u7a3f\u3092\u7de8\u96c6\u3059\u308b\u969b\u306b\u3001<br>\u3053\u308c\u3089\u306e\u30b3\u30e1\u30f3\u30c8\u304c\u81ea\u52d5\u7684\u306b\u633f\u5165\u3055\u308c\u306a\u304f\u306a\u308b\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u6ce8\u610f\u70b9\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u3053\u306e\u5909\u66f4\u306f\u30c6\u30fc\u30de\u306e<code>functions.php<\/code>\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3059\u308b\u306e\u3067\u3001\u30c6\u30fc\u30de\u3092\u66f4\u65b0\u3059\u308b\u969b\u306b\u3053\u306e\u5909\u66f4\u304c\u4e0a\u66f8\u304d\u3055\u308c\u306a\u3044\u3088\u3046\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/li>\n\n\n\n<li>\u3053\u306e\u5909\u66f4\u306f\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u8868\u793a\u306b\u306f\u5f71\u97ff\u3057\u307e\u305b\u3093\u304c\u3001\u4e00\u90e8\u306e\u30d7\u30e9\u30b0\u30a4\u30f3\u3084\u6a5f\u80fd\u306b\u5f71\u97ff\u3092\u4e0e\u3048\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u5b9f\u88c5\u5f8c\u3001\u30b5\u30a4\u30c8\u306e\u6a5f\u80fd\u3092\u5341\u5206\u306b\u30c6\u30b9\u30c8\u3059\u308b\u3053\u3068\u3092\u304a\u3059\u3059\u3081\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"WordPress\u306e\u6295\u7a3f\u30a8\u30c7\u30a3\u30bf\u3067\u81ea\u52d5\u7684\u306b\u633f\u5165\u3055\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30b3\u30e1\u30f3\u30c8\u3092\u7121\u52b9\u306b\u3059\u308b \u276cwp:heading\u276d\u276cwp:paragraph\u276d\u276cwp:list\u276d\u2026 \u3053\u308c\u3089\u306e\u30b3\u30e1\u30f3\u30c8\u306fGutenberg\u30a8\u30c7\u30a3\u30bf\u306b\u3088\u3063\u3066\u633f\u5165\u3055\u308c\u308b\u3082[...]","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[297,299,298,300,191],"class_list":{"0":"post-5753","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-wordpress","7":"tag-excel","8":"tag-299","9":"tag-298","10":"tag-300","11":"tag-191"},"_links":{"self":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/5753","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/comments?post=5753"}],"version-history":[{"count":1,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/5753\/revisions"}],"predecessor-version":[{"id":8769,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/posts\/5753\/revisions\/8769"}],"wp:attachment":[{"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/media?parent=5753"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/categories?post=5753"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/code-plus.jp\/gp\/wp-json\/wp\/v2\/tags?post=5753"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}