{"id":49606,"date":"2023-09-04T23:23:15","date_gmt":"2023-09-04T14:23:15","guid":{"rendered":"https:\/\/kinsta.com\/jp\/?p=49606&#038;preview=true&#038;preview_id=49606"},"modified":"2023-09-11T16:49:21","modified_gmt":"2023-09-11T07:49:21","slug":"wordpress-block-templates","status":"publish","type":"post","link":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/","title":{"rendered":"WordPress\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5"},"content":{"rendered":"<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/gutenberg-wordpress-editor\/\">Gutenberg<\/a>\u304cWordPress\u306e\u6a19\u6e96\u30a8\u30c7\u30a3\u30bf\u30fc\u3068\u306a\u3063\u305f\u4eca\u3001\u30a6\u30a7\u30d6\u30c7\u30b6\u30a4\u30f3\u306e\u53ef\u80fd\u6027\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/fastest-wordpress-theme\/\">WordPress\u30c6\u30fc\u30de<\/a>\u306b\u7e1b\u3089\u308c\u307e\u305b\u3093\u3002WordPress\u306b\u306f\u3001\u512a\u308c\u305f\u30b5\u30a4\u30c8\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u306b\u5fc5\u8981\u306a\u30c7\u30b6\u30a4\u30f3\u30c4\u30fc\u30eb\u304c\u642d\u8f09\u3055\u308c\u3066\u304a\u308a\u3001\u30c6\u30fc\u30de\u306f\u30b5\u30a4\u30c8\u306e\u69cb\u7bc9\u3084\u30c7\u30b6\u30a4\u30f3\u6a5f\u80fd\u3092\u5f37\u5316\u3059\u308b\u76ee\u7684\u3067\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305d\u3057\u3066\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001\u30b5\u30a4\u30c8\u69cb\u7bc9\u3092\u3055\u3089\u306b\u5f37\u5316\u3057\u3066\u304f\u308c\u308b\u5b58\u5728\u3002<a href=\"https:\/\/ja.wordpress.org\/team\/handbook\/block-editor\/reference-guides\/block-api\/block-templates\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u30cf\u30f3\u30c9\u30d6\u30c3\u30af<\/a>\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8a18\u8f09\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<blockquote><p>\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u30d6\u30ed\u30c3\u30af\u30a2\u30a4\u30c6\u30e0\u306e\u30ea\u30b9\u30c8\u3068\u3057\u3066\u5b9a\u7fa9\u3055\u308c\u307e\u3059\u3002\u5b9a\u7fa9\u6e08\u307f\u306e\u5c5e\u6027\u3084\u30d7\u30ec\u30fc\u30b9\u30db\u30eb\u30c0\u30fc\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u542b\u3081\u308b\u3053\u3068\u304c\u3067\u304d\u3001\u9759\u7684\u306b\u3082\u52d5\u7684\u306b\u3082\u3067\u304d\u307e\u3059\u3002\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f7f\u7528\u3057\u3066\u3001\u30a8\u30c7\u30a3\u30bf\u30fc\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u521d\u671f\u72b6\u614b\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p><\/blockquote>\n<p>\u8a00\u3044\u63db\u3048\u308b\u306a\u3089\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u72b6\u614b\u3092\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u4e0a\u3067\u52d5\u7684\u306b\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u53ef\u80fd\u306a\u8907\u6570\u306e\u30d6\u30ed\u30c3\u30af\u30a2\u30a4\u30c6\u30e0\u306e\u4e00\u89a7\u3067\u3059\u3002<\/p>\n<p><strong>\ud83d\udc49 \u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u9055\u3044<\/strong><\/p>\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u306f\u3001<strong>index.php<\/strong>\u3001<strong>page.php<\/strong>\u3001<strong>single.php<\/strong>\u306a\u3069\u306ePHP\u30d5\u30a1\u30a4\u30eb\u3067\u3001<a href=\"https:\/\/kinsta.com\/blog\/wordpress-template-hierarchy\/\">WordPress\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u968e\u5c64\u306b\u5fdc\u3058\u3066<\/a>\u3001\u30af\u30e9\u30b7\u30c3\u30af\u30c6\u30fc\u30de\u3067\u3082\u30d6\u30ed\u30c3\u30af\u30c6\u30fc\u30de\u3067\u3082\u540c\u3058\u3088\u3046\u306b\u52d5\u4f5c\u3057\u307e\u3059\u3002\u30af\u30e9\u30b7\u30c3\u30af\u30c6\u30fc\u30de\u3067\u306f\u3001\u3053\u308c\u3089\u306e\u30d5\u30a1\u30a4\u30eb\u306fPHP\u3068HTML\u3067\u66f8\u304b\u308c\u3066\u304a\u308a\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30fc\u30de\u3067\u306f\u3059\u3079\u3066\u30d6\u30ed\u30c3\u30af\u3067\u69cb\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p><strong>\ud83d\udc49 \u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u30d6\u30ed\u30c3\u30af\u30d1\u30bf\u30fc\u30f3\u306e\u9055\u3044<\/strong><\/p>\n<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-patterns\/\">\u30d6\u30ed\u30c3\u30af\u30d1\u30bf\u30fc\u30f3<\/a>\u306f\u81ea\u5206\u3067\u30da\u30fc\u30b8\u306b\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001\u65b0\u898f\u6295\u7a3f\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u81ea\u52d5\u3067\u8aad\u307f\u8fbc\u307e\u308c\u307e\u3059\u3002<\/p>\n<p>\u307e\u305f\u3001\u7279\u5b9a\u306e\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u8a2d\u5b9a\u3057\u305f\u308a\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u4e00\u90e8\u306e\u30d6\u30ed\u30c3\u30af\u3084\u6a5f\u80fd\u3092\u30ed\u30c3\u30af\u3057\u3066\u30a8\u30e9\u30fc\u3092\u9632\u6b62\u3057\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u3002<\/p>\n<p>\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\u306f2\u901a\u308a\u3042\u308a\u3001<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/block-api\/block-templates\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d6\u30ed\u30c3\u30afAPI<\/a>\u3092\u4f7f\u7528\u3057\u3066PHP\u3067\u30d6\u30ed\u30c3\u30af\u30bf\u30a4\u30d7\u306e\u914d\u5217\u3092\u5ba3\u8a00\u3059\u308b\u304b\u3001<code>InnerBlocks<\/code>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div><\/div><kinsta-auto-toc heading=\"Table of Contents\" exclude=\"last\" list-style=\"arrow\" selector=\"h2\" count-number=\"-1\"><\/kinsta-auto-toc>\n<h2>PHP\u3092\u4f7f\u3063\u3066\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>\u5f93\u6765\u306e\u65b9\u6cd5\u3068\u3057\u3066\u306f\u3001\u30d7\u30e9\u30b0\u30a4\u30f3\u3084\u30c6\u30fc\u30de\u306e<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-functions-php\/\">functions.php<\/a>\u3092\u4f7f\u7528\u3057\u3066\u3001\u72ec\u81ea\u306e\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u4f7f\u3046\u5834\u5408\u306f\u3001\u4efb\u610f\u306e<a href=\"https:\/\/kinsta.com\/blog\/php-editor\/\">\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc<\/a>\u3092\u958b\u3044\u3066\u65b0\u898fPHP\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u8cbc\u308a\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-php\">&lt;?php\n\/*\n * Plugin Name:       My Block Templates\n * Plugin URI:        https:\/\/example.com\/\n * Description:       An example plugin\n * Version:           1.0\n * Requires at least: 5.5\n * Requires PHP:      8.0\n * Author:            Your name\n * Author URI:        https:\/\/author.example.com\/\n * License:           GPL v2 or later\n * License URI:       https:\/\/www.gnu.org\/licenses\/gpl-2.0.html\n * Update URI:        https:\/\/example.com\/my-plugin\/\n *\/\n\nfunction myplugin_register_my_block_template() {\n\t$post_type_object = get_post_type_object( 'post' );\n\t$post_type_object-&gt;template = array(\n\t\tarray( 'core\/image' ),\n\t\tarray( 'core\/heading' ),\n\t\tarray( 'core\/paragraph' )\n\t);\n}\nadd_action( 'init', 'myplugin_register_my_block_template' );<\/code><\/pre>\n<p>\u4e0a\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/get_post_type_object\/\" target=\"_blank\" rel=\"noopener noreferrer\"><code>get_post_type_object<\/code><\/a>\u304c\u540d\u524d\u3067\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d5\u30a1\u30a4\u30eb\u3092<strong>wp-content\/plugins<\/strong>\u30d5\u30a9\u30eb\u30c0\u306b\u4fdd\u5b58\u3057\u305f\u3089\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-admin\/\">WordPress\u7ba1\u7406\u753b\u9762<\/a>\u306e\u300c\u30d7\u30e9\u30b0\u30a4\u30f3\u300d\u753b\u9762\u306b\u79fb\u52d5\u3057\u3066\u3001<strong>My Block Templates<\/strong>\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u6709\u52b9\u5316\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u65b0\u898f\u6295\u7a3f\u3092\u4f5c\u6210\u3059\u308b\u3068\u3001\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u753b\u50cf\u30d6\u30ed\u30c3\u30af\u3001\u898b\u51fa\u3057\u3001\u6bb5\u843d\u3092\u542b\u3080\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_161425\" aria-describedby=\"caption-attachment-161425\" style=\"width: 1984px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161425 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/block-template.jpg\" alt=\"\u6295\u7a3f\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u81ea\u52d5\u7684\u306b\u8aad\u307f\u8fbc\u307e\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\" width=\"1984\" height=\"1220\"><figcaption id=\"caption-attachment-161425\" class=\"wp-caption-text\">\u6295\u7a3f\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u81ea\u52d5\u7684\u306b\u8aad\u307f\u8fbc\u307e\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/figcaption><\/figure>\n<p>\u30d6\u30ed\u30c3\u30af\u3054\u3068\u306b\u8a2d\u5b9a\u3092\u8ffd\u52a0\u3057\u305f\u308a\u3001\u30d6\u30ed\u30c3\u30af\u306e\u5165\u308c\u5b50\u69cb\u9020\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u5185\u90e8\u30d6\u30ed\u30c3\u30af\u3068\u8a2d\u5b9a\u3092\u542b\u3080\u3088\u308a\u9ad8\u5ea6\u306a\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u30b3\u30fc\u30c9\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function myplugin_register_my_block_template() {\n\n\t$block_template = array(\n\t\tarray( 'core\/image' ),\n\t\tarray( 'core\/heading', array(\n\t\t\t'placeholder'\t=&gt; 'Add H2...',\n\t\t\t'level'\t\t\t=&gt; 2\n\t\t) ),\n\t\tarray( 'core\/paragraph', array(\n\t\t\t'placeholder'\t=&gt; 'Add paragraph...'\n\t\t\t\n\t\t) ),\n\t\tarray( 'core\/columns', \n\t\t\tarray(), \n\t\t\tarray( \n\t\t\t\tarray( 'core\/column',\n\t\t\t\t\tarray(),\n\t\t\t\t\tarray(\n\t\t\t\t\t\tarray( 'core\/image' )\n\t\t\t\t\t)\n\t\t\t\t), \n\t\t\t\tarray( 'core\/column',\n\t\t\t\t\tarray(),\n\t\t\t\t\tarray(\n\t\t\t\t\t\tarray( 'core\/heading', array(\n\t\t\t\t\t\t\t'placeholder'\t=&gt; 'Add H3...',\n\t\t\t\t\t\t\t'level'\t\t\t=&gt; 3\n\t\t\t\t\t\t) ),\n\t\t\t\t\t\tarray( 'core\/paragraph', array(\n\t\t\t\t\t\t\t'placeholder'\t=&gt; 'Add paragraph...'\n\t\t\t\t\t\t) )\n\t\t\t\t\t) \n\t\t\t\t)\n\t\t\t) \n\t\t)\n\t);\n\t$post_type_object = get_post_type_object( 'post' );\n\t$post_type_object-&gt;template = $block_template;\n}\nadd_action( 'init', 'myplugin_register_my_block_template' );<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_161426\" aria-describedby=\"caption-attachment-161426\" style=\"width: 2124px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161426 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/block-template-2.jpg\" alt=\"\u3088\u308a\u9ad8\u5ea6\u306a\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\" width=\"2124\" height=\"1432\"><figcaption id=\"caption-attachment-161426\" class=\"wp-caption-text\">\u3088\u308a\u9ad8\u5ea6\u306a\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/figcaption><\/figure>\n<p>\u3053\u3053\u307e\u3067\u306f\u30b3\u30a2\u30d6\u30ed\u30c3\u30af\u306e\u307f\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b<a href=\"https:\/\/kinsta.com\/jp\/blog\/gutenberg-blocks\/\">\u30ab\u30b9\u30bf\u30e0\u30d6\u30ed\u30c3\u30af<\/a>\u3084<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-patterns\/\">\u30d6\u30ed\u30c3\u30af\u30d1\u30bf\u30fc\u30f3<\/a>\u3092\u52a0\u3048\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function myplugin_register_my_block_template() {\n\t$post_type_object = get_post_type_object( 'page' );\n\t$post_type_object-&gt;template = array(\n\t\tarray( 'core\/pattern', array(\n\t\t\t'slug' =&gt; 'my-plugin\/my-block-pattern'\n\t\t) ) \n\t);\n}\nadd_action( 'init', 'myplugin_register_my_block_template' );<\/code><\/pre>\n<p>\u65e2\u5b58\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u7528\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u3082\u3001\u307b\u307c\u540c\u69d8\u306e\u624b\u9806\u306b\u306a\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001<code>get_post_type_object<\/code>\u306e\u6295\u7a3f\u30bf\u30a4\u30d7\u3092\u7f6e\u304d\u63db\u3048\u308b\u3060\u3051\u3067OK\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">&lt;?php\nfunction myplugin_register_my_block_template() {\n\t$post_type_object = get_post_type_object( 'book' );\n\t$post_type_object-&gt;template = array(\n\t\tarray( 'core\/image' ),\n\t\tarray( 'core\/heading' ),\n\t\tarray( 'core\/paragraph' )\n\t);\n}\nadd_action( 'init', 'myplugin_register_my_block_template' );<\/code><\/pre>\n<p>\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4f5c\u6210\u65b9\u6cd5\u3092\u62bc\u3055\u3048\u305f\u3068\u3053\u308d\u3067\u3001\u3088\u308a\u5177\u4f53\u7684\u306a\u4f7f\u7528\u4f8b\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<div><\/div><kinsta-auto-toc list-style=\"decimal\" selector=\"h3\" count-number=\"5\" sub-toc=\"true\"><\/kinsta-auto-toc>\n<h3>\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/h3>\n<p>\u524d\u8ff0\u3057\u305f\u3068\u304a\u308a\u3001\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u3067\u4f7f\u7528\u3059\u308b\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3059\u3067\u306b\u4f5c\u6210\u6e08\u307f\u306e\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u5f8c\u304b\u3089\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u304c\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-custom-post-types\/\">\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u4f5c\u6210<\/a>\u6642\u306b\u4e00\u7dd2\u306b\u5b9a\u7fa9\u3059\u308b\u306e\u304c\u304a\u3059\u3059\u3081\u3067\u3059\u3002<\/p>\n<p>\u3053\u306e\u5834\u5408\u3001<code>template<\/code>\u3068<code>template_lock<\/code>\u5f15\u6570\u306e<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/register_post_type\/\" target=\"_blank\" rel=\"noopener noreferrer\"><code>register_post_type<\/code><\/a>\u95a2\u6570\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function myplugin_register_book_post_type() {\n\t$args = array(\n\t\t'label' =&gt; esc_html__( 'Books' ),\n\t\t'labels' =&gt; array(\n\t\t\t'name' =&gt; esc_html__( 'Books' ),\n\t\t\t'singular_name' =&gt; esc_html__( 'Book' ),\n\t\t),\n\t\t'public' =&gt; true,\n\t\t'publicly_queryable' =&gt; true,\n\t\t'show_ui' =&gt; true,\n\t\t'show_in_rest' =&gt; true,\n\t\t'rest_namespace' =&gt; 'wp\/v2',\n\t\t'has_archive' =&gt; true,\n\t\t'show_in_menu' =&gt; true,\n\t\t'show_in_nav_menus' =&gt; true,\n\t\t'supports' =&gt; array( 'title', 'editor', 'thumbnail' ),\n\t\t'template' =&gt; array(\n\t\t\tarray( 'core\/paragraph', array(\n\t\t\t\t'placeholder'\t=&gt; 'Add paragraph...'\n\t\t\t) ),\n\t\t\tarray( 'core\/columns', \n\t\t\t\tarray(), \n\t\t\t\tarray( \n\t\t\t\t\tarray( 'core\/column',\n\t\t\t\t\t\tarray(),\n\t\t\t\t\t\tarray(\n\t\t\t\t\t\t\tarray( 'core\/image' )\n\t\t\t\t\t\t)\n\t\t\t\t\t), \n\t\t\t\t\tarray( 'core\/column',\n\t\t\t\t\t\tarray(),\n\t\t\t\t\t\tarray(\n\t\t\t\t\t\t\tarray( 'core\/heading', array(\n\t\t\t\t\t\t\t\t'placeholder'\t=&gt; 'Add H3...',\n\t\t\t\t\t\t\t\t'level'\t\t\t=&gt; 3\n\t\t\t\t\t\t\t) ),\n\t\t\t\t\t\t\tarray( 'core\/paragraph', array(\n\t\t\t\t\t\t\t\t'placeholder'\t=&gt; 'Add paragraph...'\n\t\t\t\t\t\t\t) )\n\t\t\t\t\t\t) \n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t)\n\t);\n\tregister_post_type( 'book', $args );\n}\nadd_action( 'init', 'myplugin_register_book_post_type' );<\/code><\/pre>\n<p>\u4ee5\u4e0a\u3067\u5b8c\u4e86\u3067\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u8868\u793a\u3055\u308c\u308b\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u300cBook\u300d\u306e\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4f8b\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_161428\" aria-describedby=\"caption-attachment-161428\" style=\"width: 2124px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161428 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/cpt-block-template.jpg\" alt=\"\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\" width=\"2124\" height=\"1038\"><figcaption id=\"caption-attachment-161428\" class=\"wp-caption-text\">\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306e\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/figcaption><\/figure>\n<p>\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u5b8c\u6210\u3057\u305f\u3089\u3001\u30d6\u30ed\u30c3\u30af\u8a2d\u5b9a\u3067\u52d5\u4f5c\u3084\u898b\u305f\u76ee\u3092\u5fae\u8abf\u6574\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<h3>\u30d6\u30ed\u30c3\u30af\u5c5e\u6027\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u5fae\u8abf\u6574\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u30d6\u30ed\u30c3\u30af\u306e\u30ea\u30b9\u30c8\u3068\u3057\u3066\u5b9a\u7fa9\u3057\u305f\u3089\u3001\u30ea\u30b9\u30c8\u306e\u5404\u9805\u76ee\u306b\u30d6\u30ed\u30c3\u30af\u540d\u3068\u4efb\u610f\u306e\u5c5e\u6027\u306e\u914d\u5217\u304c\u5fc5\u8981\u3067\u3059\u3002\u5165\u308c\u5b50\u306b\u306a\u3063\u305f\u914d\u5217\u3067\u306f\u3001\u5b50\u30d6\u30ed\u30c3\u30af\u7528\u306b3\u3064\u76ee\u306e\u914d\u5217\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<p>Columns\u30d6\u30ed\u30c3\u30af\u3092\u6301\u3064\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">$template = array( 'core\/columns', \n\t\/\/ attributes\n\tarray(), \n\t\/\/ nested blocks\n\tarray(\n\t\tarray( 'core\/column' ),\n\t\tarray( 'core\/column' ) \n\t) \n);<\/code><\/pre>\n<p>2\u884c\u76ee\u306f\u30d6\u30ed\u30c3\u30af\u5c5e\u6027\uff08\u4efb\u610f\uff09\u306e\u914d\u5217\u3067\u3059\u3002\u3053\u306e\u5c5e\u6027\u3067\u306b\u3088\u3063\u3066\u3001\u30da\u30fc\u30b8\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3084\u30c7\u30b6\u30a4\u30f3\u3092\u6c17\u306b\u305b\u305a\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u57f7\u7b46\u306b\u96c6\u4e2d\u3067\u304d\u308b\u3088\u3046\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u5916\u89b3\u3092\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u624b\u59cb\u3081\u306b\u3001\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u4f7f\u3063\u3066\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u57fa\u76e4\u3068\u306a\u308b\u30d6\u30ed\u30c3\u30af\u69cb\u9020\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<figure id=\"attachment_161769\" aria-describedby=\"caption-attachment-161769\" style=\"width: 2118px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161769 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/a-block-layout.jpg\" alt=\"\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30d6\u30ed\u30c3\u30af\u30ec\u30a4\u30a2\u30a6\u30c8\" width=\"2118\" height=\"1066\"><figcaption id=\"caption-attachment-161769\" class=\"wp-caption-text\">\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30d6\u30ed\u30c3\u30af\u30ec\u30a4\u30a2\u30a6\u30c8<\/figcaption><\/figure>\n<p>\u30d6\u30ed\u30c3\u30af\u3092\u8ffd\u52a0\u3057\u3001\u30ec\u30a4\u30a2\u30a6\u30c8\u3068\u30b9\u30bf\u30a4\u30eb\u3092\u7de8\u96c6\u3057\u3066\u304b\u3089\u3001\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u5207\u308a\u66ff\u3048\u3066\u30d6\u30ed\u30c3\u30af\u30c7\u30ea\u30df\u30bf\u3092\u898b\u3064\u3051\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_161770\" aria-describedby=\"caption-attachment-161770\" style=\"width: 2042px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161770 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/block-delimiter.jpg\" alt=\"Columns\u30d6\u30ed\u30c3\u30af\u306e\u30d6\u30ed\u30c3\u30af\u30c7\u30ea\u30df\u30bf\" width=\"2042\" height=\"248\"><figcaption id=\"caption-attachment-161770\" class=\"wp-caption-text\">Columns\u30d6\u30ed\u30c3\u30af\u306e\u30d6\u30ed\u30c3\u30af\u30c7\u30ea\u30df\u30bf<\/figcaption><\/figure>\n<p>\u30d6\u30ed\u30c3\u30af\u30c7\u30ea\u30df\u30bf\u306f\u3001\u30d6\u30ed\u30c3\u30af\u306e\u8a2d\u5b9a\u3068\u30b9\u30bf\u30a4\u30eb\u3092\u30ad\u30fc\u3068\u5024\u306e\u30da\u30a2\u3067\u4fdd\u5b58\u3057\u307e\u3059\u3002\u30d6\u30ed\u30c3\u30af\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u304b\u3089\u30ad\u30fc\u3068\u5024\u3092\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3059\u308b\u3060\u3051\u3067\u3001\u5c5e\u6027\u306e\u914d\u5217\u306b\u8ffd\u52a0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">$template = array( 'core\/columns', \n\tarray(\n\t\t'verticalAlignment'\t=&gt; 'center',\n\t\t'align'\t\t\t\t=&gt; 'wide',\n\t\t'style'\t\t\t\t=&gt; array( \n\t\t\t'border'\t=&gt; array(\n\t\t\t\t'width'\t=&gt; '2px',\n\t\t\t\t'radius'\t=&gt; array(\n\t\t\t\t\t'topLeft'\t\t=&gt; '12px', \n\t\t\t\t\t'topRight'\t\t=&gt; '12px', \n\t\t\t\t\t'bottomLeft'\t=&gt; '12px', \n\t\t\t\t\t'bottomRight'\t=&gt; '12px'\n\t\t\t\t)\n\t\t\t)\n\t\t),\n\t\t'backgroundColor' =&gt; 'tertiary'\n\t),\n\tarray(\n\t\tarray( 'core\/column' ),\n\t\tarray( 'core\/column' ) \n\t) \n);<\/code><\/pre>\n<p>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u306e\u5404\u30d6\u30ed\u30c3\u30af\u3067\u540c\u3058\u4f5c\u696d\u3092\u7e70\u308a\u8fd4\u3057\u884c\u3048\u3070\u5b8c\u4e86\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">$template = array(\n\tarray( 'core\/paragraph', array(\n\t\t'placeholder'\t=&gt; 'Add paragraph...'\n\t) ),\n\tarray( 'core\/columns', \n\t\tarray(\n\t\t\t'verticalAlignment'\t=&gt; 'center',\n\t\t\t'align'\t\t\t\t=&gt; 'wide',\n\t\t\t'style'\t\t\t\t=&gt; array( \n\t\t\t\t'border'\t=&gt; array(\n\t\t\t\t\t'width'\t\t=&gt; '2px',\n\t\t\t\t\t'radius'\t=&gt; array(\n\t\t\t\t\t\t'topLeft'\t\t=&gt; '12px', \n\t\t\t\t\t\t'topRight'\t\t=&gt; '12px', \n\t\t\t\t\t\t'bottomLeft'\t=&gt; '12px', \n\t\t\t\t\t\t'bottomRight'\t=&gt; '12px'\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t),\n\t\t\t'backgroundColor' =&gt; 'tertiary',\n\t\t\t'lock' =&gt; array(\n\t\t\t\t'remove'\t=&gt; true,\n\t\t\t\t'move'\t\t=&gt; true\n\t\t\t)\n\t\t), \n\t\tarray( \n\t\t\tarray( 'core\/column',\n\t\t\t\tarray( 'verticalAlignment'\t=&gt; 'center' ),\n\t\t\t\tarray(\n\t\t\t\t\tarray( 'core\/image', \n\t\t\t\t\t\tarray(\n\t\t\t\t\t\t\t'style'\t=&gt; array( 'border' =&gt; array( 'radius' =&gt; '8px' ) ) \n\t\t\t\t\t\t) \n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t), \n\t\t\tarray( 'core\/column',\n\t\t\t\tarray( 'verticalAlignment'\t=&gt; 'center' ),\n\t\t\t\tarray(\n\t\t\t\t\tarray( 'core\/heading', array(\n\t\t\t\t\t\t'placeholder'\t=&gt; 'Add H3...',\n\t\t\t\t\t\t'level'\t\t\t=&gt; 3\n\t\t\t\t\t) ),\n\t\t\t\t\tarray( 'core\/paragraph', array(\n\t\t\t\t\t\t'placeholder'\t=&gt; 'Add paragraph...'\n\t\t\t\t\t) )\n\t\t\t\t) \n\t\t\t)\n\t\t)\n\t)\n);<\/code><\/pre>\n<h3>\u30d6\u30ed\u30c3\u30af\u306e\u30ed\u30c3\u30af<\/h3>\n<p><code>$post_type_object<\/code>\u306e<code>template_lock<\/code>\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4f7f\u3063\u3066\u3001\u7279\u5b9a\u306e\u30d6\u30ed\u30c3\u30af\u307e\u305f\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u542b\u307e\u308c\u308b\u3059\u3079\u3066\u306e\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30c3\u30af\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u305f\u3068\u3048\u3070\u6295\u7a3f\u8005\u304c\u8907\u6570\u3044\u308b\u30d6\u30ed\u30b0\u30b5\u30a4\u30c8\u3067\u3001\u5168\u54e1\u307e\u305f\u306f\u7279\u5b9a\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u5909\u66f4\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u8a2d\u5b9a\u3059\u308b\u306e\u306b\u975e\u5e38\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u306e\u3059\u3079\u3066\u306e\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30c3\u30af\u3059\u308b\u30b3\u30fc\u30c9\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function myplugin_register_my_block_template() {\n\t$post_type_object = get_post_type_object( 'post' );\n\t$post_type_object-&gt;template = array(\n\t\tarray( 'core\/image' ),\n\t\tarray( 'core\/heading' ),\n\t\tarray( 'core\/paragraph' )\n\t);\n\t$post_type_object-&gt;template_lock = 'all';\n}\nadd_action( 'init', 'myplugin_register_my_block_template' );<\/code><\/pre>\n<p>\u30ed\u30c3\u30af\u3055\u308c\u305f\u30d6\u30ed\u30c3\u30af\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30d6\u30ed\u30c3\u30af\u30c4\u30fc\u30eb\u30d0\u30fc\u3068\u30ea\u30b9\u30c8\u30d3\u30e5\u30fc\u3067\u9375\u306e\u30a2\u30a4\u30b3\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_161430\" aria-describedby=\"caption-attachment-161430\" style=\"width: 1798px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161430 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/locked-block.jpg\" alt=\"\u30ed\u30c3\u30af\u3055\u308c\u305f\u898b\u51fa\u3057\u30d6\u30ed\u30c3\u30af\" width=\"1798\" height=\"1050\"><figcaption id=\"caption-attachment-161430\" class=\"wp-caption-text\">\u30ed\u30c3\u30af\u3055\u308c\u305f\u898b\u51fa\u3057\u30d6\u30ed\u30c3\u30af<\/figcaption><\/figure>\n<p>\u30d6\u30ed\u30c3\u30af\u306e\u30ed\u30c3\u30af\u306f\u3001\u30d6\u30ed\u30c3\u30af\u30c4\u30fc\u30eb\u30d0\u30fc\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u30e1\u30cb\u30e5\u30fc\u3067\u89e3\u9664\u53ef\u80fd\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_161431\" aria-describedby=\"caption-attachment-161431\" style=\"width: 1368px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161431 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/unlock-block.jpg\" alt=\"\u30d6\u30ed\u30c3\u30af\u306e\u30ed\u30c3\u30af\u3092\u89e3\u9664\" width=\"1368\" height=\"1120\"><figcaption id=\"caption-attachment-161431\" class=\"wp-caption-text\">\u30d6\u30ed\u30c3\u30af\u306e\u30ed\u30c3\u30af\u3092\u89e3\u9664<\/figcaption><\/figure>\n<p>\u300c<strong>\u30ed\u30c3\u30af\u89e3\u9664<\/strong>\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30e2\u30fc\u30c0\u30eb\u30dd\u30c3\u30d7\u30a2\u30c3\u30d7\u304c\u8868\u793a\u3055\u308c\u3001\u79fb\u52d5\u306e\u6709\u52b9\u30fb\u7121\u52b9\u5316\u3001\u524a\u9664\u3092\u9632\u6b62\u3001\u307e\u305f\u306f\u305d\u306e\u4e21\u65b9\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_161433\" aria-describedby=\"caption-attachment-161433\" style=\"width: 1368px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161433 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/unlock-block-2.jpg\" alt=\"\u30ed\u30c3\u30af\u8a2d\u5b9a\" width=\"1368\" height=\"1120\"><figcaption id=\"caption-attachment-161433\" class=\"wp-caption-text\">\u30ed\u30c3\u30af\u8a2d\u5b9a<\/figcaption><\/figure>\n<p><code>template_lock<\/code>\u306f\u3001<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/block-api\/block-templates\/#locking\" target=\"_blank\" rel=\"noopener noreferrer\">\u4ee5\u4e0b<\/a>\u306e\u3044\u305a\u308c\u304b\u306e\u5024\u3092\u53d6\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>all<\/code>\u2500\u65b0\u898f\u30d6\u30ed\u30c3\u30af\u306e\u8ffd\u52a0\u3001\u65e2\u5b58\u30d6\u30ed\u30c3\u30af\u306e\u79fb\u52d5\u3084\u524a\u9664\u3092\u9632\u6b62<\/li>\n<li><code>insert<\/code>\u2500\u65b0\u898f\u30d6\u30ed\u30c3\u30af\u306e\u8ffd\u52a0\u3001\u65e2\u5b58\u30d6\u30ed\u30c3\u30af\u306e\u524a\u9664\u3092\u9632\u6b62<\/li>\n<li><code>contentOnly<\/code>\u2500\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u542b\u307e\u308c\u308b\u30d6\u30ed\u30c3\u30af\u306e\u5185\u5bb9\u306e\u307f\u7de8\u96c6\u3002<code>contentOnly<\/code>\u306f\u3001\u30d1\u30bf\u30fc\u30f3\u307e\u305f\u306f\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5358\u4f4d\u3067\u306e\u307f\u4f7f\u7528\u3067\u304d\u3001\u30b3\u30fc\u30c9\u3067\u306e\u7ba1\u7406\u304c\u5fc5\u8981\uff08<a href=\"https:\/\/developer.wordpress.org\/block-editor\/how-to-guides\/curating-the-editor-experience\/#locking-apis\" target=\"_blank\" rel=\"noopener noreferrer\">API\u306e\u30ed\u30c3\u30af\u306b\u3064\u3044\u3066\u306f\u3053\u3061\u3089<\/a>\uff09\u3002<\/li>\n<\/ul>\n<figure id=\"attachment_161435\" aria-describedby=\"caption-attachment-161435\" style=\"width: 2370px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161435 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/prevent-removal.jpg\" alt=\"template_lock\u3092\u8a2d\u5b9a\u3057\u3066\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d6\u30ed\u30c3\u30af\u306e\u524a\u9664\u3092\u9632\u6b62\" width=\"2370\" height=\"1410\"><figcaption id=\"caption-attachment-161435\" class=\"wp-caption-text\">template_lock\u3092\u8a2d\u5b9a\u3057\u3066\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d6\u30ed\u30c3\u30af\u306e\u524a\u9664\u3092\u9632\u6b62<\/figcaption><\/figure>\n<p>\u7279\u5b9a\u306e\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30c3\u30af\u3059\u308b\u306b\u306f\u3001\u5404\u30d6\u30ed\u30c3\u30af\u306b<code>lock<\/code>\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function myplugin_register_my_block_template() {\n\t$post_type_object = get_post_type_object( 'post' );\n\t$post_type_object-&gt;template = array(\n\t\tarray( 'core\/image' ),\n\t\tarray( 'core\/heading' ),\n\t\tarray( 'core\/paragraph', array(\n\t\t\t'lock' =&gt; array(\n\t\t\t\t'remove'\t=&gt; true,\n\t\t\t\t'move'\t\t=&gt; true\n\t\t\t)\n\t\t) )\n\t);\n}\nadd_action( 'init', 'myplugin_register_my_block_template' );<\/code><\/pre>\n<p><code>lock<\/code>\u5c5e\u6027\u306f<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/block-api\/block-templates\/#individual-block-locking\" target=\"_blank\" rel=\"noopener noreferrer\">\u4ee5\u4e0b<\/a>\u306e\u3044\u305a\u308c\u304b\u306e\u5024\u3092\u53d6\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>remove<\/code>\u2500\u30d6\u30ed\u30c3\u30af\u306e\u524a\u9664\u3092\u9632\u6b62<\/li>\n<li><code>move<\/code>\u2500\u30d6\u30ed\u30c3\u30af\u306e\u79fb\u52d5\u3092\u9632\u6b62<\/li>\n<\/ul>\n<p>\u307e\u305f\u3001<code>lock<\/code>\u3068<code>template_lock<\/code>\u3092\u4f75\u7528\u3059\u308b\u3053\u3068\u3067\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30d6\u30ed\u30c3\u30af\u306e\u52d5\u4f5c\u3092\u5fae\u8abf\u6574\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u898b\u51fa\u3057\u4ee5\u5916\u306e\u30d6\u30ed\u30c3\u30af\u3092\u3059\u3079\u3066\u30ed\u30c3\u30af\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">function myplugin_register_my_block_template() {\n\t$post_type_object = get_post_type_object( 'post' );\n\t$post_type_object-&gt;template = array(\n\t\tarray( 'core\/image' ),\n\t\tarray( 'core\/heading', array(\n\t\t\t'lock' =&gt; array(\n\t\t\t\t'remove'\t=&gt; false,\n\t\t\t\t'move'\t\t=&gt; false\n\t\t\t) \n\t\t) ),\n\t\tarray( 'core\/paragraph' )\n\t);\n\t$post_type_object-&gt;template_lock = 'all';\n}\nadd_action( 'init', 'myplugin_register_my_block_template' );<\/code><\/pre>\n<p>\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u898b\u51fa\u3057\u30d6\u30ed\u30c3\u30af\u306e\u30ed\u30c3\u30af\u304c\u89e3\u9664\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_161437\" aria-describedby=\"caption-attachment-161437\" style=\"width: 1800px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161437 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/unlocked-heading.jpg\" alt=\"\u30ed\u30c3\u30af\u3055\u308c\u305f\u30d6\u30ed\u30c3\u30af\u3068\u30ed\u30c3\u30af\u304c\u89e3\u9664\u3055\u308c\u305f\u30d6\u30ed\u30c3\u30af\" width=\"1800\" height=\"1080\"><figcaption id=\"caption-attachment-161437\" class=\"wp-caption-text\">\u30ed\u30c3\u30af\u3055\u308c\u305f\u30d6\u30ed\u30c3\u30af\u3068\u30ed\u30c3\u30af\u304c\u89e3\u9664\u3055\u308c\u305f\u30d6\u30ed\u30c3\u30af<\/figcaption><\/figure>\n<p>\u30d6\u30ed\u30c3\u30af\u958b\u767a\u8005\u306f\u3001<code>attributes<\/code>\u30ec\u30d9\u30eb\u306e\u30d6\u30ed\u30c3\u30af\u5b9a\u7fa9\u3067<code>lock<\/code>\u5c5e\u6027\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\uff08<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/block-api\/block-templates\/#individual-block-locking\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d6\u30ed\u30c3\u30af\u3092\u500b\u5225\u306b\u30ed\u30c3\u30af\u3059\u308b\u65b9\u6cd5\u306f\u3053\u3061\u3089<\/a>\uff09\u3002<\/p>\n<h3>\u30d6\u30ed\u30c3\u30af\u306e\u30ed\u30c3\u30af\u3092\u89e3\u9664\u3067\u304d\u306a\u3044\u3088\u3046\u306b\u3059\u308b\u65b9\u6cd5<\/h3>\n<p>\u3053\u3053\u307e\u3067\u306b\u3054\u7d39\u4ecb\u3057\u305f\u30b3\u30fc\u30c9\u3092\u5b9f\u969b\u306b\u30c6\u30b9\u30c8\u3059\u308b\u3068\u3001\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u30a4\u30f3\u30bf\u30fc\u30d5\u30a7\u30fc\u30b9\u304b\u3089\u30d6\u30ed\u30c3\u30af\u306e\u30ed\u30c3\u30af\u3092\u89e3\u9664\u3067\u304d\u308b\u3053\u3068\u306b\u304a\u6c17\u3065\u304d\u3067\u3057\u3087\u3046\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u7de8\u96c6\u6a29\u9650\u3092\u6301\u3064\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30c3\u30af\u307e\u305f\u306f\u30ed\u30c3\u30af\u89e3\u9664\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30c3\u30af\u3059\u308b\u304b\u30ed\u30c3\u30af\u89e3\u9664\u3059\u308b\u304b\u306f\u3001<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/filters\/editor-filters\/#block_editor_settings_all\" target=\"_blank\" rel=\"noopener noreferrer\"><code>block_editor_settings_all<\/code><\/a>\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u4f7f\u7528\u3057\u3066\u5236\u5fa1\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<blockquote><p>\u30d5\u30a3\u30eb\u30bf\u30fc\u306f\u3001\u521d\u671f\u5316\u3055\u308c\u305f\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u3042\u3089\u3086\u308b\u8a2d\u5b9a\u3092\u9001\u4fe1\u3057\u307e\u3059\u3002\u3064\u307e\u308a\u3001\u521d\u671f\u5316\u6642\u306b\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u8a2d\u5b9a\u306b\u4f7f\u7528\u3055\u308c\u308b\u3042\u3089\u3086\u308b\u8a2d\u5b9a\u306f\u3001\u9001\u4fe1\u524d\u306bPHP WordPress\u30d7\u30e9\u30b0\u30a4\u30f3\u306b\u3088\u3063\u3066\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3055\u308c\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002\uff08\u82f1\u8a9e\u539f\u6587\u306e\u65e5\u672c\u8a9e\u8a33\uff09<\/p><\/blockquote>\n<p>\u3053\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u3067\u4f7f\u7528\u3059\u308b\u30b3\u30fc\u30eb\u30d0\u30c3\u30af\u95a2\u6570\u306f\u3001\u4ee5\u4e0b2\u3064\u306e\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002<\/p>\n<ul>\n<li><code>$settings<\/code>\u2500\u30a8\u30c7\u30a3\u30bf\u30fc\u8a2d\u5b9a\u306e\u914d\u5217<\/li>\n<li><code>$context<\/code>\u2500<a href=\"https:\/\/developer.wordpress.org\/reference\/classes\/wp_block_editor_context\/\" target=\"_blank\" rel=\"noopener noreferrer\"><code>WP_Block_Editor_Context<\/code><\/a>\u30af\u30e9\u30b9\u306e\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u4e2d\u306e\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u95a2\u3059\u308b\u60c5\u5831\u3092\u542b\u3080\u30aa\u30d6\u30b8\u30a7\u30af\u30c8<\/li>\n<\/ul>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b<code>$settings['canLockBlocks']<\/code>\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3057\u3001<code>true<\/code>\u307e\u305f\u306f<code>false<\/code>\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-php\">add_filter( 'block_editor_settings_all', \n\tfunction( $settings, $context ) {\n\t\tif ( $context-&gt;post && 'book' === $context-&gt;post-&gt;post_type ) {\n\t\t\t$settings['canLockBlocks'] = false;\n\t\t}\n\t\treturn $settings;\n\t}, 10, 2\n);<\/code><\/pre>\n<p>\u73fe\u5728\u306e<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-user-roles\/\">\u30e6\u30fc\u30b6\u30fc\u6a29\u9650<\/a>\u3092\u6761\u4ef6\u4ed8\u304d\u3067\u78ba\u8a8d\u3059\u308b\u3053\u3068\u3067\u3001\u7279\u5b9a\u306e\u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u304b\u3089\u30d6\u30ed\u30c3\u30af\u306e\u30ed\u30c3\u30af\u3001\u30ed\u30c3\u30af\u89e3\u9664\u3092\u9664\u5916\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001<a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/current_user_can\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u73fe\u5728\u4f5c\u696d\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc<\/a>\u304c\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u306e\u6295\u7a3f\u3092\u7de8\u96c6\u3067\u304d\u308b\u304b\u3069\u3046\u304b\uff08\u73fe\u5728\u4f5c\u696d\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306e\u6a29\u9650\u304c\u300c\u7de8\u96c6\u8005\u300d\u4ee5\u4e0a\u304b\u3069\u3046\u304b\uff09\u3092\u30c1\u30a7\u30c3\u30af\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">add_filter( 'block_editor_settings_all', \n\tfunction( $settings, $context ) {\n\t\tif ( $context-&gt;post && 'book' === $context-&gt;post-&gt;post_type ) {\n\t\t\t$settings['canLockBlocks'] = current_user_can( 'edit_others_posts' );\n\t\t}\n\t\treturn $settings;\n\t}, 10, 2\n);<\/code><\/pre>\n<p>\u7ba1\u7406\u8005\u3068\u6295\u7a3f\u8005\u306e\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u5916\u89b3\u3092\u6bd4\u8f03\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4ee5\u4e0b\u306f\u7ba1\u7406\u8005\u306e\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u3059\u3002<\/p>\n<figure id=\"attachment_161440\" aria-describedby=\"caption-attachment-161440\" style=\"width: 2124px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161440 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/initial-state-for-admin.jpg\" alt=\"\u7ba1\u7406\u8005\u306b\u8868\u793a\u3055\u308c\u308b\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u5916\u89b3\" width=\"2124\" height=\"1388\"><figcaption id=\"caption-attachment-161440\" class=\"wp-caption-text\">\u7ba1\u7406\u8005\u306b\u8868\u793a\u3055\u308c\u308b\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u5916\u89b3<\/figcaption><\/figure>\n<p>\u6295\u7a3f\u8005\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_161442\" aria-describedby=\"caption-attachment-161442\" style=\"width: 2126px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161442 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/initial-state-for-author.jpg\" alt=\"\u6295\u7a3f\u8005\u306b\u8868\u793a\u3055\u308c\u308b\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u5916\u89b3\" width=\"2126\" height=\"1378\"><figcaption id=\"caption-attachment-161442\" class=\"wp-caption-text\">\u6295\u7a3f\u8005\u306b\u8868\u793a\u3055\u308c\u308b\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u5916\u89b3<\/figcaption><\/figure>\n<p>\u307e\u305f\u3001\u73fe\u5728\u4f5c\u696d\u3057\u3066\u3044\u308b\u30e6\u30fc\u30b6\u30fc\u306b\u95a2\u3059\u308b\u3042\u3089\u3086\u308b\u6761\u4ef6\u3092\u78ba\u8a8d\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306f\u3001<a href=\"https:\/\/make.wordpress.org\/core\/2022\/05\/05\/block-locking-settings-in-wordpress-6-0\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u7279\u5b9a\u30e6\u30fc\u30b6\u30fc\u304c\u30d6\u30ed\u30c3\u30af\u3092\u30ed\u30c3\u30af\/\u30ed\u30c3\u30af\u89e3\u9664\u3067\u304d\u306a\u3044<\/a>\u3088\u3046\u306b\u3059\u308b\u3082\u306e\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-php\">add_filter( 'block_editor_settings_all', \n\tfunction( $settings, $context ) {\n\t\t$user = wp_get_current_user();\n\t\tif ( in_array( $user-&gt;user_email, [ 'email@example.com' ], true ) ) {\n\t\t\t$settings['canLockBlocks'] = false;\n\t\t}\n\t\treturn $settings;\n\t}, 10, 2\n);<\/code><\/pre>\n<p>\u3055\u3089\u306b\u6761\u4ef6\u3092\u7d44\u307f\u5408\u308f\u305b\u308c\u3070\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u306e\u30d6\u30ed\u30c3\u30af\u306e\u30ed\u30c3\u30af\/\u30ed\u30c3\u30af\u89e3\u9664\u3092\u8a31\u53ef\u3059\u308b\u30e6\u30fc\u30b6\u30fc\u3068\u8a31\u53ef\u3057\u306a\u3044\u30e6\u30fc\u30b6\u30fc\u3092<a href=\"https:\/\/make.wordpress.org\/core\/2022\/02\/09\/core-editor-improvement-curated-experiences-with-locking-apis-theme-json\/\">\u304d\u3081\u7d30\u304b\u304f\u7ba1\u7406<\/a>\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u3057\u304b\u3057\u5b9f\u306f\u3001\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u4f7f\u7528\u3059\u308c\u3070\u3001UI\u3067\u30d6\u30ed\u30c3\u30af\u306e\u30ed\u30c3\u30af\/\u30ed\u30c3\u30af\u89e3\u9664\u306e\u6a29\u9650\u3092\u6301\u305f\u306a\u3044\u30e6\u30fc\u30b6\u30fc\u3067\u3082\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>\u7279\u5b9a\u306e\u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u3067\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u4f7f\u7528\u3092\u8a31\u53ef\u3057\u306a\u3044\u65b9\u6cd5<\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u306f\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u7de8\u96c6\u3067\u304d\u308b\u3059\u3079\u3066\u306e\u30e6\u30fc\u30b6\u30fc\u304c\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u305f\u3081\u3001\u30ed\u30c3\u30af\u8a2d\u5b9a\u304c\u4e0a\u66f8\u304d\u3055\u308c\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30ec\u30a4\u30a2\u30a6\u30c8\u304c\u58ca\u308c\u305f\u308a\u3001\u524a\u9664\u3055\u308c\u305f\u308a\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p><code>block_editor_settings_all<\/code>\u3092\u4f7f\u7528\u3057\u3066\u3001<a href=\"https:\/\/developer.wordpress.org\/block-editor\/reference-guides\/filters\/editor-filters\/#codeeditingenabled\" target=\"_blank\" rel=\"noopener noreferrer\"><code>codeEditingEnabled<\/code><\/a>\u8a2d\u5b9a\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3057\u3001\u7279\u5b9a\u306e\u30e6\u30fc\u30b6\u30fc\u6a29\u9650\u3067\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u306e\u4f7f\u7528\u3092\u5236\u9650\u3059\u308b\u3053\u3068\u3082\u3067\u304d\u307e\u3059\u3002\u30b3\u30fc\u30c9\u4f8b\u306f\u4ee5\u4e0b\u306e\u901a\u308a\u3002<\/p>\n<pre><code class=\"language-php\">add_filter( 'block_editor_settings_all', \n\tfunction( $settings, $context ) {\n\t\tif ( $context-&gt;post && 'book' === $context-&gt;post-&gt;post_type ) {\n\t\t\t$settings['canLockBlocks'] = current_user_can( 'edit_others_posts' );\n\t\t\t$settings['codeEditingEnabled'] = current_user_can( 'edit_others_posts' );\n\t\t}\n\t\treturn $settings;\n\t}, 10, 2\n);<\/code><\/pre>\n<p>\u3053\u306e\u30b3\u30fc\u30c9\u3092\u52a0\u3048\u308b\u3068\u3001<code>edit_others_posts<\/code>\u306e\u6a29\u9650\u3092\u6301\u305f\u306a\u3044\u30e6\u30fc\u30b6\u30fc\u306f\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u306a\u304f\u306a\u308a\u307e\u3059\u3002\u6295\u7a3f\u8005\u306b\u8868\u793a\u3055\u308c\u308b\u30aa\u30d7\u30b7\u30e7\u30f3\u30c4\u30fc\u30eb\u30d0\u30fc\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_161825\" aria-describedby=\"caption-attachment-161825\" style=\"width: 2128px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161825 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/options-toolbar-without-code-editor-access.jpg\" alt=\"\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u6301\u305f\u306a\u3044\u30e6\u30fc\u30b6\u30fc\u306b\u8868\u793a\u3055\u308c\u308b\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u30c4\u30fc\u30eb\u30d0\u30fc\" width=\"2128\" height=\"1202\"><figcaption id=\"caption-attachment-161825\" class=\"wp-caption-text\">\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u30a2\u30af\u30bb\u30b9\u6a29\u9650\u3092\u6301\u305f\u306a\u3044\u30e6\u30fc\u30b6\u30fc\u306b\u8868\u793a\u3055\u308c\u308b\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u30c4\u30fc\u30eb\u30d0\u30fc<\/figcaption><\/figure>\n<p>\u4ee5\u4e0a\u304c\u3001PHP\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u77e5\u8b58\u3067\u3059\u3002Gutenberg\u30d6\u30ed\u30c3\u30af\u958b\u767a\u3092\u884c\u306a\u3063\u3066\u3044\u3066\u3001<a href=\"https:\/\/kinsta.com\/javascript\/\">JavaScript<\/a>\u3092\u4f7f\u7528\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u6b21\u306e\u3054\u7d39\u4ecb\u3059\u308b\u65b9\u6cd5\u3092\u9078\u629e\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h2>JavaScript\u3092\u4f7f\u3063\u3066\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5<\/h2>\n<p>JavaScript\u3092\u4f7f\u3063\u3066\u6295\u7a3f\u306b\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u5834\u5408\u306f\u3001\u624b\u9806\u304c\u7570\u306a\u308a\u307e\u3059\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u3053\u3068\u306f\u3067\u304d\u307e\u3059\u304c\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/gutenberg-blocks\/#innerblocks-component\">Gutenberg\u30d6\u30ed\u30c3\u30af\u958b\u767a\u306e\u89e3\u8aac\u8a18\u4e8b<\/a>\u3067\u3054\u8aac\u660e\u3057\u3066\u3044\u308b\u901a\u308a\u3001\u30ab\u30b9\u30bf\u30e0\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u6210\u3057\u3066\u3001<a href=\"https:\/\/github.com\/WordPress\/gutenberg\/blob\/HEAD\/packages\/block-editor\/src\/components\/inner-blocks\/README.md\"><code>InnerBlocks<\/code>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8<\/a>\u3092\u4f7f\u7528\u3057\u306a\u3051\u308c\u3070\u306a\u308a\u307e\u305b\u3093\u3002<\/p>\n<blockquote><p>InnerBlocks\u306f\u3001\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u30da\u30a2\u3092\u30a8\u30af\u30b9\u30dd\u30fc\u30c8\u3057\u3001\u30cd\u30b9\u30c8\u3057\u305f\u30d6\u30ed\u30c3\u30af\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u5b9f\u73fe\u3059\u308b\u30d6\u30ed\u30c3\u30af\u3092\u5b9f\u88c5\u3059\u308b\u3082\u306e\u3002\uff08<a href=\"https:\/\/github.com\/WordPress\/gutenberg\/blob\/HEAD\/packages\/block-editor\/src\/components\/inner-blocks\/README.md\">\u82f1\u8a9e\u539f<\/a>\u6587\u306e\u65e5\u672c\u8a9e\u8a33\uff09<\/p><\/blockquote>\n<p>\u3067\u306f\u3001\u3053\u306e\u624b\u9806\u3092\u898b\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4ed6\u306eGutenberg\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u540c\u69d8\u3001\u30ab\u30b9\u30bf\u30e0\u30d6\u30ed\u30c3\u30af\u3067<code>InnerBlocks<\/code>\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001\u4ed6\u306e\u4f9d\u5b58\u95a2\u4fc2\u3068\u4e00\u7dd2\u306b\u30d1\u30c3\u30b1\u30fc\u30b8\u304b\u3089<code>InnerBlocks<\/code>\u3092\u53d6\u308a\u8fbc\u307f\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-javascript\">import { registerBlockType } from '@wordpress\/blocks';\nimport { useBlockProps, InnerBlocks } from '@wordpress\/block-editor';<\/code><\/pre>\n<p>\u6b21\u306b\u3001<code>InnerBlocks<\/code>\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u5b9a\u7fa9\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001<code>TEMPLATE<\/code>\u5b9a\u6570\u3092\u5ba3\u8a00\u3057\u3001<code>InnerBlocks<\/code>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e<code>template<\/code>\u30d7\u30ed\u30d1\u30c6\u30a3\u306e\u5024\u3092\u8a2d\u5b9a\u3059\u308b\u4f8b\u3067\u3059\u3002<\/p>\n<pre><code class=\"language-javascript\">const TEMPLATE = [\n\t[ 'core\/paragraph', { 'placeholder': 'Add paragraph...' } ],\n\t[ 'core\/columns', { verticalAlignment: 'center' }, \n\t\t[\n\t\t\t[ \n\t\t\t\t'core\/column', \n\t\t\t\t{ templateLock: 'all' }, \n\t\t\t\t[\n\t\t\t\t\t[ 'core\/image' ]\n\t\t\t\t]\n\t\t\t],\n\t\t\t[ \n\t\t\t\t'core\/column', \n\t\t\t\t{ templateLock: 'all' }, \n\t\t\t\t[\n\t\t\t\t\t[ \n\t\t\t\t\t\t'core\/heading', \n\t\t\t\t\t\t{'placeholder': 'Add H3...', 'level': 3}\n\t\t\t\t\t], \n\t\t\t\t\t[ \n\t\t\t\t\t\t'core\/paragraph', \n\t\t\t\t\t\t{'placeholder': 'Add paragraph...'} \n\t\t\t\t\t]\n\t\t\t\t], \n\t\t\t]\n\t\t]\n\t]\n];\nregisterBlockType( metadata.name, {\n\ttitle: 'My Template',\n\tcategory: 'widgets',\n\tedit: ( props ) =&gt; {\n\t\treturn(\n\t\t\t&lt;div&gt;\n\t\t\t\t&lt;InnerBlocks\n\t\t\t\t\ttemplate={ TEMPLATE }\n\t\t\t\t\ttemplateLock=\"insert\"\n\t\t\t\t\/&gt;\n\t\t\t&lt;\/div&gt;\n\t\t)\n\t},\n\tsave() {\n\t\tconst blockProps = useBlockProps.save();\n\t\treturn(\n\t\t\t&lt;div { ...blockProps }&gt;\n\t\t\t\t&lt;InnerBlocks.Content \/&gt;\n\t\t\t&lt;\/div&gt;\n\t\t)\n\t}\n} );<\/code><\/pre>\n<p>\u4e0a\u306e\u30b3\u30fc\u30c9\u306f\u975e\u5e38\u306b\u30b7\u30f3\u30d7\u30eb\u3067\u3059\u3002<code>templateLock<\/code>\u5c5e\u6027\u304c2\u56de\u4f7f\u7528\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3059\uff08\u30d6\u30ed\u30c3\u30af\u30ec\u30d9\u30eb\u3068<code>InnerBlocks<\/code>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u5185\uff09\u3002\u5229\u7528\u53ef\u80fd\u306aprops\u306b\u3064\u3044\u3066\u306f\u3001<a href=\"https:\/\/github.com\/WordPress\/gutenberg\/blob\/HEAD\/packages\/block-editor\/src\/components\/inner-blocks\/README.md\" target=\"_blank\" rel=\"noopener noreferrer\"><code>InnerBlocks<\/code> \u306b\u95a2\u3059\u308b\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8<\/a>\u307e\u305f\u306f<a href=\"https:\/\/ja.wordpress.org\/team\/handbook\/block-editor\/how-to-guides\/block-tutorial\/nested-blocks-inner-blocks\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u30cf\u30f3\u30c9\u30d6\u30c3\u30af<\/a>\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u305d\u308c\u3067\u306f\u3001\u4f5c\u696d\u3092\u9032\u3081\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u307e\u305a\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/devkinsta\/features\/\">DevKinsta<\/a>\u306e\u3088\u3046\u306a<a href=\"https:\/\/kinsta.com\/local-development\/\">\u30ed\u30fc\u30ab\u30eb\u958b\u767a\u74b0\u5883<\/a>\u306bWordPress\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u30c4\u30fc\u30eb\u3092\u8d77\u52d5\u3057\u3066\u3001<strong>plugins<\/strong>\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre><code class=\"language-bash\">npx @wordpress\/create-block template-block<\/code><\/pre>\n<p>\u30d6\u30ed\u30c3\u30af\u540d\u306f\u304a\u597d\u304d\u306a\u540d\u524d\u306b\u5909\u66f4\u53ef\u80fd\u3067\u3059\u3002\u30b9\u30bf\u30fc\u30bf\u30fc\u30d6\u30ed\u30c3\u30af\u3092\u8a73\u7d30\u306b\u7ba1\u7406\u3057\u305f\u3044\u5834\u5408\u306f\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/gutenberg-blocks\/#set-up-the-plugin\">Gutenberg\u30d6\u30ed\u30c3\u30af\u958b\u767a\u306e\u89e3\u8aac\u8a18\u4e8b<\/a>\u306e\u624b\u9806\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-bash\">cd template-block\nnpm start<\/code><\/pre>\n<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-admin\/\">WordPress\u306e\u7ba1\u7406\u753b\u9762<\/a>\u3092\u958b\u304d\u3001\u300c<strong>\u30d7\u30e9\u30b0\u30a4\u30f3<\/strong>\u300d\u753b\u9762\u306b\u79fb\u52d5\u3057\u3066\u3001<strong>Template Block<\/strong>\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u898b\u3064\u3051\u3066\u6709\u52b9\u5316\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<p>\u4efb\u610f\u306e<a href=\"https:\/\/kinsta.com\/jp\/blog\/free-html-editor\/\">\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc<\/a>\u3067\u3001<strong>src<\/strong>\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306b\u3042\u308b<strong>index.js<\/strong>\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u307e\u3059\u3002\u4e0a\u306e\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\u3057\u3066<strong>index.js<\/strong>\u3092\u4fdd\u5b58\u3057\u3001WordPress\u306e\u7ba1\u7406\u753b\u9762\u306b\u623b\u308a\u3001\u6295\u7a3f\u307e\u305f\u306f\u56fa\u5b9a\u30da\u30fc\u30b8\u3092\u65b0\u898f\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<p>\u30d6\u30ed\u30c3\u30af\u30a4\u30f3\u30b5\u30fc\u30bf\u30fc\u3092\u958b\u3044\u3066\u3001\u300c<strong>\u30a6\u30a3\u30b8\u30a7\u30c3\u30c8<\/strong>\u300d\u30bb\u30af\u30b7\u30e7\u30f3\u307e\u3067\u30b9\u30af\u30ed\u30fc\u30eb\u3059\u308b\u3068\u3001\u30ab\u30b9\u30bf\u30e0\u30d6\u30ed\u30c3\u30af\u304c\u898b\u3064\u304b\u308a\u307e\u3059\u3002<\/p>\n<figure id=\"attachment_161826\" aria-describedby=\"caption-attachment-161826\" style=\"width: 2260px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161826 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/my-template-block-1.jpg\" alt=\"\u30d6\u30ed\u30c3\u30af\u30a4\u30f3\u30b5\u30fc\u30bf\u30fc\u306e\u30ab\u30b9\u30bf\u30e0\u30d6\u30ed\u30c3\u30af\" width=\"2260\" height=\"1410\"><figcaption id=\"caption-attachment-161826\" class=\"wp-caption-text\">\u30d6\u30ed\u30c3\u30af\u30a4\u30f3\u30b5\u30fc\u30bf\u30fc\u306e\u30ab\u30b9\u30bf\u30e0\u30d6\u30ed\u30c3\u30af<\/figcaption><\/figure>\n<p>\u6295\u7a3f\u306b\u8ffd\u52a0\u3057\u3066\u3001\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u7de8\u96c6\u3057\u305f\u3089\u6295\u7a3f\u3092\u4fdd\u5b58\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<figure id=\"attachment_161827\" aria-describedby=\"caption-attachment-161827\" style=\"width: 2258px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-161827 size-full\" src=\"https:\/\/kinsta.com\/wp-content\/uploads\/2023\/08\/template-in-list-view-1.jpg\" alt=\"\u30ab\u30b9\u30bf\u30e0\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4e00\u89a7\" width=\"2258\" height=\"936\"><figcaption id=\"caption-attachment-161827\" class=\"wp-caption-text\">\u30ab\u30b9\u30bf\u30e0\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u4e00\u89a7<\/figcaption><\/figure>\n<p>\u30b3\u30fc\u30c9\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u5207\u308a\u66ff\u3048\u308b\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u30de\u30fc\u30af\u30a2\u30c3\u30d7\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<pre><code class=\"language-markup\">&lt;!-- wp:create-block\/template-block --&gt;\n&lt;div class=\"wp-block-create-block-template-block\"&gt;&lt;!-- wp:paragraph {\"placeholder\":\"Add paragraph...\"} --&gt;\n&lt;p&gt;&lt;\/p&gt;\n&lt;!-- \/wp:paragraph --&gt;\n\n&lt;!-- wp:columns {\"verticalAlignment\":\"center\"} --&gt;\n&lt;div class=\"wp-block-columns are-vertically-aligned-center\"&gt;&lt;!-- wp:column {\"templateLock\":\"all\"} --&gt;\n&lt;div class=\"wp-block-column\"&gt;&lt;!-- wp:image --&gt;\n&lt;figure class=\"wp-block-image\"&gt;&lt;img alt=\"\"\/&gt;&lt;\/figure&gt;\n&lt;!-- \/wp:image --&gt;&lt;\/div&gt;\n&lt;!-- \/wp:column --&gt;\n\n&lt;!-- wp:column {\"templateLock\":\"all\"} --&gt;\n&lt;div class=\"wp-block-column\"&gt;&lt;!-- wp:heading {\"level\":3,\"placeholder\":\"Add H3...\"} --&gt;\n&lt;h3 class=\"wp-block-heading\"&gt;&lt;\/h3&gt;\n&lt;!-- \/wp:heading --&gt;\n\n&lt;!-- wp:paragraph {\"placeholder\":\"Add paragraph...\"} --&gt;\n&lt;p&gt;&lt;\/p&gt;\n&lt;!-- \/wp:paragraph --&gt;&lt;\/div&gt;\n&lt;!-- \/wp:column --&gt;&lt;\/div&gt;\n&lt;!-- \/wp:columns --&gt;&lt;\/div&gt;\n&lt;!-- \/wp:create-block\/template-block --&gt;<\/code><\/pre>\n<p><a href=\"https:\/\/kinsta.com\/browsers\/\">\u4efb\u610f\u306e\u30d6\u30e9\u30a6\u30b6<\/a>\u3067\u30d7\u30ec\u30d3\u30e5\u30fc\u3092\u898b\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u30d6\u30ed\u30c3\u30af\u306e\u5916\u89b3\u3092\u7de8\u96c6\u3059\u308b\u306b\u306f\u3001<strong>style.scss<\/strong>\u30d5\u30a1\u30a4\u30eb\u306e\u30b9\u30bf\u30a4\u30eb\u3092\u5909\u66f4\u3059\u308b\u3060\u3051\u3067OK\u3067\u3059\u3002<\/p>\n<p>\u30ab\u30b9\u30bf\u30de\u30a4\u30ba\u3092\u7d42\u3048\u305f\u3089\u3001<code>npm run build<\/code>\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<strong>build<\/strong>\u30d5\u30a9\u30eb\u30c0\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u3059\u3079\u3066\u5727\u7e2e\u3055\u308c\u3001\u5229\u7528\u53ef\u80fd\u306a\u72b6\u614b\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u3053\u308c\u3067\u3001\u6570\u56de\u306e\u30af\u30ea\u30c3\u30af\u3067\u9ad8\u5ea6\u306a\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u4f5c\u6210\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n<h2>\u307e\u3068\u3081<\/h2>\n<p>\u6295\u7a3f\u3084\u30ab\u30b9\u30bf\u30e0\u6295\u7a3f\u30bf\u30a4\u30d7\u306b\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u3067\u3001WordPress\u30b5\u30a4\u30c8\u306e\u4f5c\u6210\u3068\u7de8\u96c6\u4f53\u9a13\u3092\u5287\u7684\u306b\u6539\u5584\u3001\u9ad8\u901f\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u307e\u305f\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001\u8907\u6570\u306e\u30e6\u30fc\u30b6\u30fc\u9593\u3067\u540c\u3058\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u3092\u7dad\u6301\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u30de\u30eb\u30c1\u30e6\u30fc\u30b6\u30fc\u30b5\u30a4\u30c8\u3067\u7279\u306b\u4fbf\u5229\u3067\u3059\u3002<\/p>\n<p>\u65b0\u898f\u6295\u7a3f\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u306f\u3001\u81ea\u5206\u3067\u30d6\u30ed\u30c3\u30af\u30d1\u30bf\u30fc\u30f3\u3092\u8ffd\u52a0\u3059\u308b\u3053\u3068\u306a\u304f\u3001\u7d71\u4e00\u3055\u308c\u305f\u30ec\u30a4\u30a2\u30a6\u30c8\u3092\u4f7f\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u305f\u3081\u3001\u30ec\u30d3\u30e5\u30fc\u30b5\u30a4\u30c8\u3084\u30ec\u30b7\u30d4\u30b5\u30a4\u30c8\u306b\u3082\u3046\u3063\u3066\u3064\u3051\u3067\u3059\u3002<\/p>\n<p><a href=\"https:\/\/kinsta.com\/jp\/blog\/gutenberg-blocks\/\">\u9759\u7684<\/a>\u307e\u305f\u306f<a href=\"https:\/\/kinsta.com\/blog\/dynamic-blocks\/\">\u52d5\u7684<\/a>\u306a\u30ab\u30b9\u30bf\u30e0\u30d6\u30ed\u30c3\u30af\u3001<a href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-patterns\/\">\u30d6\u30ed\u30c3\u30af\u30d1\u30bf\u30fc\u30f3<\/a>\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u7d44\u307f\u5408\u308f\u305b\u308c\u3070\u3001\u3042\u3089\u3086\u308b\u30bf\u30a4\u30d7\u306eWordPress\u30b5\u30a4\u30c8\u69cb\u7bc9\u3092\u6700\u5927\u9650\u52b9\u7387\u5316\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u3059\u3067\u306b\u4f7f\u7528\u3057\u3066\u3044\u307e\u3059\u304b\uff1f\u3069\u306e\u3088\u3046\u306a\u7528\u9014\u306b\u5f79\u7acb\u3066\u3066\u3044\u307e\u3059\u304b\uff1f\u4ee5\u4e0b\u306e\u30b3\u30e1\u30f3\u30c8\u6b04\u3067\u305c\u3072\u304a\u805e\u304b\u305b\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gutenberg\u304cWordPress\u306e\u6a19\u6e96\u30a8\u30c7\u30a3\u30bf &#8230;<\/p>\n","protected":false},"author":36,"featured_media":49607,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kinsta_gated_content":false,"_kinsta_gated_content_redirect":"","footnotes":""},"tags":[360,56,196],"topic":[826],"class_list":["post-49606","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","tag-block-editor","tag-gutenberg","tag-wordpress-developers","topic-wordpress-development"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v24.6 (Yoast SEO v24.6) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WordPress\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\uff5cKinsta\u00ae<\/title>\n<meta name=\"description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001WordPress\u306eGutenberg\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u81ea\u52d5\u7684\u306b\u53d6\u308a\u8fbc\u307e\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\" \/>\n<meta property=\"og:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001WordPress\u306eGutenberg\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u81ea\u52d5\u7684\u306b\u53d6\u308a\u8fbc\u307e\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/\" \/>\n<meta property=\"og:site_name\" content=\"Kinsta\u00ae\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-04T14:23:15+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-09-11T07:49:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1460\" \/>\n\t<meta property=\"og:image:height\" content=\"730\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Carlo Daniele\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:description\" content=\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001WordPress\u306eGutenberg\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u81ea\u52d5\u7684\u306b\u53d6\u308a\u8fbc\u307e\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg\" \/>\n<meta name=\"twitter:creator\" content=\"@carlodaniele\" \/>\n<meta name=\"twitter:site\" content=\"@Kinsta_JP\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Carlo Daniele\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"8\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/\"},\"author\":{\"name\":\"Carlo Daniele\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/962dde02ea6f5df089b5d8d0853bbc63\"},\"headline\":\"WordPress\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\",\"datePublished\":\"2023-09-04T14:23:15+00:00\",\"dateModified\":\"2023-09-11T07:49:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/\"},\"wordCount\":175,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg\",\"keywords\":[\"Block Editor\",\"Gutenberg\",\"WordPress developers\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/\",\"url\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/\",\"name\":\"WordPress\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\uff5cKinsta\u00ae\",\"isPartOf\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg\",\"datePublished\":\"2023-09-04T14:23:15+00:00\",\"dateModified\":\"2023-09-11T07:49:21+00:00\",\"description\":\"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001WordPress\u306eGutenberg\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u81ea\u52d5\u7684\u306b\u53d6\u308a\u8fbc\u307e\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#primaryimage\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg\",\"width\":1460,\"height\":730},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/kinsta.com\/jp\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress\u30b5\u30a4\u30c8\u958b\u767a\",\"item\":\"https:\/\/kinsta.com\/jp\/topics\/wordpress-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"WordPress\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/kinsta.com\/jp\/#website\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"name\":\"Kinsta\u00ae\",\"description\":\"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9\",\"publisher\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/kinsta.com\/jp\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/kinsta.com\/jp\/#organization\",\"name\":\"Kinsta\",\"url\":\"https:\/\/kinsta.com\/jp\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"contentUrl\":\"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg\",\"width\":500,\"height\":500,\"caption\":\"Kinsta\"},\"image\":{\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/\",\"https:\/\/x.com\/Kinsta_JP\",\"https:\/\/www.instagram.com\/kinstahosting\/\",\"https:\/\/www.linkedin.com\/company\/kinsta\/\",\"https:\/\/www.pinterest.com\/kinstahosting\/\",\"https:\/\/www.youtube.com\/c\/Kinsta\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/962dde02ea6f5df089b5d8d0853bbc63\",\"name\":\"Carlo Daniele\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429e5568f88110fd9a409b84cb22197e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429e5568f88110fd9a409b84cb22197e?s=96&d=mm&r=g\",\"caption\":\"Carlo Daniele\"},\"description\":\"Carlo is a passionate lover of webdesign and front-end development. He has been playing with WordPress for more than 20 years, also in collaboration with Italian and European universities and educational institutions. He has written hundreds of articles and guides about WordPress, published both on Italian and international websites, as well as on printed magazines. You can find him on LinkedIn.\",\"sameAs\":[\"https:\/\/frammentidicodice.com\/\",\"https:\/\/x.com\/carlodaniele\"],\"url\":\"https:\/\/kinsta.com\/jp\/blog\/author\/carlodaniele\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"WordPress\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\uff5cKinsta\u00ae","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001WordPress\u306eGutenberg\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u81ea\u52d5\u7684\u306b\u53d6\u308a\u8fbc\u307e\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/","og_locale":"ja_JP","og_type":"article","og_title":"WordPress\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5","og_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001WordPress\u306eGutenberg\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u81ea\u52d5\u7684\u306b\u53d6\u308a\u8fbc\u307e\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","og_url":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/","og_site_name":"Kinsta\u00ae","article_publisher":"https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","article_published_time":"2023-09-04T14:23:15+00:00","article_modified_time":"2023-09-11T07:49:21+00:00","og_image":[{"width":1460,"height":730,"url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg","type":"image\/jpeg"}],"author":"Carlo Daniele","twitter_card":"summary_large_image","twitter_description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001WordPress\u306eGutenberg\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u81ea\u52d5\u7684\u306b\u53d6\u308a\u8fbc\u307e\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","twitter_image":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg","twitter_creator":"@carlodaniele","twitter_site":"@Kinsta_JP","twitter_misc":{"\u57f7\u7b46\u8005":"Carlo Daniele","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"8\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#article","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/"},"author":{"name":"Carlo Daniele","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/962dde02ea6f5df089b5d8d0853bbc63"},"headline":"WordPress\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5","datePublished":"2023-09-04T14:23:15+00:00","dateModified":"2023-09-11T07:49:21+00:00","mainEntityOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/"},"wordCount":175,"commentCount":0,"publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg","keywords":["Block Editor","Gutenberg","WordPress developers"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/","url":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/","name":"WordPress\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5\uff5cKinsta\u00ae","isPartOf":{"@id":"https:\/\/kinsta.com\/jp\/#website"},"primaryImageOfPage":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#primaryimage"},"image":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#primaryimage"},"thumbnailUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg","datePublished":"2023-09-04T14:23:15+00:00","dateModified":"2023-09-11T07:49:21+00:00","description":"\u3053\u306e\u8a18\u4e8b\u3067\u306f\u3001WordPress\u306eGutenberg\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u306b\u81ea\u52d5\u7684\u306b\u53d6\u308a\u8fbc\u307e\u308c\u308b\u30d6\u30ed\u30c3\u30af\u30ec\u30a4\u30a2\u30a6\u30c8\u3001\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u69cb\u7bc9\u3059\u308b\u65b9\u6cd5\u3092\u8a73\u3057\u304f\u3054\u7d39\u4ecb\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/"]}]},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#primaryimage","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/09\/wordpress-block-templates.jpg","width":1460,"height":730},{"@type":"BreadcrumbList","@id":"https:\/\/kinsta.com\/jp\/blog\/wordpress-block-templates\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/kinsta.com\/jp\/"},{"@type":"ListItem","position":2,"name":"WordPress\u30b5\u30a4\u30c8\u958b\u767a","item":"https:\/\/kinsta.com\/jp\/topics\/wordpress-development\/"},{"@type":"ListItem","position":3,"name":"WordPress\u3067\u30d6\u30ed\u30c3\u30af\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u4f5c\u6210\u3059\u308b\u65b9\u6cd5"}]},{"@type":"WebSite","@id":"https:\/\/kinsta.com\/jp\/#website","url":"https:\/\/kinsta.com\/jp\/","name":"Kinsta\u00ae","description":"\u9ad8\u901f\u304b\u3064\u5805\u7262\u306a\u30d7\u30ec\u30df\u30a2\u30e0\u30b5\u30fc\u30d0\u30fc\u30b5\u30fc\u30d3\u30b9","publisher":{"@id":"https:\/\/kinsta.com\/jp\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/kinsta.com\/jp\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":"Organization","@id":"https:\/\/kinsta.com\/jp\/#organization","name":"Kinsta","url":"https:\/\/kinsta.com\/jp\/","logo":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/","url":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","contentUrl":"https:\/\/kinsta.com\/jp\/wp-content\/uploads\/sites\/6\/2023\/12\/kinsta-logo.jpeg","width":500,"height":500,"caption":"Kinsta"},"image":{"@id":"https:\/\/kinsta.com\/jp\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Kinsta-Japan-334616080691171\/","https:\/\/x.com\/Kinsta_JP","https:\/\/www.instagram.com\/kinstahosting\/","https:\/\/www.linkedin.com\/company\/kinsta\/","https:\/\/www.pinterest.com\/kinstahosting\/","https:\/\/www.youtube.com\/c\/Kinsta"]},{"@type":"Person","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/962dde02ea6f5df089b5d8d0853bbc63","name":"Carlo Daniele","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/kinsta.com\/jp\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/429e5568f88110fd9a409b84cb22197e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429e5568f88110fd9a409b84cb22197e?s=96&d=mm&r=g","caption":"Carlo Daniele"},"description":"Carlo is a passionate lover of webdesign and front-end development. He has been playing with WordPress for more than 20 years, also in collaboration with Italian and European universities and educational institutions. He has written hundreds of articles and guides about WordPress, published both on Italian and international websites, as well as on printed magazines. You can find him on LinkedIn.","sameAs":["https:\/\/frammentidicodice.com\/","https:\/\/x.com\/carlodaniele"],"url":"https:\/\/kinsta.com\/jp\/blog\/author\/carlodaniele\/"}]}},"acf":[],"_links":{"self":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/49606","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/users\/36"}],"replies":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/comments?post=49606"}],"version-history":[{"count":15,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/49606\/revisions"}],"predecessor-version":[{"id":49778,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/posts\/49606\/revisions\/49778"}],"alternate":[{"embeddable":true,"hreflang":"en","title":"English","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49606\/translations\/en"},{"embeddable":true,"hreflang":"it","title":"Italian","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49606\/translations\/it"},{"embeddable":true,"hreflang":"pt","title":"Portuguese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49606\/translations\/pt"},{"embeddable":true,"hreflang":"de","title":"German","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49606\/translations\/de"},{"embeddable":true,"hreflang":"ja","title":"Japanese","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49606\/translations\/jp"},{"embeddable":true,"hreflang":"nl","title":"Dutch","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49606\/translations\/nl"},{"embeddable":true,"hreflang":"es","title":"Spanish","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49606\/translations\/es"},{"embeddable":true,"hreflang":"fr","title":"French","href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49606\/translations\/fr"},{"href":"https:\/\/kinsta.com\/jp\/wp-json\/kinsta\/v1\/posts\/49606\/tree"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media\/49607"}],"wp:attachment":[{"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/media?parent=49606"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/tags?post=49606"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/kinsta.com\/jp\/wp-json\/wp\/v2\/topic?post=49606"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}