| 1 |
{ |
| 2 |
"apiVersion": 2, |
| 3 |
"name": "tiptip/category-posts-block", |
| 4 |
"title": "Category Posts", |
| 5 |
"category": "widgets", |
| 6 |
"icon": "admin-post", |
| 7 |
"description": "Adds a widget that shows the most recent posts from a single category.", |
| 8 |
"textdomain": "category-posts", |
| 9 |
"attributes": { |
| 10 |
"title": { |
| 11 |
"type": "string", |
| 12 |
"default": "Category Posts" |
| 13 |
}, |
| 14 |
"titleLink": { |
| 15 |
"type": "boolean", |
| 16 |
"default": false |
| 17 |
}, |
| 18 |
"titleLinkTarget": { |
| 19 |
"type": "boolean", |
| 20 |
"default": false |
| 21 |
}, |
| 22 |
"titleLevel": { |
| 23 |
"type": "string", |
| 24 |
"default": "Initial" |
| 25 |
}, |
| 26 |
"titleLinkUrl": { |
| 27 |
"type": "string", |
| 28 |
"default": "" |
| 29 |
}, |
| 30 |
"hideTitle": { |
| 31 |
"type": "boolean", |
| 32 |
"default": false |
| 33 |
}, |
| 34 |
"categorySuggestions": { |
| 35 |
"type": "array", |
| 36 |
"default": [] |
| 37 |
}, |
| 38 |
"selectCategories": { |
| 39 |
"type": "array", |
| 40 |
"default": [] |
| 41 |
}, |
| 42 |
"categories": { |
| 43 |
"type": "string", |
| 44 |
"default": "" |
| 45 |
}, |
| 46 |
"num": { |
| 47 |
"type": "string", |
| 48 |
"default": 10 |
| 49 |
}, |
| 50 |
"offset": { |
| 51 |
"type": "integer", |
| 52 |
"default": 1 |
| 53 |
}, |
| 54 |
"orderBy": { |
| 55 |
"type": "string", |
| 56 |
"default": "date" |
| 57 |
}, |
| 58 |
"status": { |
| 59 |
"type": "string", |
| 60 |
"default": "publish" |
| 61 |
}, |
| 62 |
"order": { |
| 63 |
"type": "boolean", |
| 64 |
"default": true |
| 65 |
}, |
| 66 |
"excludeCurrentPost": { |
| 67 |
"type": "boolean", |
| 68 |
"default": false |
| 69 |
}, |
| 70 |
"hideNoThumb": { |
| 71 |
"type": "boolean", |
| 72 |
"default": false |
| 73 |
}, |
| 74 |
"sticky": { |
| 75 |
"type": "boolean", |
| 76 |
"default": false |
| 77 |
}, |
| 78 |
"footerLinkText": { |
| 79 |
"type": "string", |
| 80 |
"default": "" |
| 81 |
}, |
| 82 |
"footerLink": { |
| 83 |
"type": "string", |
| 84 |
"default": "" |
| 85 |
}, |
| 86 |
"footerLinkTarget": { |
| 87 |
"type": "boolean", |
| 88 |
"default": false |
| 89 |
}, |
| 90 |
"itemTitleLevel": { |
| 91 |
"type": "string", |
| 92 |
"default": "Inline" |
| 93 |
}, |
| 94 |
"itemTitleLines": { |
| 95 |
"type": "integer", |
| 96 |
"default": 2 |
| 97 |
}, |
| 98 |
"thumbW": { |
| 99 |
"type": "integer", |
| 100 |
"default": 150 |
| 101 |
}, |
| 102 |
"thumbFluidWidth": { |
| 103 |
"type": "integer", |
| 104 |
"default": 100 |
| 105 |
}, |
| 106 |
"thumbH": { |
| 107 |
"type": "integer", |
| 108 |
"default": 150 |
| 109 |
}, |
| 110 |
"thumbHover": { |
| 111 |
"type": "string", |
| 112 |
"default": "none" |
| 113 |
}, |
| 114 |
"hidePostTitles": { |
| 115 |
"type": "boolean", |
| 116 |
"default": false |
| 117 |
}, |
| 118 |
"excerptRadio": { |
| 119 |
"type": "string", |
| 120 |
"default": "excerpt" |
| 121 |
}, |
| 122 |
"excerptLines": { |
| 123 |
"type": "integer", |
| 124 |
"default": 4 |
| 125 |
}, |
| 126 |
"excerptLength": { |
| 127 |
"type": "integer", |
| 128 |
"default": 0 |
| 129 |
}, |
| 130 |
"excerptMoreText": { |
| 131 |
"type": "string", |
| 132 |
"default": "" |
| 133 |
}, |
| 134 |
"excerptFilters": { |
| 135 |
"type": "boolean", |
| 136 |
"default": false |
| 137 |
}, |
| 138 |
"commentNum": { |
| 139 |
"type": "boolean", |
| 140 |
"default": false |
| 141 |
}, |
| 142 |
"disableCss": { |
| 143 |
"type": "boolean", |
| 144 |
"default": false |
| 145 |
}, |
| 146 |
"disableFontStyles": { |
| 147 |
"type": "boolean", |
| 148 |
"default": false |
| 149 |
}, |
| 150 |
"disableThemeStyles": { |
| 151 |
"type": "boolean", |
| 152 |
"default": false |
| 153 |
}, |
| 154 |
"showPostFormat": { |
| 155 |
"type": "string", |
| 156 |
"default": "none" |
| 157 |
}, |
| 158 |
"noCatChilds": { |
| 159 |
"type": "boolean", |
| 160 |
"default": false |
| 161 |
}, |
| 162 |
"everythingIsLink": { |
| 163 |
"type": "boolean", |
| 164 |
"default": false |
| 165 |
}, |
| 166 |
"presetDateFormat": { |
| 167 |
"type": "string", |
| 168 |
"default": "sitedate" |
| 169 |
}, |
| 170 |
"dateFormat": { |
| 171 |
"type": "string", |
| 172 |
"default": "" |
| 173 |
}, |
| 174 |
"datePastTime": { |
| 175 |
"type": "string", |
| 176 |
"default": "0" |
| 177 |
}, |
| 178 |
"template": { |
| 179 |
"type": "string", |
| 180 |
"default": "%title%\n\n%thumb%\n\n%excerpt%" |
| 181 |
}, |
| 182 |
"textDoNotWrapThumb": { |
| 183 |
"type": "boolean", |
| 184 |
"default": false |
| 185 |
}, |
| 186 |
"enableLoadmore": { |
| 187 |
"type": "boolean", |
| 188 |
"default": false |
| 189 |
}, |
| 190 |
"loadmoreScrollTo": { |
| 191 |
"type": "boolean", |
| 192 |
"default": false |
| 193 |
}, |
| 194 |
"loadmoreText": { |
| 195 |
"type": "string", |
| 196 |
"default": "Load More (%step%/%all%)" |
| 197 |
}, |
| 198 |
"loadingText": { |
| 199 |
"type": "string", |
| 200 |
"default": "Loading..." |
| 201 |
}, |
| 202 |
"dateRange": { |
| 203 |
"type": "string", |
| 204 |
"default": "off" |
| 205 |
}, |
| 206 |
"startDate": { |
| 207 |
"type": "string", |
| 208 |
"default": "" |
| 209 |
}, |
| 210 |
"endDate": { |
| 211 |
"type": "string", |
| 212 |
"default": "" |
| 213 |
}, |
| 214 |
"daysAgo": { |
| 215 |
"type": "integer", |
| 216 |
"default": 30 |
| 217 |
}, |
| 218 |
"noMatchHandling": { |
| 219 |
"type": "string", |
| 220 |
"default": "nothing" |
| 221 |
}, |
| 222 |
"noMatchText": { |
| 223 |
"type": "string", |
| 224 |
"default": "" |
| 225 |
}, |
| 226 |
"defaultThunmbnail": { |
| 227 |
"type": "integer", |
| 228 |
"default": 0 |
| 229 |
}, |
| 230 |
"ver": { |
| 231 |
"type": "string", |
| 232 |
"default": "4.9.13" |
| 233 |
}, |
| 234 |
"instanceId": { |
| 235 |
"type": "number" |
| 236 |
} |
| 237 |
}, |
| 238 |
"supports": { |
| 239 |
"align": true, |
| 240 |
"html": false |
| 241 |
}, |
| 242 |
"editorScript": "file:./build/index.js", |
| 243 |
"editorStyle": [ |
| 244 |
"file:./build/style-index.css", |
| 245 |
"file:./build/index.css" |
| 246 |
], |
| 247 |
"style": "file:./build/style-index.css" |
| 248 |
} |
| 249 |
|