- md5
- c5fb03f10182c101179065839b1f8212
- sha1
- a0ea5156b33bc2c02bd70e1aa48161d68b41ffcc
- sha256
- b7786bcd71848a2eff7029f5ddae50111a02851fe325b79b27dce452fcb2bae2
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
{
"$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": [],
"excludeCurrent": null
}
},
"tagName": {
"type": "string",
"default": "div"
},
"namespace": {
"type": "string"
},
"enhancedPagination": {
"type": "boolean",
"default": false
}
},
"usesContext": [ "templateSlug", "postType" ],
"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 14 releases, WordPress 7.1-beta1 to 7.1.4. See them all, or every version of this file.