2020-06-26 15:33:47 +02:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2020-10-20 15:36:16 +02:00
|
|
|
"apiVersion": 2,
|
2020-06-26 15:33:47 +02:00
|
|
|
"name": "core/categories",
|
2021-05-19 17:09:27 +02:00
|
|
|
"title": "Categories",
|
2020-06-26 15:33:47 +02:00
|
|
|
"category": "widgets",
|
2021-05-19 17:09:27 +02:00
|
|
|
"description": "Display a list of all categories.",
|
|
|
|
"textdomain": "default",
|
2020-06-26 15:33:47 +02:00
|
|
|
"attributes": {
|
|
|
|
"displayAsDropdown": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"showHierarchy": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
|
|
|
"showPostCounts": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
2021-11-08 15:29:21 +01:00
|
|
|
},
|
|
|
|
"showOnlyTopLevel": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
2020-06-26 15:33:47 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
|
|
|
"align": true,
|
|
|
|
"html": false
|
2021-01-28 03:04:13 +01:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-categories-editor",
|
|
|
|
"style": "wp-block-categories"
|
2020-06-26 15:33:47 +02:00
|
|
|
}
|