You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
959 B
54 lines
959 B
9 months ago
|
{
|
||
|
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||
|
"apiVersion": 3,
|
||
|
"name": "core/rss",
|
||
|
"title": "RSS",
|
||
|
"category": "widgets",
|
||
|
"description": "Display entries from any RSS or Atom feed.",
|
||
|
"keywords": [ "atom", "feed" ],
|
||
|
"textdomain": "default",
|
||
|
"attributes": {
|
||
|
"columns": {
|
||
|
"type": "number",
|
||
|
"default": 2
|
||
|
},
|
||
|
"blockLayout": {
|
||
|
"type": "string",
|
||
|
"default": "list"
|
||
|
},
|
||
|
"feedURL": {
|
||
|
"type": "string",
|
||
|
"default": ""
|
||
|
},
|
||
|
"itemsToShow": {
|
||
|
"type": "number",
|
||
|
"default": 5
|
||
|
},
|
||
|
"displayExcerpt": {
|
||
|
"type": "boolean",
|
||
|
"default": false
|
||
|
},
|
||
|
"displayAuthor": {
|
||
|
"type": "boolean",
|
||
|
"default": false
|
||
|
},
|
||
|
"displayDate": {
|
||
|
"type": "boolean",
|
||
|
"default": false
|
||
|
},
|
||
|
"excerptLength": {
|
||
|
"type": "number",
|
||
|
"default": 55
|
||
|
}
|
||
|
},
|
||
|
"supports": {
|
||
|
"align": true,
|
||
|
"html": false,
|
||
|
"interactivity": {
|
||
|
"clientNavigation": true
|
||
|
}
|
||
|
},
|
||
|
"editorStyle": "wp-block-rss-editor",
|
||
|
"style": "wp-block-rss"
|
||
|
}
|