2020-06-26 15:33:47 +02:00
|
|
|
{
|
2022-04-12 17:12:47 +02:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2023-06-27 16:24:19 +02:00
|
|
|
"apiVersion": 3,
|
2020-06-26 15:33:47 +02:00
|
|
|
"name": "core/archives",
|
2021-05-19 17:09:27 +02:00
|
|
|
"title": "Archives",
|
2020-06-26 15:33:47 +02:00
|
|
|
"category": "widgets",
|
2022-04-12 17:12:47 +02:00
|
|
|
"description": "Display a date archive of your posts.",
|
2021-05-19 17:09:27 +02:00
|
|
|
"textdomain": "default",
|
2020-06-26 15:33:47 +02:00
|
|
|
"attributes": {
|
|
|
|
"displayAsDropdown": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
|
|
|
},
|
2022-09-20 17:43:29 +02:00
|
|
|
"showLabel": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
2020-06-26 15:33:47 +02:00
|
|
|
"showPostCounts": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": false
|
2022-04-12 17:12:47 +02:00
|
|
|
},
|
|
|
|
"type": {
|
|
|
|
"type": "string",
|
|
|
|
"default": "monthly"
|
2020-06-26 15:33:47 +02:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
|
|
|
"align": true,
|
2022-09-20 17:43:29 +02:00
|
|
|
"html": false,
|
|
|
|
"spacing": {
|
|
|
|
"margin": true,
|
2023-07-07 09:21:17 +02:00
|
|
|
"padding": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"margin": false,
|
|
|
|
"padding": false
|
|
|
|
}
|
2022-09-20 17:43:29 +02:00
|
|
|
},
|
|
|
|
"typography": {
|
|
|
|
"fontSize": true,
|
|
|
|
"lineHeight": true,
|
|
|
|
"__experimentalFontFamily": true,
|
|
|
|
"__experimentalFontWeight": true,
|
|
|
|
"__experimentalFontStyle": true,
|
|
|
|
"__experimentalTextTransform": true,
|
|
|
|
"__experimentalTextDecoration": true,
|
|
|
|
"__experimentalLetterSpacing": true,
|
|
|
|
"__experimentalDefaultControls": {
|
|
|
|
"fontSize": true
|
|
|
|
}
|
|
|
|
}
|
2021-01-28 03:04:13 +01:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-archives-editor"
|
2020-06-26 15:33:47 +02:00
|
|
|
}
|