PluginProbe
Getwid – Gutenberg Blocks / 3.0.2
Getwid – Gutenberg Blocks v3.0.2
3.0.2 3.0.1 3.0.0 2.1.0 2.1.1 2.1.2 2.1.3 2.2.0 trunk 1.8.7 1.9.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9
getwid / assets / blocks / custom-post-type / block.json

block.json in Getwid – Gutenberg Blocks 3.0.2, at assets/blocks/custom-post-type/block.json

113 lines 2.0 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 "textdomain": "getwid",
5 "name": "getwid/custom-post-type",
6 "description": "Displays a filtered list of custom posts.",
7 "category": "getwid-blocks",
8 "title": "Custom Post Type",
9 "keywords": [
10 "query",
11 "loop",
12 "posts"
13 ],
14 "supports": {
15 "align": [
16 "wide",
17 "full"
18 ]
19 },
20 "attributes": {
21 "postTemplate": {
22 "type": "string"
23 },
24 "postsToShow": {
25 "type": "number",
26 "default": 5
27 },
28 "offset": {
29 "type": "number",
30 "default": 0
31 },
32 "pagination": {
33 "type": "boolean",
34 "default": false
35 },
36 "ignoreSticky": {
37 "type": "boolean",
38 "default": true
39 },
40 "filterById": {
41 "type": "string"
42 },
43 "excludeById": {
44 "type": "string"
45 },
46 "excludeCurrentPost": {
47 "type": "boolean",
48 "default": false
49 },
50 "childPagesCurrentPage": {
51 "type": "boolean",
52 "default": false
53 },
54 "parentPageId": {
55 "type": "string"
56 },
57 "postType": {
58 "type": "string",
59 "default": "post"
60 },
61 "taxonomy": {
62 "type": "array",
63 "items": {
64 "type": "string"
65 }
66 },
67 "terms": {
68 "type": "array",
69 "items": {
70 "type": "string"
71 }
72 },
73 "relation": {
74 "type": "string",
75 "default": "AND"
76 },
77 "order": {
78 "type": "string",
79 "default": "desc"
80 },
81 "orderBy": {
82 "type": "string",
83 "default": "date"
84 },
85 "postLayout": {
86 "type": "string",
87 "default": "list"
88 },
89 "columns": {
90 "type": "number",
91 "default": 3
92 },
93 "spacing": {
94 "type": "string",
95 "default": "default"
96 },
97 "align": {
98 "type": "string"
99 },
100 "className": {
101 "type": "string"
102 },
103 "metaQuery": {
104 "type": "array",
105 "default": []
106 }
107 },
108 "editorScript": "file:./index.js",
109 "editorStyle": "file:./index.css",
110 "style": [
111 "file:./style-index.css"
112 ]
113 }