block.json in Gutenify – Visual Site Builder Blocks & Starter Templates 1.1.4, at src/blocks/post-carousel/block.json
| 1 | { |
| 2 | "name": "gutenify/post-carousel", |
| 3 | "category": "gutenify", |
| 4 | "attributes": { |
| 5 | "blockClientId": { |
| 6 | "type": "string", |
| 7 | "default": "" |
| 8 | }, |
| 9 | "blockAdvanceOptions": { |
| 10 | "type": "object", |
| 11 | "default": { |
| 12 | "itemBackgroundColor": "#fff", |
| 13 | "itemLinkColor": "", |
| 14 | "itemColor": "", |
| 15 | "innerBlock": { |
| 16 | "boxShadow": { |
| 17 | "color": "#7a7a7a1a", |
| 18 | "horizontal": 0, |
| 19 | "vertical": 0, |
| 20 | "blur": 32, |
| 21 | "spread": 0, |
| 22 | "position": "" |
| 23 | }, |
| 24 | "contentPadding":{ |
| 25 | "desktop" : { |
| 26 | "top" : "30px", |
| 27 | "left" : "40px", |
| 28 | "bottom" : "30px", |
| 29 | "right" : "40px" |
| 30 | } |
| 31 | } |
| 32 | } |
| 33 | } |
| 34 | }, |
| 35 | "postLink": { |
| 36 | "type": "string", |
| 37 | "default": "Read more" |
| 38 | }, |
| 39 | "columns": { |
| 40 | "type": "number", |
| 41 | "default": 2 |
| 42 | }, |
| 43 | "excerptLength": { |
| 44 | "type": "number", |
| 45 | "default": 12 |
| 46 | }, |
| 47 | "displayFeaturedImage": { |
| 48 | "type": "boolean", |
| 49 | "default": true |
| 50 | }, |
| 51 | "displayPostContent": { |
| 52 | "type": "boolean", |
| 53 | "default": true |
| 54 | }, |
| 55 | "displayPostLink": { |
| 56 | "type": "boolean", |
| 57 | "default": true |
| 58 | }, |
| 59 | "displayPostDate": { |
| 60 | "type": "boolean", |
| 61 | "default": true |
| 62 | }, |
| 63 | "displayPostAuthor": { |
| 64 | "type": "boolean", |
| 65 | "default": true |
| 66 | }, |
| 67 | "displayPostCategories": { |
| 68 | "type": "boolean", |
| 69 | "default": true |
| 70 | }, |
| 71 | "query": { |
| 72 | "type": "object", |
| 73 | "default": { |
| 74 | "numberOfItems": 3 |
| 75 | } |
| 76 | }, |
| 77 | "spaceBetween": { |
| 78 | "type": "number", |
| 79 | "default": 30 |
| 80 | }, |
| 81 | "hasNavigation": { |
| 82 | "type": "boolean", |
| 83 | "default": true |
| 84 | }, |
| 85 | "hasPagination": { |
| 86 | "type": "boolean", |
| 87 | "default": true |
| 88 | }, |
| 89 | "isAutoplay": { |
| 90 | "type": "boolean", |
| 91 | "default": false |
| 92 | }, |
| 93 | "layout": { |
| 94 | "type": "string", |
| 95 | "default": "layout-1" |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 |