|
226 | 226 | ->singularName('News Article') |
227 | 227 | ->icon('zmdi-assignment') |
228 | 228 | ->categoryType('news-categories') |
229 | | - ->features(['image-gallery', 'categories', 'featured-image', 'excerpt']) |
| 229 | + ->features('image-gallery', 'categories', 'featured-image', 'excerpt') |
230 | 230 | ->description('Latest news and updates') |
231 | 231 | ->ogDescription('Stay updated with our latest news'), |
232 | 232 |
|
|
236 | 236 | ->singularName('Blog Post') |
237 | 237 | ->icon('zmdi-library') |
238 | 238 | ->categoryType('blog-categories') |
239 | | - ->features(['image-gallery', 'categories', 'featured-image', 'excerpt']) |
| 239 | + ->features('image-gallery', 'categories', 'featured-image', 'excerpt') |
240 | 240 | ->description('Blog articles and insights') |
241 | 241 | ->ogDescription('Read our latest blog posts'), |
242 | 242 |
|
|
246 | 246 | ->singularName('Download') |
247 | 247 | ->icon('zmdi-download') |
248 | 248 | ->categoryType('download-categories') |
249 | | - ->features(['documents', 'categories']) |
| 249 | + ->features('documents', 'categories') |
250 | 250 | ->description('Downloadable files and documents'), |
251 | 251 |
|
252 | 252 | PostType::make('announcements') |
|
255 | 255 | ->singularName('Announcement') |
256 | 256 | ->icon('zmdi-alert-triangle') |
257 | 257 | ->categoryType('announcement-categories') |
258 | | - ->features(['documents', 'document-number', 'expireable', 'categories', 'reference-no']) |
| 258 | + ->features('documents', 'document-number', 'expireable', 'categories', 'reference-no') |
259 | 259 | ->description('Important announcements and notices'), |
260 | 260 |
|
261 | 261 | PostType::make('publications') |
|
264 | 264 | ->singularName('Publication') |
265 | 265 | ->icon('zmdi-book') |
266 | 266 | ->categoryType('publication-categories') |
267 | | - ->features(['documents', 'categories', 'featured-image']) |
| 267 | + ->features('documents', 'categories', 'featured-image') |
268 | 268 | ->description('Published documents and materials'), |
269 | 269 |
|
270 | 270 | PostType::make('jobs') |
|
273 | 273 | ->singularName('Job') |
274 | 274 | ->icon('zmdi-case') |
275 | 275 | ->categoryType('job-categories') |
276 | | - ->features(['documents', 'document-number', 'expireable', 'categories', 'reference-no']) |
| 276 | + ->features('documents', 'document-number', 'expireable', 'categories', 'reference-no') |
277 | 277 | ->description('Job openings and career opportunities'), |
278 | 278 |
|
279 | 279 | PostType::make('galleries') |
|
282 | 282 | ->singularName('Gallery') |
283 | 283 | ->icon('zmdi-collection-image-o') |
284 | 284 | ->categoryType('gallery-categories') |
285 | | - ->features(['image-gallery', 'format', 'categories']) |
| 285 | + ->features('image-gallery', 'format', 'categories') |
286 | 286 | ->description('Photo and video galleries'), |
287 | 287 |
|
288 | 288 | PostType::make('tenders') |
|
291 | 291 | ->singularName('Tender') |
292 | 292 | ->icon('zmdi-assignment') |
293 | 293 | ->categoryType('tender-categories') |
294 | | - ->features(['documents', 'document-number', 'expireable', 'categories', 'reference-no', 'gazette-link']) |
| 294 | + ->features('documents', 'document-number', 'expireable', 'categories', 'reference-no', 'gazette-link') |
295 | 295 | ->description('Tender notices and bids'), |
296 | 296 |
|
297 | 297 | PostType::make('reports') |
|
300 | 300 | ->singularName('Report') |
301 | 301 | ->icon('zmdi-collection-text') |
302 | 302 | ->categoryType('report-categories') |
303 | | - ->features(['documents', 'categories', 'document-number']) |
| 303 | + ->features('documents', 'categories', 'document-number') |
304 | 304 | ->description('Reports and statistics'), |
305 | 305 |
|
306 | 306 | PostType::make('pages') |
307 | 307 | ->name('Pages') |
308 | 308 | ->nameDv('ސްފްޙާތައް') |
309 | 309 | ->singularName('Page') |
310 | 310 | ->icon('zmdi-file') |
311 | | - ->features(['page-style']) |
| 311 | + ->features('page-style') |
312 | 312 | ->description('Static pages and content'), |
313 | 313 | ], |
314 | 314 |
|
|
0 commit comments