2020-06-26 09:33:47 -04:00
|
|
|
{
|
2022-04-12 11:12:47 -04:00
|
|
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
2020-10-20 09:36:16 -04:00
|
|
|
"apiVersion": 2,
|
2020-06-26 09:33:47 -04:00
|
|
|
"name": "core/latest-comments",
|
2021-05-19 11:09:27 -04:00
|
|
|
"title": "Latest Comments",
|
2020-06-26 09:33:47 -04:00
|
|
|
"category": "widgets",
|
2021-05-19 11:09:27 -04:00
|
|
|
"description": "Display a list of your most recent comments.",
|
|
|
|
"keywords": [ "recent comments" ],
|
|
|
|
"textdomain": "default",
|
2020-06-26 09:33:47 -04:00
|
|
|
"attributes": {
|
|
|
|
"commentsToShow": {
|
|
|
|
"type": "number",
|
|
|
|
"default": 5,
|
|
|
|
"minimum": 1,
|
|
|
|
"maximum": 100
|
|
|
|
},
|
|
|
|
"displayAvatar": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"displayDate": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
},
|
|
|
|
"displayExcerpt": {
|
|
|
|
"type": "boolean",
|
|
|
|
"default": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"supports": {
|
|
|
|
"align": true,
|
2023-02-07 02:04:52 -05:00
|
|
|
"anchor": true,
|
|
|
|
"html": false,
|
|
|
|
"spacing": {
|
|
|
|
"margin": true,
|
|
|
|
"padding": true
|
|
|
|
}
|
2021-01-27 21:04:13 -05:00
|
|
|
},
|
|
|
|
"editorStyle": "wp-block-latest-comments-editor",
|
|
|
|
"style": "wp-block-latest-comments"
|
2020-06-26 09:33:47 -04:00
|
|
|
}
|