16
|
1 |
{ |
19
|
2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
18
|
3 |
"apiVersion": 2, |
16
|
4 |
"name": "core/archives", |
18
|
5 |
"title": "Archives", |
16
|
6 |
"category": "widgets", |
19
|
7 |
"description": "Display a date archive of your posts.", |
18
|
8 |
"textdomain": "default", |
16
|
9 |
"attributes": { |
|
10 |
"displayAsDropdown": { |
|
11 |
"type": "boolean", |
|
12 |
"default": false |
|
13 |
}, |
|
14 |
"showPostCounts": { |
|
15 |
"type": "boolean", |
|
16 |
"default": false |
19
|
17 |
}, |
|
18 |
"type": { |
|
19 |
"type": "string", |
|
20 |
"default": "monthly" |
16
|
21 |
} |
|
22 |
}, |
|
23 |
"supports": { |
|
24 |
"align": true, |
|
25 |
"html": false |
18
|
26 |
}, |
|
27 |
"editorStyle": "wp-block-archives-editor" |
16
|
28 |
} |