block.json
99 lines
| 1 | { |
| 2 | "$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 | "apiVersion": 3, |
| 4 | "name": "awt/child-author-about", |
| 5 | "version": "1.0.0", |
| 6 | "title": "About Author (Child Author)", |
| 7 | "category": "theme", |
| 8 | "icon": "admin-users", |
| 9 | "description": "About author section with bio, image, and Smart Pro Locking for styling controls.", |
| 10 | "keywords": [ |
| 11 | "about", |
| 12 | "author", |
| 13 | "profile", |
| 14 | "child-author" |
| 15 | ], |
| 16 | "textdomain": "author-website-templates", |
| 17 | "editorScript": "file:./index.js", |
| 18 | "attributes": { |
| 19 | "align": { |
| 20 | "type": "string", |
| 21 | "default": "full" |
| 22 | }, |
| 23 | "heading": { |
| 24 | "type": "string", |
| 25 | "default": "Who's This Person?" |
| 26 | }, |
| 27 | "authorImageId": { |
| 28 | "type": "number", |
| 29 | "default": 0 |
| 30 | }, |
| 31 | "authorImageUrl": { |
| 32 | "type": "string", |
| 33 | "default": "https://via.placeholder.com/400x500?text=Author+Photo" |
| 34 | }, |
| 35 | "buttonText": { |
| 36 | "type": "string", |
| 37 | "default": "Say Hello" |
| 38 | }, |
| 39 | "buttonUrl": { |
| 40 | "type": "string", |
| 41 | "default": "#contact" |
| 42 | }, |
| 43 | "sectionBgColor": { |
| 44 | "type": "string", |
| 45 | "default": "" |
| 46 | }, |
| 47 | "sectionPadding": { |
| 48 | "type": "number", |
| 49 | "default": null |
| 50 | }, |
| 51 | "headingColor": { |
| 52 | "type": "string", |
| 53 | "default": "" |
| 54 | }, |
| 55 | "textColor": { |
| 56 | "type": "string", |
| 57 | "default": "" |
| 58 | }, |
| 59 | "btnBgColor": { |
| 60 | "type": "string", |
| 61 | "default": "" |
| 62 | }, |
| 63 | "btnTextColor": { |
| 64 | "type": "string", |
| 65 | "default": "" |
| 66 | }, |
| 67 | "btnHoverBgColor": { |
| 68 | "type": "string", |
| 69 | "default": "" |
| 70 | }, |
| 71 | "btnHoverTextColor": { |
| 72 | "type": "string", |
| 73 | "default": "" |
| 74 | }, |
| 75 | "imageStyle": { |
| 76 | "type": "string", |
| 77 | "default": "circle" |
| 78 | }, |
| 79 | "showButton": { |
| 80 | "type": "boolean", |
| 81 | "default": true |
| 82 | }, |
| 83 | "blockId": { |
| 84 | "type": "string", |
| 85 | "default": "" |
| 86 | }, |
| 87 | "aboutStyle": { |
| 88 | "type": "string", |
| 89 | "default": "fun" |
| 90 | } |
| 91 | }, |
| 92 | "supports": { |
| 93 | "html": false, |
| 94 | "align": [ |
| 95 | "full" |
| 96 | ] |
| 97 | }, |
| 98 | "style": "file:./index.css" |
| 99 | } |