block.json
1 month ago
index.asset.php
1 month ago
index.js
1 month ago
render.php
1 month ago
view.asset.php
1 month ago
view.js
1 month ago
block.json
101 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "awt/child-author-header", |
| 5 | "version": "1.0.0", |
| 6 | "title": "Header (Child Author)", |
| 7 | "category": "theme", |
| 8 | "icon": "menu", |
| 9 | "description": "Dynamic header with WordPress menu integration, mobile toggle, and Smart Pro Locking for styling controls.", |
| 10 | "keywords": [ |
| 11 | "header", |
| 12 | "navigation", |
| 13 | "menu", |
| 14 | "child-author" |
| 15 | ], |
| 16 | "textdomain": "author-website-templates", |
| 17 | "editorScript": "file:./index.js", |
| 18 | "viewScript": "file:./view.js", |
| 19 | "render": "file:./render.php", |
| 20 | "attributes": { |
| 21 | "align": { |
| 22 | "type": "string", |
| 23 | "default": "full" |
| 24 | }, |
| 25 | "menuSlug": { |
| 26 | "type": "string", |
| 27 | "default": "" |
| 28 | }, |
| 29 | "logoText": { |
| 30 | "type": "string", |
| 31 | "default": "John Doe" |
| 32 | }, |
| 33 | "ctaText": { |
| 34 | "type": "string", |
| 35 | "default": "Latest Book!" |
| 36 | }, |
| 37 | "ctaUrl": { |
| 38 | "type": "string", |
| 39 | "default": "#featured-book" |
| 40 | }, |
| 41 | "navBgColor": { |
| 42 | "type": "string", |
| 43 | "default": "" |
| 44 | }, |
| 45 | "linkColor": { |
| 46 | "type": "string", |
| 47 | "default": "" |
| 48 | }, |
| 49 | "btnBgColor": { |
| 50 | "type": "string", |
| 51 | "default": "" |
| 52 | }, |
| 53 | "blockId": { |
| 54 | "type": "string", |
| 55 | "default": "" |
| 56 | }, |
| 57 | "headerStyle": { |
| 58 | "type": "string", |
| 59 | "default": "fun" |
| 60 | }, |
| 61 | "logoType": { |
| 62 | "type": "string", |
| 63 | "default": "custom" |
| 64 | }, |
| 65 | "logoImageId": { |
| 66 | "type": "number", |
| 67 | "default": 0 |
| 68 | }, |
| 69 | "logoImageUrl": { |
| 70 | "type": "string", |
| 71 | "default": "" |
| 72 | }, |
| 73 | "headerBgColor": { |
| 74 | "type": "string", |
| 75 | "default": "" |
| 76 | }, |
| 77 | "siteTitleColor": { |
| 78 | "type": "string", |
| 79 | "default": "" |
| 80 | }, |
| 81 | "btnTextColor": { |
| 82 | "type": "string", |
| 83 | "default": "" |
| 84 | }, |
| 85 | "btnHoverBgColor": { |
| 86 | "type": "string", |
| 87 | "default": "" |
| 88 | }, |
| 89 | "btnHoverTextColor": { |
| 90 | "type": "string", |
| 91 | "default": "" |
| 92 | } |
| 93 | }, |
| 94 | "supports": { |
| 95 | "html": false, |
| 96 | "align": [ |
| 97 | "full" |
| 98 | ], |
| 99 | "alignWide": true |
| 100 | } |
| 101 | } |