PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.11
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.11
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / post-grid / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.11, at blocks/post-grid/block.json

162 lines 3.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "apiVersion": 3,
3 "$schema": "https://schemas.wp.org/trunk/block.json",
4 "name": "blockenberg/post-grid",
5 "title": "Post Grid",
6 "description": "Display posts or custom post types in a responsive card grid. Powered by the built-in REST API endpoint.",
7 "category": "bkbg-blog",
8 "icon": "grid-view",
9 "keywords": [
10 "posts",
11 "grid",
12 "blog",
13 "cards",
14 "query",
15 "cpt"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-post-grid-editor",
19 "editorStyle": "bkbg-post-grid-style",
20 "style": "bkbg-post-grid-style",
21 "viewScript": "bkbg-post-grid-frontend",
22 "supports": {
23 "html": false,
24 "anchor": true,
25 "className": true,
26 "align": [
27 "wide",
28 "full"
29 ]
30 },
31 "attributes": {
32 "postType": {
33 "type": "string",
34 "default": "post"
35 },
36 "orderby": {
37 "type": "string",
38 "default": "date"
39 },
40 "order": {
41 "type": "string",
42 "default": "desc"
43 },
44 "perPage": {
45 "type": "number",
46 "default": 6
47 },
48 "offset": {
49 "type": "number",
50 "default": 0
51 },
52 "excerptLen": {
53 "type": "number",
54 "default": 20
55 },
56 "columns": {
57 "type": "number",
58 "default": 3
59 },
60 "columnsTablet": {
61 "type": "number",
62 "default": 2
63 },
64 "columnsMobile": {
65 "type": "number",
66 "default": 1
67 },
68 "gapX": {
69 "type": "number",
70 "default": 24
71 },
72 "gapY": {
73 "type": "number",
74 "default": 24
75 },
76 "showImage": {
77 "type": "boolean",
78 "default": true
79 },
80 "imageRatio": {
81 "type": "string",
82 "default": "56.25"
83 },
84 "imageHoverEffect": {
85 "type": "string",
86 "default": "zoom"
87 },
88 "showMeta": {
89 "type": "boolean",
90 "default": true
91 },
92 "showExcerpt": {
93 "type": "boolean",
94 "default": true
95 },
96 "showReadMore": {
97 "type": "boolean",
98 "default": true
99 },
100 "readMoreLabel": {
101 "type": "string",
102 "default": "Read More"
103 },
104 "readMoreStyle": {
105 "type": "string",
106 "default": "link"
107 },
108 "cardStyle": {
109 "type": "string",
110 "default": "shadow"
111 },
112
113 "cardBg": {
114 "type": "string",
115 "default": "#ffffff"
116 },
117 "cardRadius": {
118 "type": "number",
119 "default": 10
120 },
121 "titleColor": {
122 "type": "string",
123 "default": "#111827"
124 },
125 "titleHoverColor": {
126 "type": "string",
127 "default": "#2563eb"
128 },
129 "excerptColor": {
130 "type": "string",
131 "default": "#6b7280"
132 },
133 "metaColor": {
134 "type": "string",
135 "default": "#9ca3af"
136 },
137 "linkColor": {
138 "type": "string",
139 "default": "#2563eb"
140 },
141 "borderColor": {
142 "type": "string",
143 "default": "#e5e7eb"
144 },
145 "noPostsMessage": {
146 "type": "string",
147 "default": "No posts found."
148 },
149 "titleTypo": {
150 "type": "object",
151 "default": {}
152 },
153 "excerptTypo": {
154 "type": "object",
155 "default": {}
156 },
157 "metaTypo": {
158 "type": "object",
159 "default": {}
160 }
161 }
162 }