| @@ -6,28 +6,56 @@ | ||
| 6 | 6 | formsPerPage:{ |
| 7 | 7 | type: 'string', |
| 8 | 8 | default: '12', |
| 9 | 9 | }, |
| 10 | + paged:{ | |
| 11 | + type: 'boolean', | |
| 12 | + default: true, | |
| 13 | + }, | |
| 10 | 14 | formIDs: { |
| 15 | + type: 'array', | |
| 16 | + default: [], | |
| 17 | + }, | |
| 18 | + excludedFormIDs:{ | |
| 19 | + type: 'array', | |
| 20 | + default: [], | |
| 21 | + }, | |
| 22 | + excludeForms:{ | |
| 23 | + type: 'boolean', | |
| 24 | + default: false, | |
| 25 | + }, | |
| 26 | + orderBy:{ | |
| 11 | 27 | type: 'string', |
| 12 | - default: '', | |
| 28 | + default: 'date', | |
| 13 | 29 | }, |
| 14 | - excludedFormIDs:{ | |
| 30 | + order:{ | |
| 15 | 31 | type: 'string', |
| 16 | - default: '', | |
| 32 | + default: 'DESC', | |
| 17 | 33 | }, |
| 18 | 34 | categories:{ |
| 19 | - type: 'string', | |
| 20 | - default: '', | |
| 35 | + type: 'array', | |
| 36 | + default: [], | |
| 21 | 37 | }, |
| 22 | 38 | tags:{ |
| 23 | - type: 'string', | |
| 24 | - default: '', | |
| 39 | + type: 'array', | |
| 40 | + default: [], | |
| 25 | 41 | }, |
| 26 | 42 | columns: { |
| 27 | 43 | type: 'string', |
| 28 | - default: 'best-fit', | |
| 44 | + default: '1', | |
| 29 | 45 | }, |
| 46 | + imageSize: { | |
| 47 | + type: 'string', | |
| 48 | + default: 'medium', | |
| 49 | + }, | |
| 50 | + imageHeight: { | |
| 51 | + type: 'string', | |
| 52 | + default: 'auto', | |
| 53 | + }, | |
| 54 | + imageHeightOptions: { | |
| 55 | + type: 'string', | |
| 56 | + default: 'auto', | |
| 57 | + }, | |
| 30 | 58 | showTitle: { |
| 31 | 59 | type: 'boolean', |
| 32 | 60 | default: true, |
| 33 | 61 | }, |
| @@ -42,11 +70,39 @@ | ||
| 42 | 70 | showFeaturedImage: { |
| 43 | 71 | type: 'boolean', |
| 44 | 72 | default: true, |
| 45 | 73 | }, |
| 74 | + showDonateButton: { | |
| 75 | + type: 'boolean', | |
| 76 | + default: true, | |
| 77 | + }, | |
| 78 | + tagBackgroundColor: { | |
| 79 | + type: 'string', | |
| 80 | + default: '#69b86b', | |
| 81 | + }, | |
| 82 | + tagTextColor: { | |
| 83 | + type: 'string', | |
| 84 | + default: '#ffffff', | |
| 85 | + }, | |
| 86 | + donateButtonTextColor: { | |
| 87 | + type: 'string', | |
| 88 | + default: '#69b86b', | |
| 89 | + }, | |
| 46 | 90 | displayType: { |
| 47 | 91 | type: 'string', |
| 48 | 92 | default: 'redirect', |
| 49 | 93 | }, |
| 94 | + excerptLength: { | |
| 95 | + type: 'integer', | |
| 96 | + default: 16 | |
| 97 | + }, | |
| 98 | + filterOptions: { | |
| 99 | + type: 'string', | |
| 100 | + default: 'tags', | |
| 101 | + }, | |
| 102 | + progressBarColor: { | |
| 103 | + type: 'string', | |
| 104 | + default: '#69b86b' | |
| 105 | + } | |
| 50 | 106 | }; |
| 51 | 107 | |
| 52 | 108 | export default blockAttributes; |