- md5
- f70f5a880b5c9e86b2dda3d297d30f51
- sha1
- b23ba0668ca0adf8446e14456a5c2bed35e86bbd
- sha256
- 42af7c17c85a4387b452f2bdeb0d726918006c7447d9904336a0cce76a16e8f8
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"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"
},
"namespace": {
"type": "string"
}
},
"providesContext": {
"queryId": "queryId",
"query": "query",
"displayLayout": "displayLayout"
},
"supports": {
"align": [ "wide", "full" ],
"html": false,
"layout": true
},
"editorStyle": "wp-block-query-editor"
}
The same content is in 25 releases, WordPress 6.3-beta1 to 6.3.14. See them all, or every version of this file.