block.json
176 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "title": "EmbedPress Google Reviews", |
| 4 | "name": "embedpress/google-reviews", |
| 5 | "category": "embedpress", |
| 6 | "description": "Embed Google Business reviews instantly. Select your saved place, pick a stunning layout, and beautifully display your customer feedback without needing complex API keys.", |
| 7 | "apiVersion": 2, |
| 8 | "textdomain": "embedpress", |
| 9 | "editorScript": "embedpress-blocks-editor", |
| 10 | "editorStyle": "embedpress-blocks-editor-style", |
| 11 | "style": "embedpress-blocks-style", |
| 12 | "supports": { |
| 13 | "align": [ |
| 14 | "left", |
| 15 | "center", |
| 16 | "right", |
| 17 | "wide", |
| 18 | "full" |
| 19 | ], |
| 20 | "html": false, |
| 21 | "anchor": true, |
| 22 | "lightBlockWrapper": true, |
| 23 | "default": "center" |
| 24 | }, |
| 25 | "attributes": { |
| 26 | "placeId": { |
| 27 | "type": "string", |
| 28 | "default": "" |
| 29 | }, |
| 30 | "placeName": { |
| 31 | "type": "string", |
| 32 | "default": "" |
| 33 | }, |
| 34 | "placeAddress": { |
| 35 | "type": "string", |
| 36 | "default": "" |
| 37 | }, |
| 38 | "limit": { |
| 39 | "type": "number", |
| 40 | "default": 10 |
| 41 | }, |
| 42 | "minRating": { |
| 43 | "type": "number", |
| 44 | "default": 0 |
| 45 | }, |
| 46 | "layout": { |
| 47 | "type": "string", |
| 48 | "default": "list" |
| 49 | }, |
| 50 | "showPhoto": { |
| 51 | "type": "boolean", |
| 52 | "default": true |
| 53 | }, |
| 54 | "showStars": { |
| 55 | "type": "boolean", |
| 56 | "default": true |
| 57 | }, |
| 58 | "showDate": { |
| 59 | "type": "boolean", |
| 60 | "default": true |
| 61 | }, |
| 62 | "showLink": { |
| 63 | "type": "boolean", |
| 64 | "default": false |
| 65 | }, |
| 66 | "showImages": { |
| 67 | "type": "boolean", |
| 68 | "default": true |
| 69 | }, |
| 70 | "columns": { |
| 71 | "type": "number", |
| 72 | "default": 3 |
| 73 | }, |
| 74 | "maxWidth": { |
| 75 | "type": "number", |
| 76 | "default": 0 |
| 77 | }, |
| 78 | "gap": { |
| 79 | "type": "number", |
| 80 | "default": 20 |
| 81 | }, |
| 82 | "showArrows": { |
| 83 | "type": "boolean", |
| 84 | "default": true |
| 85 | }, |
| 86 | "showDots": { |
| 87 | "type": "boolean", |
| 88 | "default": true |
| 89 | }, |
| 90 | "carouselLoop": { |
| 91 | "type": "boolean", |
| 92 | "default": true |
| 93 | }, |
| 94 | "autoplaySpeed": { |
| 95 | "type": "number", |
| 96 | "default": 5 |
| 97 | }, |
| 98 | "showSummary": { |
| 99 | "type": "boolean", |
| 100 | "default": true |
| 101 | }, |
| 102 | "showSummaryName": { |
| 103 | "type": "boolean", |
| 104 | "default": true |
| 105 | }, |
| 106 | "showSummaryRating": { |
| 107 | "type": "boolean", |
| 108 | "default": true |
| 109 | }, |
| 110 | "showSummaryStars": { |
| 111 | "type": "boolean", |
| 112 | "default": true |
| 113 | }, |
| 114 | "showSummaryCount": { |
| 115 | "type": "boolean", |
| 116 | "default": true |
| 117 | }, |
| 118 | "showWriteReview": { |
| 119 | "type": "boolean", |
| 120 | "default": true |
| 121 | }, |
| 122 | "summaryAlign": { |
| 123 | "type": "string", |
| 124 | "default": "left" |
| 125 | }, |
| 126 | "sort": { |
| 127 | "type": "string", |
| 128 | "default": "newest" |
| 129 | }, |
| 130 | "keyword": { |
| 131 | "type": "string", |
| 132 | "default": "" |
| 133 | }, |
| 134 | "hideEmpty": { |
| 135 | "type": "boolean", |
| 136 | "default": false |
| 137 | }, |
| 138 | "fetchAll": { |
| 139 | "type": "boolean", |
| 140 | "default": false |
| 141 | }, |
| 142 | "theme": { |
| 143 | "type": "string", |
| 144 | "default": "light" |
| 145 | }, |
| 146 | "accentColor": { |
| 147 | "type": "string", |
| 148 | "default": "" |
| 149 | }, |
| 150 | "autoplay": { |
| 151 | "type": "boolean", |
| 152 | "default": false |
| 153 | }, |
| 154 | "schema": { |
| 155 | "type": "boolean", |
| 156 | "default": false |
| 157 | }, |
| 158 | "places": { |
| 159 | "type": "array", |
| 160 | "default": [] |
| 161 | }, |
| 162 | "cacheTtl": { |
| 163 | "type": "number", |
| 164 | "default": 0 |
| 165 | }, |
| 166 | "loadMore": { |
| 167 | "type": "boolean", |
| 168 | "default": true |
| 169 | }, |
| 170 | "perPage": { |
| 171 | "type": "number", |
| 172 | "default": 0 |
| 173 | } |
| 174 | } |
| 175 | } |
| 176 |