block.json in WebberZone Top 10 — Popular Posts 4.4.1, at includes/frontend/blocks/build/popular-posts/block.json
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "top-10/popular-posts", |
| 5 | "version": "2.0.0", |
| 6 | "title": "Top 10 Popular Posts", |
| 7 | "category": "widgets", |
| 8 | "icon": "editor-ol", |
| 9 | "keywords": [ |
| 10 | "top 10", |
| 11 | "popular posts", |
| 12 | "popular" |
| 13 | ], |
| 14 | "description": "Display the Popular Posts", |
| 15 | "supports": { |
| 16 | "html": false |
| 17 | }, |
| 18 | "attributes": { |
| 19 | "className": { |
| 20 | "type": "string" |
| 21 | }, |
| 22 | "heading": { |
| 23 | "type": "boolean" |
| 24 | }, |
| 25 | "daily": { |
| 26 | "type": "boolean" |
| 27 | }, |
| 28 | "daily_range": { |
| 29 | "type": "string" |
| 30 | }, |
| 31 | "hour_range": { |
| 32 | "type": "string" |
| 33 | }, |
| 34 | "limit": { |
| 35 | "type": "string" |
| 36 | }, |
| 37 | "offset": { |
| 38 | "type": "string" |
| 39 | }, |
| 40 | "show_excerpt": { |
| 41 | "type": "boolean" |
| 42 | }, |
| 43 | "show_author": { |
| 44 | "type": "boolean" |
| 45 | }, |
| 46 | "show_date": { |
| 47 | "type": "boolean" |
| 48 | }, |
| 49 | "disp_list_count": { |
| 50 | "type": "boolean" |
| 51 | }, |
| 52 | "tptn_styles": { |
| 53 | "type": "string" |
| 54 | }, |
| 55 | "post_thumb_op": { |
| 56 | "type": "string" |
| 57 | }, |
| 58 | "other_attributes": { |
| 59 | "type": "string" |
| 60 | } |
| 61 | }, |
| 62 | "textdomain": "top-10", |
| 63 | "editorScript": "file:./index.js" |
| 64 | } |