PluginProbe
Gutenberg / 23.2.0
Gutenberg v23.2.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 12.6.0 All 403 releases
gutenberg / build / scripts / block-library / query / block.json
build/scripts/block-library/query
block.json 1.3 KB 6 months ago

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

61 lines 1.3 KB 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 }
32 },
33 "tagName": {
34 "type": "string",
35 "default": "div"
36 },
37 "namespace": {
38 "type": "string"
39 },
40 "enhancedPagination": {
41 "type": "boolean",
42 "default": false
43 }
44 },
45 "usesContext": [ "templateSlug" ],
46 "providesContext": {
47 "queryId": "queryId",
48 "query": "query",
49 "displayLayout": "displayLayout",
50 "enhancedPagination": "enhancedPagination"
51 },
52 "supports": {
53 "anchor": true,
54 "align": [ "wide", "full" ],
55 "html": false,
56 "layout": true,
57 "interactivity": true
58 },
59 "editorStyle": "wp-block-query-editor"
60 }
61