- md5
- 4f85d2a08d5259887962db8c11890882
- sha1
- c4fc1b5f478097e07cc098af84898e1934c700b1
- sha256
- f37a436a5c1d84be14dcd8a8f114a817a00b743d73a69253352384997a9fbecc
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
{
"$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.",
"keywords": [ "posts", "list", "blog", "blogs", "custom post types" ],
"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": [],
"format": []
}
},
"tagName": {
"type": "string",
"default": "div"
},
"namespace": {
"type": "string"
},
"enhancedPagination": {
"type": "boolean",
"default": false
}
},
"usesContext": [ "templateSlug" ],
"providesContext": {
"queryId": "queryId",
"query": "query",
"displayLayout": "displayLayout",
"enhancedPagination": "enhancedPagination"
},
"supports": {
"anchor": true,
"align": [ "wide", "full" ],
"html": false,
"layout": true,
"interactivity": true
},
"editorStyle": "wp-block-query-editor"
}
The same content is in 21 releases, WordPress 7.0-beta1 to 7.0.8. See them all, or every version of this file.