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 / recent-posts / block.json

block.json in Getwid – Gutenberg Blocks 3.0.2, at assets/blocks/recent-posts/block.json

92 lines 1.7 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/recent-posts",
6 "description": "Displays a list of recent posts.",
7 "category": "getwid-blocks",
8 "title": "Recent Posts",
9 "keywords": [
10 "latest"
11 ],
12 "supports": {
13 "html": false,
14 "align": [
15 "wide",
16 "full"
17 ]
18 },
19 "attributes": {
20 "titleTag": {
21 "type": "string",
22 "default": "h3"
23 },
24 "imageSize": {
25 "type": "string",
26 "default": "full"
27 },
28 "cropImages": {
29 "type": "boolean",
30 "default": true
31 },
32 "categories": {
33 "type": "string"
34 },
35 "postsToShow": {
36 "type": "number",
37 "default": 5
38 },
39 "showTitle": {
40 "type": "boolean",
41 "default": true
42 },
43 "showDate": {
44 "type": "boolean",
45 "default": false
46 },
47 "showCategories": {
48 "type": "boolean",
49 "default": false
50 },
51 "showCommentsCount": {
52 "type": "boolean",
53 "default": false
54 },
55 "showContent": {
56 "type": "boolean",
57 "default": false
58 },
59 "contentLength": {
60 "type": "number",
61 "default": 55
62 },
63 "showFeaturedImage": {
64 "type": "boolean",
65 "default": false
66 },
67 "postLayout": {
68 "type": "string",
69 "default": "list"
70 },
71 "columns": {
72 "type": "number",
73 "default": 3
74 },
75 "order": {
76 "type": "string",
77 "default": "desc"
78 },
79 "orderBy": {
80 "type": "string",
81 "default": "date"
82 },
83 "className": {
84 "type": "string"
85 }
86 },
87 "editorScript": "file:./index.js",
88 "editorStyle": "file:./index.css",
89 "style": [
90 "file:./style-index.css"
91 ]
92 }