PluginProbe ʕ •ᴥ•ʔ
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More / 4.0.7
Superb Addons: Blocks, Patterns, Pre-built Pages, Sliders, Popups, Free Forms, Animations & More v4.0.7
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 4.0.0 trunk 1.0.0 2.0.0 2.0.1 2.0.2 2.0.3 3.0 3.0.1 3.0.2 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.2.0 3.2.1 3.2.2 3.2.4 3.2.5 3.2.7 3.2.8 3.2.9 3.3.0 3.3.1 3.3.2 3.4.0 3.4.1 3.4.2 3.4.5 3.4.6 3.5.0 3.5.1 3.5.2 3.5.3 3.5.4 3.5.6 3.5.7 3.5.8 3.5.9 3.6.0 3.6.1 3.6.2 3.7.0 3.7.1
superb-blocks / blocks / recent-posts / block.json
superb-blocks / blocks / recent-posts Last commit date
block.json 3 days ago index-rtl.css 3 days ago index.asset.php 3 days ago index.css 3 days ago index.js 3 days ago style-index-rtl.css 3 days ago style-index.css 3 days ago
block.json
63 lines
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "superb-addons/recent-posts",
5 "version": "0.2.0",
6 "title": "Superb Recent Posts",
7 "category": "superb-addons-blocks",
8 "icon": "list-view",
9 "description": "Display your latest posts with thumbnails, author, date, and excerpts. Filter by category or tag.",
10 "keywords": [
11 "post",
12 "posts",
13 "recent",
14 "latest",
15 "latest posts",
16 "recent posts",
17 "list"
18 ],
19 "supports": {
20 "html": false,
21 "align": ["left", "right"]
22 },
23 "attributes": {
24 "IsInEditor": { "type": "boolean", "default": false },
25 "toolbarAlignment": { "type": "string", "default": "left" },
26 "numberOfPosts": { "type": "number", "default": 5 },
27 "selectedCategories": { "type": "array", "default": [] },
28 "selectedTags": { "type": "array", "default": [] },
29 "displayAuthor": { "type": "boolean", "default": true },
30 "useAuthorDisplayName": { "type": "boolean", "default": true },
31 "displayDate": { "type": "boolean", "default": true },
32 "displayCommentCount": { "type": "boolean", "default": false },
33 "displayExcerpt": { "type": "boolean", "default": false },
34 "excerptLength": { "type": "number", "default": 10 },
35 "linksTargetBlank": { "type": "boolean", "default": false },
36 "displayThumbnails": { "type": "boolean", "default": true },
37 "displayPlaceholderThumbnails": { "type": "boolean", "default": true },
38 "thumbnailSize": { "type": "number", "default": 45 },
39 "imgBorderRadiusEnabled": { "type": "boolean", "default": false },
40 "imgBorderRadius": { "type": "number", "default": 8 },
41 "excludeCurrent": { "type": "boolean", "default": false },
42 "displayBlockOnFront": { "type": "boolean", "default": true },
43 "displayBlockOnBlog": { "type": "boolean", "default": true },
44 "displayBlockOnPagesPosts": { "type": "boolean", "default": true },
45 "fontSizeTitle": { "type": "number", "default": 16 },
46 "fontSizeExcerpt": { "type": "number", "default": 14 },
47 "fontSizeMeta": { "type": "number", "default": 14 },
48 "fontSizeCommentCount": { "type": "number", "default": 14 },
49 "colorTitle": { "type": "string" },
50 "colorTitleWPC": { "type": "string" },
51 "colorExcerpt": { "type": "string" },
52 "colorExcerptWPC": { "type": "string" },
53 "colorMeta": { "type": "string" },
54 "colorMetaWPC": { "type": "string" },
55 "colorCommentCount": { "type": "string" },
56 "colorCommentCountWPC": { "type": "string" }
57 },
58 "textdomain": "superb-blocks",
59 "editorScript": "file:./index.js",
60 "editorStyle": "file:./index.css",
61 "style": "file:./style-index.css"
62 }
63