| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/faq-section", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "FAQ Section", |
| 7 |
"category": "bkbg-business", |
| 8 |
"icon": "editor-help", |
| 9 |
"description": "Complete FAQ landing-page section with styled section header, inline accordion items, multiple layout variants, and a bottom contact CTA. Different from FAQ Schema (SEO) and FAQ Categories (search UI).", |
| 10 |
"keywords": [ |
| 11 |
"faq", |
| 12 |
"questions", |
| 13 |
"accordion", |
| 14 |
"help", |
| 15 |
"support", |
| 16 |
"section" |
| 17 |
], |
| 18 |
"textdomain": "blockenberg", |
| 19 |
"editorScript": "bkbg-faq-section-editor", |
| 20 |
"style": "bkbg-faq-section-style", |
| 21 |
"viewScript": "bkbg-faq-section-frontend", |
| 22 |
"supports": { |
| 23 |
"html": false, |
| 24 |
"align": [ |
| 25 |
"wide", |
| 26 |
"full" |
| 27 |
] |
| 28 |
}, |
| 29 |
"attributes": { |
| 30 |
"eyebrow": { |
| 31 |
"type": "string", |
| 32 |
"default": "FAQ" |
| 33 |
}, |
| 34 |
"showEyebrow": { |
| 35 |
"type": "boolean", |
| 36 |
"default": true |
| 37 |
}, |
| 38 |
"heading": { |
| 39 |
"type": "string", |
| 40 |
"default": "Frequently Asked Questions" |
| 41 |
}, |
| 42 |
"subtext": { |
| 43 |
"type": "string", |
| 44 |
"default": "Everything you need to know. Can't find the answer? Reach out to our team." |
| 45 |
}, |
| 46 |
"showSubtext": { |
| 47 |
"type": "boolean", |
| 48 |
"default": true |
| 49 |
}, |
| 50 |
"items": { |
| 51 |
"type": "array", |
| 52 |
"default": [ |
| 53 |
{ |
| 54 |
"question": "What's included in the plan?", |
| 55 |
"answer": "You get full access to all features, including priority support, unlimited projects, and monthly updates. No hidden fees." |
| 56 |
}, |
| 57 |
{ |
| 58 |
"question": "Can I cancel at any time?", |
| 59 |
"answer": "Yes — cancel any time from your dashboard. You'll retain access until the end of your billing period." |
| 60 |
}, |
| 61 |
{ |
| 62 |
"question": "Do you offer a free trial?", |
| 63 |
"answer": "We offer a 14-day free trial with no credit card required. Explore all features before committing." |
| 64 |
}, |
| 65 |
{ |
| 66 |
"question": "Is there a limit on team members?", |
| 67 |
"answer": "No. All plans support unlimited team members. Invite your whole team at no extra cost." |
| 68 |
}, |
| 69 |
{ |
| 70 |
"question": "What payment methods do you accept?", |
| 71 |
"answer": "We accept all major credit cards, PayPal, and bank transfers for annual plans." |
| 72 |
}, |
| 73 |
{ |
| 74 |
"question": "How do I get support?", |
| 75 |
"answer": "Our support team is available via live chat and email Monday–Friday, 9am–6pm EST, with average response times under 2 hours." |
| 76 |
} |
| 77 |
] |
| 78 |
}, |
| 79 |
"layout": { |
| 80 |
"type": "string", |
| 81 |
"default": "centered" |
| 82 |
}, |
| 83 |
"expandFirst": { |
| 84 |
"type": "boolean", |
| 85 |
"default": true |
| 86 |
}, |
| 87 |
"allowMultiple": { |
| 88 |
"type": "boolean", |
| 89 |
"default": false |
| 90 |
}, |
| 91 |
"iconType": { |
| 92 |
"type": "string", |
| 93 |
"default": "chevron" |
| 94 |
}, |
| 95 |
"showDividers": { |
| 96 |
"type": "boolean", |
| 97 |
"default": true |
| 98 |
}, |
| 99 |
"showCta": { |
| 100 |
"type": "boolean", |
| 101 |
"default": true |
| 102 |
}, |
| 103 |
"ctaText": { |
| 104 |
"type": "string", |
| 105 |
"default": "Still have questions?" |
| 106 |
}, |
| 107 |
"ctaLabel": { |
| 108 |
"type": "string", |
| 109 |
"default": "Contact us →" |
| 110 |
}, |
| 111 |
"ctaUrl": { |
| 112 |
"type": "string", |
| 113 |
"default": "#" |
| 114 |
}, |
| 115 |
"bgColor": { |
| 116 |
"type": "string", |
| 117 |
"default": "#ffffff" |
| 118 |
}, |
| 119 |
"headingColor": { |
| 120 |
"type": "string", |
| 121 |
"default": "#111827" |
| 122 |
}, |
| 123 |
"eyebrowColor": { |
| 124 |
"type": "string", |
| 125 |
"default": "#7c3aed" |
| 126 |
}, |
| 127 |
"eyebrowBg": { |
| 128 |
"type": "string", |
| 129 |
"default": "#f3f0ff" |
| 130 |
}, |
| 131 |
"subtextColor": { |
| 132 |
"type": "string", |
| 133 |
"default": "#6b7280" |
| 134 |
}, |
| 135 |
"questionColor": { |
| 136 |
"type": "string", |
| 137 |
"default": "#111827" |
| 138 |
}, |
| 139 |
"answerColor": { |
| 140 |
"type": "string", |
| 141 |
"default": "#4b5563" |
| 142 |
}, |
| 143 |
"iconColor": { |
| 144 |
"type": "string", |
| 145 |
"default": "#7c3aed" |
| 146 |
}, |
| 147 |
"dividerColor": { |
| 148 |
"type": "string", |
| 149 |
"default": "#e5e7eb" |
| 150 |
}, |
| 151 |
"activeAccent": { |
| 152 |
"type": "string", |
| 153 |
"default": "#7c3aed" |
| 154 |
}, |
| 155 |
"ctaLinkColor": { |
| 156 |
"type": "string", |
| 157 |
"default": "#7c3aed" |
| 158 |
}, |
| 159 |
"headingSize": { |
| 160 |
"type": "integer", |
| 161 |
"default": 40 |
| 162 |
}, |
| 163 |
"questionSize": { |
| 164 |
"type": "integer", |
| 165 |
"default": 16 |
| 166 |
}, |
| 167 |
"answerSize": { |
| 168 |
"type": "integer", |
| 169 |
"default": 15 |
| 170 |
}, |
| 171 |
"typoEyebrow": { |
| 172 |
"type": "object", |
| 173 |
"default": {} |
| 174 |
}, |
| 175 |
"typoHeading": { |
| 176 |
"type": "object", |
| 177 |
"default": {} |
| 178 |
}, |
| 179 |
"typoSubtext": { |
| 180 |
"type": "object", |
| 181 |
"default": {} |
| 182 |
}, |
| 183 |
"typoQuestion": { |
| 184 |
"type": "object", |
| 185 |
"default": {} |
| 186 |
}, |
| 187 |
"typoAnswer": { |
| 188 |
"type": "object", |
| 189 |
"default": {} |
| 190 |
}, |
| 191 |
"itemRadius": { |
| 192 |
"type": "integer", |
| 193 |
"default": 10 |
| 194 |
}, |
| 195 |
"maxWidth": { |
| 196 |
"type": "integer", |
| 197 |
"default": 800 |
| 198 |
}, |
| 199 |
"paddingTop": { |
| 200 |
"type": "integer", |
| 201 |
"default": 80 |
| 202 |
}, |
| 203 |
"paddingBottom": { |
| 204 |
"type": "integer", |
| 205 |
"default": 80 |
| 206 |
} |
| 207 |
} |
| 208 |
} |
| 209 |
|