- md5
- 1911b7da6218badc6e1b608e5e98c825
- sha1
- d2f9b17d79e4e9f9af80ba8d44c11286b97d82de
- sha256
- 1452180a58f68af5123a875a7f0104b762208dfc4da0be61fc739438abea8ed9
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
{
"$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,
"color": {
"gradients": true,
"link": true,
"__experimentalDefaultControls": {
"background": true,
"text": true
}
},
"__experimentalLayout": true
},
"editorStyle": "wp-block-query-editor"
}
The same content is in 27 releases, WordPress 6.1-beta1 to 6.1.16. See them all, or every version of this file.