PluginProbe ʕ •ᴥ•ʔ
GenerateBlocks / 2.0.2
GenerateBlocks v2.0.2
trunk 1.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.7.0 1.7.1 1.7.2 1.7.3 1.8.0 1.8.1 1.8.2 1.8.3 1.9.0 1.9.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 2.2.0 2.2.1 2.3.0
generateblocks / dist / blocks / query / block.json
generateblocks / dist / blocks / query Last commit date
block.json 1 year ago index-rtl.css 1 year ago index.asset.php 1 year ago index.css 1 year ago index.js 1 year ago
block.json
90 lines
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "generateblocks/query",
5 "title": "Query",
6 "category": "generateblocks",
7 "description": "Query posts and display them in a loop.",
8 "keywords": [
9 "query",
10 "loop",
11 "posts"
12 ],
13 "version": "1.0.0",
14 "textdomain": "generateblocks",
15 "attributes": {
16 "uniqueId": {
17 "type": "string",
18 "default": ""
19 },
20 "tagName": {
21 "type": "string",
22 "default": "",
23 "enum": [
24 "div",
25 "section",
26 "article",
27 "aside",
28 "header",
29 "footer",
30 "nav",
31 "main"
32 ]
33 },
34 "styles": {
35 "type": "object",
36 "default": {}
37 },
38 "css": {
39 "type": "string",
40 "default": ""
41 },
42 "globalClasses": {
43 "type": "array",
44 "default": []
45 },
46 "htmlAttributes": {
47 "type": "object",
48 "default": {}
49 },
50 "queryType": {
51 "type": "string",
52 "default": "WP_Query"
53 },
54 "paginationType": {
55 "type": "string",
56 "default": "standard",
57 "enum": [
58 "standard",
59 "instant"
60 ]
61 },
62 "query": {
63 "type": "object",
64 "default": {}
65 },
66 "inheritQuery": {
67 "type": "boolean",
68 "default": false
69 },
70 "showTemplateSelector": {
71 "type": "boolean",
72 "default": false
73 }
74 },
75 "supports": {
76 "align": false,
77 "className": false
78 },
79 "editorScript": "file:./index.js",
80 "editorStyle": [
81 "file:./index.css"
82 ],
83 "providesContext": {
84 "generateblocks/query": "query",
85 "generateblocks/queryId": "uniqueId",
86 "generateblocks/inheritQuery": "inheritQuery",
87 "generateblocks/paginationType": "paginationType",
88 "generateblocks/queryType": "queryType"
89 }
90 }