{ "$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" }, "enhancedPagination": { "type": "boolean", "default": false } }, "providesContext": { "queryId": "queryId", "query": "query", "displayLayout": "displayLayout", "enhancedPagination": "enhancedPagination" }, "supports": { "align": [ "wide", "full" ], "html": false, "layout": true }, "editorStyle": "wp-block-query-editor", "style": "wp-block-query", "viewScript": "file:./view.min.js" }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
block.json | File | 1.17 KB | 0777 |
|
editor-rtl.css | File | 1.61 KB | 0777 |
|
editor-rtl.min.css | File | 1.49 KB | 0777 |
|
editor.css | File | 1.61 KB | 0777 |
|
editor.min.css | File | 1.49 KB | 0777 |
|
style-rtl.css | File | 929 B | 0777 |
|
style-rtl.min.css | File | 795 B | 0777 |
|
style.css | File | 922 B | 0777 |
|
style.min.css | File | 788 B | 0777 |
|
view.asset.php | File | 84 B | 0777 |
|
view.js | File | 3.69 KB | 0777 |
|
view.min.asset.php | File | 84 B | 0777 |
|
view.min.js | File | 1.43 KB | 0777 |
|