block.json
4 months ago
index.asset.php
4 months ago
index.js
4 months ago
render.php
4 months ago
style-index-rtl.css
4 months ago
style-index.css
4 months ago
view.asset.php
4 months ago
view.js
4 months ago
block.json
120 lines
| 1 | { |
| 2 | "apiVersion": 3, |
| 3 | "name": "awt/author-pro-book-gallery", |
| 4 | "version": "1.0.2", |
| 5 | "title": "Book Gallery [Author Pro]", |
| 6 | "category": "awt-blocks", |
| 7 | "icon": "book", |
| 8 | "description": "A dynamic book gallery with sidebar filters and AJAX loading.", |
| 9 | "supports": { |
| 10 | "html": false, |
| 11 | "anchor": true, |
| 12 | "align": [ |
| 13 | "full" |
| 14 | ] |
| 15 | }, |
| 16 | "attributes": { |
| 17 | "itemsPerPage": { |
| 18 | "type": "number", |
| 19 | "default": 12 |
| 20 | }, |
| 21 | "bookPageUrl": { |
| 22 | "type": "string", |
| 23 | "default": "" |
| 24 | }, |
| 25 | "anchor": { |
| 26 | "type": "string", |
| 27 | "default": "" |
| 28 | }, |
| 29 | "showPagination": { |
| 30 | "type": "boolean", |
| 31 | "default": true |
| 32 | }, |
| 33 | "align": { |
| 34 | "type": "string", |
| 35 | "default": "full" |
| 36 | }, |
| 37 | "showSidebar": { |
| 38 | "type": "boolean", |
| 39 | "default": true |
| 40 | }, |
| 41 | "sectionTitle": { |
| 42 | "type": "string", |
| 43 | "default": "Browse Collection" |
| 44 | }, |
| 45 | "sectionDesc": { |
| 46 | "type": "string", |
| 47 | "default": "Find your next favorite read from our curated selection." |
| 48 | }, |
| 49 | "showSearch": { |
| 50 | "type": "boolean", |
| 51 | "default": true |
| 52 | }, |
| 53 | "showFilterGenre": { |
| 54 | "type": "boolean", |
| 55 | "default": true |
| 56 | }, |
| 57 | "showFilterAuthor": { |
| 58 | "type": "boolean", |
| 59 | "default": true |
| 60 | }, |
| 61 | "showFilterSeries": { |
| 62 | "type": "boolean", |
| 63 | "default": true |
| 64 | }, |
| 65 | "showFilterFormat": { |
| 66 | "type": "boolean", |
| 67 | "default": true |
| 68 | }, |
| 69 | "showFilterLanguage": { |
| 70 | "type": "boolean", |
| 71 | "default": true |
| 72 | }, |
| 73 | "showFilterPublisher": { |
| 74 | "type": "boolean", |
| 75 | "default": true |
| 76 | }, |
| 77 | "showFilterISBN": { |
| 78 | "type": "boolean", |
| 79 | "default": true |
| 80 | }, |
| 81 | "showFilterPrice": { |
| 82 | "type": "boolean", |
| 83 | "default": true |
| 84 | }, |
| 85 | "showFilterYear": { |
| 86 | "type": "boolean", |
| 87 | "default": true |
| 88 | }, |
| 89 | "showFilterAge": { |
| 90 | "type": "boolean", |
| 91 | "default": true |
| 92 | }, |
| 93 | "showFilterRating": { |
| 94 | "type": "boolean", |
| 95 | "default": true |
| 96 | }, |
| 97 | "showSorting": { |
| 98 | "type": "boolean", |
| 99 | "default": true |
| 100 | }, |
| 101 | "paginationType": { |
| 102 | "type": "string", |
| 103 | "default": "numbers", |
| 104 | "enum": [ |
| 105 | "numbers", |
| 106 | "load_more" |
| 107 | ] |
| 108 | }, |
| 109 | "columns": { |
| 110 | "type": "number", |
| 111 | "default": 3 |
| 112 | } |
| 113 | }, |
| 114 | "textdomain": "author-website-templates", |
| 115 | "editorScript": "file:./index.js", |
| 116 | "editorStyle": "file:./index.css", |
| 117 | "style": "file:./style-index.css", |
| 118 | "viewScript": "file:./view.js", |
| 119 | "render": "file:./render.php" |
| 120 | } |