- md5
- 17f7f8306deab7a44d5e9e3f2eff593f
- sha1
- d0a601b3b645c9bbabf8e8b86b6ce8f2e8265da3
- sha256
- 7a6293c49fe299845c75ff3a4ed93a510c99d57234b81928e63bc23af308a811
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
{
"$schema": "https://schemas.wp.org/trunk/block.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",
"order": "desc",
"orderBy": "date",
"author": "",
"search": "",
"exclude": [],
"sticky": "",
"inherit": true,
"taxQuery": null,
"parents": []
}
},
"tagName": {
"type": "string",
"default": "div"
},
"displayLayout": {
"type": "object",
"default": {
"type": "list"
}
},
"namespace": {
"type": "string"
}
},
"providesContext": {
"queryId": "queryId",
"query": "query",
"displayLayout": "displayLayout"
},
"supports": {
"align": [ "wide", "full" ],
"html": false,
"__experimentalLayout": true
},
"editorStyle": "wp-block-query-editor"
}
The same content is in 24 releases, WordPress 6.2-beta4 to 6.2.15. See them all, or every version of this file.