mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-30 07:20:01 +01:00
ab25191895
The commit updates the WordPress packages for beta 3. Props nosolosw, noisysocks, youknowriad. See #53397. Built from https://develop.svn.wordpress.org/trunk@51199 git-svn-id: http://core.svn.wordpress.org/trunk@50808 1a063a9b-81f0-0310-95a4-ce76da25c4cd
57 lines
1.0 KiB
JSON
57 lines
1.0 KiB
JSON
{
|
|
"apiVersion": 2,
|
|
"name": "core/query",
|
|
"title": "Query Loop",
|
|
"category": "theme",
|
|
"description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.",
|
|
"textdomain": "default",
|
|
"attributes": {
|
|
"queryId": {
|
|
"type": "number"
|
|
},
|
|
"query": {
|
|
"type": "object",
|
|
"default": {
|
|
"perPage": null,
|
|
"pages": 0,
|
|
"offset": 0,
|
|
"postType": "post",
|
|
"categoryIds": [],
|
|
"tagIds": [],
|
|
"order": "desc",
|
|
"orderBy": "date",
|
|
"author": "",
|
|
"search": "",
|
|
"exclude": [],
|
|
"sticky": "",
|
|
"inherit": true
|
|
}
|
|
},
|
|
"tagName": {
|
|
"type": "string",
|
|
"default": "div"
|
|
},
|
|
"displayLayout": {
|
|
"type": "object",
|
|
"default": {
|
|
"type": "list"
|
|
}
|
|
}
|
|
},
|
|
"providesContext": {
|
|
"queryId": "queryId",
|
|
"query": "query",
|
|
"displayLayout": "displayLayout"
|
|
},
|
|
"supports": {
|
|
"align": [ "wide", "full" ],
|
|
"html": false,
|
|
"color": {
|
|
"gradients": true,
|
|
"link": true
|
|
},
|
|
"__experimentalLayout": true
|
|
},
|
|
"editorStyle": "wp-block-query-editor"
|
|
}
|