PluginProbe
Gutenberg / 24.1.0
Gutenberg v24.1.0
24.1.0 24.0.0 23.9.1 23.9.0 23.8.0 23.7.2 23.7.1 23.7.0 23.6.1 23.6.2 23.6.0 23.5.3 23.5.2 23.5.1 23.5.0 23.4.0 23.3.2 23.3.1 23.3.0 23.2.0 23.2.1 23.2.2 23.1.1 23.1.0 23.0.1 All 404 releases
gutenberg / build / scripts / block-library / query / block.json

block.json in Gutenberg 24.1.0, at build/scripts/block-library/query/block.json

65 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "core/query",
5 "title": "Query Loop",
6 "category": "theme",
7 "description": "An advanced block that allows displaying post types based on different query parameters and visual configurations.",
8 "keywords": [ "posts", "list", "blog", "blogs", "custom post types" ],
9 "textdomain": "default",
10 "attributes": {
11 "queryId": {
12 "type": "number"
13 },
14 "query": {
15 "type": "object",
16 "default": {
17 "perPage": null,
18 "pages": 0,
19 "offset": 0,
20 "postType": "post",
21 "order": "desc",
22 "orderBy": "date",
23 "author": "",
24 "search": "",
25 "exclude": [],
26 "sticky": "",
27 "inherit": true,
28 "taxQuery": null,
29 "parents": [],
30 "format": [],
31 "excludeCurrent": null
32 }
33 },
34 "tagName": {
35 "type": "string",
36 "default": "div"
37 },
38 "namespace": {
39 "type": "string"
40 },
41 "enhancedPagination": {
42 "type": "boolean",
43 "default": false
44 }
45 },
46 "usesContext": [ "templateSlug", "postType" ],
47 "providesContext": {
48 "queryId": "queryId",
49 "query": "query",
50 "displayLayout": "displayLayout",
51 "enhancedPagination": "enhancedPagination"
52 },
53 "supports": {
54 "anchor": true,
55 "align": [ "wide", "full" ],
56 "html": false,
57 "layout": true,
58 "spacing": {
59 "blockGap": true
60 },
61 "interactivity": true
62 },
63 "editorStyle": "wp-block-query-editor"
64 }
65