✏️ 编辑:block.json
路径:
/virtual/emerald/public_html/toukai.emerald.jpn.com/_wp2025/wp-includes/blocks/query/block.json
大小:1.17 KB · 修改:2022-04-12 15:12:48 · 权限:0747 · 可写
← 返回目录
👁 查看
⬇ 下载
{ "$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 } }, "tagName": { "type": "string", "default": "div" }, "displayLayout": { "type": "object", "default": { "type": "list" } } }, "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" }
💾 保存
取消
保存为 UTF-8,换行统一为 LF