{"id":369,"date":"2023-08-02T07:47:14","date_gmt":"2023-08-02T07:47:14","guid":{"rendered":"https:\/\/aki-hamano.blog\/?p=369"},"modified":"2026-03-06T13:14:10","modified_gmt":"2026-03-06T13:14:10","slug":"wp6-3-theme-json","status":"publish","type":"post","link":"https:\/\/aki-hamano.blog\/ja\/2023\/08\/02\/wp6-3-theme-json\/","title":{"rendered":"\u3010WordPress6.3\u3011theme.json \u306e\u5909\u66f4\u70b9"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u306f\u3001WordPress \u30c6\u30fc\u30de\u306e\u6a5f\u80fd\u30fb\u30ec\u30a4\u30a2\u30a6\u30c8\u30fb\u30b9\u30bf\u30a4\u30eb\u306a\u3069\u306e\u591a\u304f\u3092\u4e00\u5143\u7684\u306b\u7ba1\u7406\u51fa\u6765\u308b JSON \u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308b <code>theme.json<\/code> \u306b\u3064\u3044\u3066\u3001WordPress6.3\u3067\u306e\u5909\u66f4\u70b9\u3092\u307e\u3068\u3081\u305f\u3082\u306e\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><code>theme.json<\/code> \u81ea\u4f53\u306e\u5168\u4f53\u56f3\u306b\u3064\u3044\u3066\u306f\u3001\u300c\u3010WordPress5.9 \/ 6.0\u7248\u3011theme.json \u5168\u89e3\u8aac\u300d\u3068\u3044\u3046\u8a18\u4e8b\u306b\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u306e\u3067\u3001\u305d\u3082\u305d\u3082 <code>theme.json<\/code> \u3068\u306f\u4f55\u304b\u5206\u304b\u3089\u306a\u3044\u65b9\u3001\u5404\u30bb\u30af\u30b7\u30e7\u30f3 (\u30d7\u30ed\u30d1\u30c6\u30a3) \u306e\u5f79\u5272\u304c\u5206\u304b\u3089\u306a\u3044\u65b9\u306f\u3001\u305c\u3072\u5148\u306b\u3053\u3061\u3089\u8a18\u4e8b\u3092\u898b\u3066\u3044\u305f\u3060\u3051\u308c\u3070\u5e78\u3044\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-aki-hamano wp-block-embed-aki-hamano\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"BvoprpDuEq\"><a href=\"https:\/\/aki-hamano.blog\/2021\/12\/15\/theme-json\/\">\u3010WordPress5.9 \/ 6.0\u7248\u3011theme.json \u5168\u89e3\u8aac<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010WordPress5.9 \/ 6.0\u7248\u3011theme.json \u5168\u89e3\u8aac&#8221; &#8212; Aki Hamano\" src=\"https:\/\/aki-hamano.blog\/2021\/12\/15\/theme-json\/embed\/#?secret=55PVfISryO#?secret=BvoprpDuEq\" data-secret=\"BvoprpDuEq\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305f\u3001WordPress6.1\u3001WordPress6.2\u3067\u306e\u5909\u66f4\u70b9\u306b\u3064\u3044\u3066\u306f\u3001\u305d\u308c\u305e\u308c\u4ee5\u4e0b\u306e\u8a18\u4e8b\u3067\u307e\u3068\u3081\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-f56f613f wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-aki-hamano wp-block-embed-aki-hamano\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"CeTMHXbqwZ\"><a href=\"https:\/\/aki-hamano.blog\/2022\/10\/10\/wp6-1-theme-json\/\">\u3010WordPress6.1\u3011theme.json \u306e\u5909\u66f4\u70b9<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010WordPress6.1\u3011theme.json \u306e\u5909\u66f4\u70b9&#8221; &#8212; Aki Hamano\" src=\"https:\/\/aki-hamano.blog\/2022\/10\/10\/wp6-1-theme-json\/embed\/#?secret=etUAeAe9mm#?secret=CeTMHXbqwZ\" data-secret=\"CeTMHXbqwZ\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:100%\">\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-aki-hamano wp-block-embed-aki-hamano\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"bL0earg642\"><a href=\"https:\/\/aki-hamano.blog\/2023\/03\/20\/wp6-2-theme-json\/\">\u3010WordPress6.2\u3011theme.json \u306e\u5909\u66f4\u70b9<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; visibility: hidden;\" title=\"&#8220;\u3010WordPress6.2\u3011theme.json \u306e\u5909\u66f4\u70b9&#8221; &#8212; Aki Hamano\" src=\"https:\/\/aki-hamano.blog\/2023\/03\/20\/wp6-2-theme-json\/embed\/#?secret=6O4vzi7biy#?secret=bL0earg642\" data-secret=\"bL0earg642\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n<\/div>\n<\/div>\n\n\n\n<h3 class=\"wp-block-heading\">\u524d\u6e96\u5099<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u3053\u306e\u8a18\u4e8b\u306e\u5185\u5bb9\u3092\u5b9f\u8df5\u3059\u308b\u305f\u3081\u306e\u30aa\u30ea\u30b8\u30ca\u30eb\u30c6\u30fc\u30de\u3092\u7528\u610f\u3057\u305f\u3044\u3068\u3044\u3046\u65b9\u306f\u3001\u4f5c\u6210\u3057\u305f\u30c6\u30fc\u30de\u30d5\u30a9\u30eb\u30c0\u306b\u4ee5\u4e0b\u30d5\u30a1\u30a4\u30eb\u3092\u7528\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u30d6\u30ed\u30c3\u30af\u30c6\u30fc\u30de\u3068\u3057\u3066\u8a8d\u8b58\u3055\u305b\u3001\u30d5\u30ed\u30f3\u30c8\u30a8\u30f3\u30c9\u3067\u6700\u4f4e\u9650\u306e\u30b3\u30f3\u30c6\u30f3\u30c4\u3092\u8868\u793a\u3055\u305b\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u6700\u4f4e\u9650\u306e\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n\n\n\n<pre data-label=\"mytheme\/style.css\" id=\"mytheme\/style.css\" class=\"wp-block-code lang-css\"><code>\/*\nTheme Name: My Theme\nText Domain: mytheme\n*\/<\/code><\/pre>\n\n\n\n<pre data-label=\"mytheme\/templates\/index.html\" id=\"mytheme\/templates\/index.html\" class=\"wp-block-code lang-html\"><code>&lt;!-- wp:query {\"queryId\":1,\"query\":{\"offset\":0,\"postType\":\"post\",\"order\":\"desc\",\"orderBy\":\"date\",\"author\":\"\",\"search\":\"\",\"sticky\":\"\"}} --&gt;\n&lt;div class=\"wp-block-query\"&gt;\n    &lt;!-- wp:post-template --&gt;\n    &lt;!-- wp:post-title {\"isLink\":true} \/--&gt;\n    &lt;!-- wp:post-excerpt \/--&gt;\n    &lt;!-- \/wp:post-template --&gt;\n&lt;\/div&gt;\n&lt;!-- \/wp:query --&gt;<\/code><\/pre>\n\n\n\n<pre data-label=\"mytheme\/templates\/singular.html\" id=\"mytheme\/templates\/singular.html\" class=\"wp-block-code lang-html\"><code>&lt;!-- wp:post-title \/--&gt;\n&lt;!-- wp:post-content {\"layout\":{\"inherit\":true}} \/--&gt;<\/code><\/pre>\n\n\n\n<pre data-label=\"mytheme\/theme.json\" id=\"mytheme\/theme.json\" class=\"wp-block-code lang-json\"><code>{\n    \"$schema\": \"https:\/\/schemas.wp.org\/trunk\/theme.json\",\n    \"version\": 2,\n    \"settings\": {\n        \"layout\": {\n            \"contentSize\": \"900px\"\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">settings<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">settings.description<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u306e\u8aac\u660e\u6587\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress6.0\u3067<a href=\"https:\/\/make.wordpress.org\/core\/2022\/05\/03\/global-styles-variations-in-wordpress-6-0\/\" target=\"_blank\" rel=\"noreferrer noopener\">\u30b0\u30ed\u30fc\u30d0\u30eb\u30b9\u30bf\u30a4\u30eb\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u304c\u8ffd\u52a0\u3055\u308c<\/a>\u3001\u30c6\u30fc\u30de\u306e\u30d7\u30ea\u30bb\u30c3\u30c8\u3092\u5207\u308a\u66ff\u3048\u308b\u4e8b\u304c\u51fa\u6765\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30d7\u30ea\u30bb\u30c3\u30c8\u3092\u4f5c\u6210\u3059\u308b\u5834\u5408\u306f\u3001<code>theme.json<\/code> \u3068\u540c\u3058\u5b9a\u7fa9\u65b9\u6cd5\u3092\u7528\u3044\u3001\u30c6\u30fc\u30de\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e <code>\/styles<\/code> \u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b <code>{variationName}.json<\/code> \u3068\u3044\u3046JSON\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u3068\u30b5\u30a4\u30c8\u30a8\u30c7\u30a3\u30bf\u30fc\u3067\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u9078\u629e\u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30d1\u30cd\u30eb\u306e <code>aria-label<\/code> \u5c5e\u6027\u306b\u3001<a href=\"https:\/\/aki-hamano.blog\/2021\/12\/15\/theme-json\/#title\"><code>title<\/code> \u30d7\u30ed\u30d1\u30c6\u30a3<\/a>\u306e\u5024\u3068\u3068\u3082\u306b\u3053\u306e\u8aac\u660e\u6587\u304c\u8ffd\u52a0\u3055\u308c\u307e\u3059\u3002\u30a2\u30af\u30bb\u30b7\u30d3\u30ea\u30c6\u30a3\u306e\u5411\u4e0a\u306e\u305f\u3081\u306b\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u304c\u8ffd\u52a0\u3055\u308c\u305f\u3088\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u3092\u5b9a\u7fa9\u3057\u30d0\u30ea\u30a8\u30fc\u30b7\u30e7\u30f3\u30d1\u30cd\u30eb\u306b\u30d5\u30a9\u30fc\u30ab\u30b9\u3092\u5f53\u3066\u308b\u3068\u3001\u30b9\u30af\u30ea\u30fc\u30f3\u30ea\u30fc\u30c0\u30fc\u304c\u9069\u5207\u306b\u8aad\u307f\u4e0a\u3052\u3066\u3044\u308b\u4e8b\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre data-label=\"theme.json\" id=\"theme.json\" class=\"wp-block-code lang-json\"><code>{\n    \"$schema\": \"https:\/\/schemas.wp.org\/trunk\/theme.json\",\n    \"version\": 2,\n    \"title\": \"My variation\",\n    \"description\": \"This is my variation.\"\n}<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"409\" src=\"https:\/\/aki-hamano.blog\/wp-content\/uploads\/2024\/06\/wp6-3-theme-json_1-840x409.png\" alt=\"settings.description\" class=\"wp-image-600\" srcset=\"https:\/\/aki-hamano.blog\/wp-content\/uploads\/2024\/06\/wp6-3-theme-json_1-840x409.png 840w, https:\/\/aki-hamano.blog\/wp-content\/uploads\/2024\/06\/wp6-3-theme-json_1-768x374.png 768w, https:\/\/aki-hamano.blog\/wp-content\/uploads\/2024\/06\/wp6-3-theme-json_1.png 1032w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/WordPress\/gutenberg\/pull\/45242\" target=\"_blank\" rel=\"noreferrer noopener\">Add a description key to theme.json style variations by carolinan \u00b7 Pull Request #45242 \u00b7 WordPress\/gutenberg<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">settings.typography.textColumns<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">CSS\u306e <code>column-count<\/code> \u3092\u8a2d\u5b9a\u51fa\u6765\u308b\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u73fe\u72b6\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u3066\u3044\u308b\u30b3\u30a2\u30d6\u30ed\u30c3\u30af\u306f\u5b58\u5728\u3057\u306a\u3044\u305f\u3081\u3001<code>theme.json<\/code> \u3067\u30aa\u30d7\u30c8\u30a4\u30f3\u3057\u305f\u3068\u3057\u3066\u3082\u3001\u3069\u306e\u30d6\u30ed\u30c3\u30af\u306b\u3082 UI \u306f\u8868\u793a\u3055\u308c\u307e\u305b\u3093\u3002\u30b3\u30a2\u30d6\u30ed\u30c3\u30af\u306e\u30d6\u30ed\u30c3\u30af\u30b5\u30dd\u30fc\u30c8\u3092\u30d5\u30a3\u30eb\u30bf\u30ea\u30f3\u30b0\u3059\u308b\u304b\u3001\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u30b5\u30dd\u30fc\u30c8\u3059\u308b\u30ab\u30b9\u30bf\u30e0\u30d6\u30ed\u30c3\u30af\u3092\u4f5c\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u4eca\u56de\u306f\u3001\u3054\u304f\u7c21\u5358\u306a\u30ab\u30b9\u30bf\u30e0\u30d6\u30ed\u30c3\u30af\u3067\u3053\u306e UI \u3092\u8868\u793a\u3055\u305b\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u4f8b\u3092\u8a18\u8f09\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305a\u306f <code>theme.json<\/code> \u5074\u3067\u3001\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u30aa\u30d7\u30c8\u30a4\u30f3\u3057\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre data-label=\"theme.json\" id=\"theme.json\" class=\"wp-block-code lang-json\"><code>{\n    \"$schema\": \"https:\/\/schemas.wp.org\/trunk\/theme.json\",\n    \"version\": 2,\n    \"settings\": {\n        \"layout\": {\n            \"contentSize\": \"900px\"\n        },\n        \"typography\": {\n            \"textColumns\": true\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u6b21\u306b\u3001\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u30b5\u30dd\u30fc\u30c8\u3057\u305f\u30ab\u30b9\u30bf\u30e0\u30d6\u30ed\u30c3\u30af\u3092\u4e00\u6642\u7684\u306b\u767b\u9332\u3059\u308b\u305f\u3081\u306b\u3001\u30d6\u30ed\u30c3\u30af\u30a8\u30c7\u30a3\u30bf\u30fc\u3092\u958b\u3044\u305f\u72b6\u614b\u3067\u30d6\u30e9\u30a6\u30b6\u30b3\u30f3\u30bd\u30fc\u30eb\u304b\u3089\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code lang-js\"><code>wp.blocks.registerBlockType( 'my-plugin\/my-block', {\n    apiVersion: 2,\n    title: 'My Block',\n    supports: {\n        typography: {\n            textColumns: true\n        }\n    },\n    edit: function( props ) {\n        const &#91; content, setContent ] = wp.element.useState();\n        return wp.element.createElement(\n            wp.blockEditor.RichText,\n            {\n                ...wp.blockEditor.useBlockProps(),\n                tagName: 'p',\n                value: content,\n                onChange: ( newContent ) =&gt; setContent( newContent ),\n            }\n        );\n    },\n} );<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"840\" height=\"352\" src=\"https:\/\/aki-hamano.blog\/wp-content\/uploads\/2024\/06\/wp6-3-theme-json_2-840x352.png\" alt=\"settings.typography.textColumns\" class=\"wp-image-601\" srcset=\"https:\/\/aki-hamano.blog\/wp-content\/uploads\/2024\/06\/wp6-3-theme-json_2-840x352.png 840w, https:\/\/aki-hamano.blog\/wp-content\/uploads\/2024\/06\/wp6-3-theme-json_2-768x322.png 768w, https:\/\/aki-hamano.blog\/wp-content\/uploads\/2024\/06\/wp6-3-theme-json_2.png 1042w\" sizes=\"auto, (max-width: 840px) 100vw, 840px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/github.com\/WordPress\/gutenberg\/pull\/33587\" target=\"_blank\" rel=\"noreferrer noopener\">Block Supports: Add text columns (column count) to typography block supports by aaronrobertshaw \u00b7 Pull Request #33587 \u00b7 WordPress\/gutenberg<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">\u756a\u5916\u7de8<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">settings.layout.definitions<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress \u30b3\u30a2\u306f\u3001\u5185\u90e8\u7684\u306b<a href=\"https:\/\/github.com\/WordPress\/wordpress-develop\/blob\/eef800de27862c0dbfed87513e8af9f7985a69d2\/src\/wp-includes\/theme.json\" target=\"_blank\" rel=\"noreferrer noopener\">\u30c7\u30d5\u30a9\u30eb\u30c8\u306e <code>theme.json<\/code><\/a> \u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\u3053\u306e <code>theme.json<\/code> \u306b\u306f\u3001JSON\u30b9\u30ad\u30fc\u30de\u4e0a\u306b\u306f\u5b58\u5728\u3057\u306a\u3044 <code>settings.layout.definitions<\/code> \u304c\u5b9a\u7fa9\u3055\u308c\u3066\u304a\u308a\u3001\u3053\u3053\u304b\u3089\u4e3b\u306b\u30d6\u30ed\u30c3\u30af\u9593\u306e\u30de\u30fc\u30b8\u30f3\u30b9\u30bf\u30a4\u30eb\u7b49\u304c\u751f\u6210\u3055\u308c\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u307e\u305f\u975e\u516c\u5f0f\u306a\u304c\u3089\u3001\u3053\u306e\u5b9a\u7fa9\u306f\u30c6\u30fc\u30de\u5074\u306e <code>theme.json<\/code> \u304b\u3089\u3001\u4f8b\u3048\u3070\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4e0a\u66f8\u304d\u3059\u308b\u4e8b\u304c\u51fa\u6765\u3066\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<pre data-label=\"theme.json\" id=\"theme.json\" class=\"wp-block-code lang-json\"><code>{\n    \"$schema\": \"https:\/\/schemas.wp.org\/trunk\/theme.json\",\n    \"version\": 2,\n    \"settings\": {\n        \"spacing\": {\n            \"blockGap\": true\n        },\n        \"layout\": {\n            \"contentSize\": \"650px\",\n            \"wideSize\": \"1200px\",\n            \"definitions\": {\n                \"constrained\": {\n                    \"className\": \"is-layout-constrained\",\n                    \"name\": \"constrained\",\n                    \"slug\": \"constrained\",\n                    \"spacingStyles\": &#91;\n                        {\n                            \"rules\": {\n                                \"margin-block-start\": \"3em\"\n                            },\n                            \"selector\": \" &gt; * + .wp-block-heading\"\n                        }\n                    ]\n                }\n            }\n        }\n    },\n    \"styles\": {\n        \"spacing\": {\n            \"blockGap\": \"1.5rem\"\n        }\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">\u3057\u304b\u3057 WordPress6.3\u304b\u3089\u306f\u3001<code>theme.json<\/code> \u304b\u3089\u3053\u306e\u5b9a\u7fa9\u304c\u524a\u9664\u3055\u308c <code>wp_get_layout_definitions()<\/code> \u95a2\u6570\u3067\u30b9\u30bf\u30a4\u30eb\u3092\u751f\u6210\u3059\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3064\u307e\u308a\u3001\u3053\u308c\u307e\u3067\u3053\u306e\u30d7\u30ed\u30d1\u30c6\u30a3\u3092\u4e0a\u66f8\u304d\u3057\u3066\u3044\u305f\u5834\u5408\u306fWordPress6.3\u3067\u306f\u9069\u7528\u3055\u308c\u306a\u304f\u306a\u308b\u306e\u3067\u3001\u3082\u3057\u5229\u7528\u3055\u308c\u3066\u3044\u308b\u65b9\u304c\u3044\u307e\u3057\u305f\u3089\u3054\u6ce8\u610f\u4e0b\u3055\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/make.wordpress.org\/core\/2023\/07\/14\/layout-updates-in-the-editor-for-wordpress-6-3\/\" target=\"_blank\" rel=\"noreferrer noopener\">Layout updates in the editor for WordPress 6.3 \u2013 Make WordPress Core<\/a> &#8211; &#8220;Layout definitions removed from core <code>theme.json<\/code>&#8221; \u30bb\u30af\u30b7\u30e7\u30f3\u3092\u53c2\u7167<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b \u3053\u306e\u8a18\u4e8b\u306f\u3001WordPress \u30c6\u30fc\u30de\u306e\u6a5f\u80fd\u30fb\u30ec\u30a4\u30a2\u30a6\u30c8\u30fb\u30b9\u30bf\u30a4\u30eb\u306a\u3069\u306e\u591a\u304f\u3092\u4e00\u5143\u7684\u306b\u7ba1\u7406\u51fa\u6765\u308b JSON \u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308b theme.json \u306b\u3064\u3044\u3066\u3001WordPress6.3\u3067\u306e\u5909\u66f4\u70b9\u3092\u307e\u3068\u3081\u305f\u3082\u306e\u3067\u3059\u3002 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_locale":"ja","_original_post":"https:\/\/aki-hamano.blog\/?p=369","footnotes":""},"categories":[12],"tags":[],"class_list":["post-369","post","type-post","status-publish","format-standard","hentry","category-theme-json","ja"],"_links":{"self":[{"href":"https:\/\/aki-hamano.blog\/wp-json\/wp\/v2\/posts\/369","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aki-hamano.blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aki-hamano.blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aki-hamano.blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aki-hamano.blog\/wp-json\/wp\/v2\/comments?post=369"}],"version-history":[{"count":17,"href":"https:\/\/aki-hamano.blog\/wp-json\/wp\/v2\/posts\/369\/revisions"}],"predecessor-version":[{"id":2001,"href":"https:\/\/aki-hamano.blog\/wp-json\/wp\/v2\/posts\/369\/revisions\/2001"}],"wp:attachment":[{"href":"https:\/\/aki-hamano.blog\/wp-json\/wp\/v2\/media?parent=369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aki-hamano.blog\/wp-json\/wp\/v2\/categories?post=369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aki-hamano.blog\/wp-json\/wp\/v2\/tags?post=369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}