| 1 |
{ |
| 2 |
"apiVersion": 3, |
| 3 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 4 |
"name": "blockenberg/howto-schema", |
| 5 |
"title": "HowTo Schema", |
| 6 |
"category": "bkbg-blog", |
| 7 |
"icon": "list-view", |
| 8 |
"description": "Step-by-step How-To guide with automatic Schema.org HowTo JSON-LD structured data for Google rich results. Includes supplies, tools, total time, cost estimate, and numbered steps with images.", |
| 9 |
"keywords": [ |
| 10 |
"howto", |
| 11 |
"how-to", |
| 12 |
"schema", |
| 13 |
"seo", |
| 14 |
"steps", |
| 15 |
"tutorial", |
| 16 |
"guide", |
| 17 |
"instructions", |
| 18 |
"structured data" |
| 19 |
], |
| 20 |
"textdomain": "blockenberg", |
| 21 |
"editorScript": "bkbg-howto-schema-editor", |
| 22 |
"style": "bkbg-howto-schema-style", |
| 23 |
"viewScript": "bkbg-howto-schema-frontend", |
| 24 |
"supports": { |
| 25 |
"html": false, |
| 26 |
"anchor": true, |
| 27 |
"className": true, |
| 28 |
"align": [ |
| 29 |
"wide", |
| 30 |
"full" |
| 31 |
] |
| 32 |
}, |
| 33 |
"attributes": { |
| 34 |
"title": { |
| 35 |
"type": "string", |
| 36 |
"default": "How to Build a WordPress Website" |
| 37 |
}, |
| 38 |
"showTitle": { |
| 39 |
"type": "boolean", |
| 40 |
"default": true |
| 41 |
}, |
| 42 |
"description": { |
| 43 |
"type": "string", |
| 44 |
"default": "A step-by-step guide to setting up and launching a professional WordPress website from scratch." |
| 45 |
}, |
| 46 |
"showDescription": { |
| 47 |
"type": "boolean", |
| 48 |
"default": true |
| 49 |
}, |
| 50 |
"totalTime": { |
| 51 |
"type": "string", |
| 52 |
"default": "PT2H" |
| 53 |
}, |
| 54 |
"totalTimeLabel": { |
| 55 |
"type": "string", |
| 56 |
"default": "2 hours" |
| 57 |
}, |
| 58 |
"estimatedCost": { |
| 59 |
"type": "string", |
| 60 |
"default": "15" |
| 61 |
}, |
| 62 |
"costCurrency": { |
| 63 |
"type": "string", |
| 64 |
"default": "USD" |
| 65 |
}, |
| 66 |
"showMeta": { |
| 67 |
"type": "boolean", |
| 68 |
"default": true |
| 69 |
}, |
| 70 |
"steps": { |
| 71 |
"type": "array", |
| 72 |
"default": [ |
| 73 |
{ |
| 74 |
"id": "s1", |
| 75 |
"name": "Choose a Domain Name", |
| 76 |
"text": "Pick a memorable, brand-relevant domain name. Use a domain registrar like Namecheap or GoDaddy to check availability and register it.", |
| 77 |
"imageUrl": "", |
| 78 |
"imageId": 0 |
| 79 |
}, |
| 80 |
{ |
| 81 |
"id": "s2", |
| 82 |
"name": "Select a Web Host", |
| 83 |
"text": "Choose a WordPress-optimised hosting provider such as SiteGround, Kinsta, or WP Engine. Select a plan that suits your traffic expectations.", |
| 84 |
"imageUrl": "", |
| 85 |
"imageId": 0 |
| 86 |
}, |
| 87 |
{ |
| 88 |
"id": "s3", |
| 89 |
"name": "Install WordPress", |
| 90 |
"text": "Most hosts provide a one-click WordPress installer. Log in to your hosting control panel and run the WordPress installation wizard.", |
| 91 |
"imageUrl": "", |
| 92 |
"imageId": 0 |
| 93 |
}, |
| 94 |
{ |
| 95 |
"id": "s4", |
| 96 |
"name": "Choose a Theme", |
| 97 |
"text": "Navigate to Appearance → Themes in the WordPress dashboard. Browse or upload a theme that matches your brand. Activate it.", |
| 98 |
"imageUrl": "", |
| 99 |
"imageId": 0 |
| 100 |
}, |
| 101 |
{ |
| 102 |
"id": "s5", |
| 103 |
"name": "Install Essential Plugins", |
| 104 |
"text": "Install plugins for SEO (Yoast or RankMath), caching (WP Rocket), security (Wordfence), and a contact form (WPForms).", |
| 105 |
"imageUrl": "", |
| 106 |
"imageId": 0 |
| 107 |
}, |
| 108 |
{ |
| 109 |
"id": "s6", |
| 110 |
"name": "Create Your Core Pages", |
| 111 |
"text": "Build your Home, About, Services/Products, Blog, and Contact pages. Use the Block Editor to add content, images, and calls to action.", |
| 112 |
"imageUrl": "", |
| 113 |
"imageId": 0 |
| 114 |
} |
| 115 |
] |
| 116 |
}, |
| 117 |
"supplies": { |
| 118 |
"type": "array", |
| 119 |
"default": [ |
| 120 |
{ |
| 121 |
"id": "sup1", |
| 122 |
"name": "Domain name", |
| 123 |
"imageUrl": "" |
| 124 |
}, |
| 125 |
{ |
| 126 |
"id": "sup2", |
| 127 |
"name": "Hosting plan", |
| 128 |
"imageUrl": "" |
| 129 |
} |
| 130 |
] |
| 131 |
}, |
| 132 |
"tools": { |
| 133 |
"type": "array", |
| 134 |
"default": [ |
| 135 |
{ |
| 136 |
"id": "tl1", |
| 137 |
"name": "Web browser", |
| 138 |
"imageUrl": "" |
| 139 |
}, |
| 140 |
{ |
| 141 |
"id": "tl2", |
| 142 |
"name": "Text/code editor", |
| 143 |
"imageUrl": "" |
| 144 |
} |
| 145 |
] |
| 146 |
}, |
| 147 |
"showSupplies": { |
| 148 |
"type": "boolean", |
| 149 |
"default": true |
| 150 |
}, |
| 151 |
"showTools": { |
| 152 |
"type": "boolean", |
| 153 |
"default": true |
| 154 |
}, |
| 155 |
"showStepImages": { |
| 156 |
"type": "boolean", |
| 157 |
"default": true |
| 158 |
}, |
| 159 |
"showStepNumbers": { |
| 160 |
"type": "boolean", |
| 161 |
"default": true |
| 162 |
}, |
| 163 |
"stepLayout": { |
| 164 |
"type": "string", |
| 165 |
"default": "vertical" |
| 166 |
}, |
| 167 |
"accentColor": { |
| 168 |
"type": "string", |
| 169 |
"default": "#6c3fb5" |
| 170 |
}, |
| 171 |
"titleColor": { |
| 172 |
"type": "string", |
| 173 |
"default": "#1e1b4b" |
| 174 |
}, |
| 175 |
"descColor": { |
| 176 |
"type": "string", |
| 177 |
"default": "#374151" |
| 178 |
}, |
| 179 |
"stepNameColor": { |
| 180 |
"type": "string", |
| 181 |
"default": "#1e1b4b" |
| 182 |
}, |
| 183 |
"stepTextColor": { |
| 184 |
"type": "string", |
| 185 |
"default": "#374151" |
| 186 |
}, |
| 187 |
"stepNumBg": { |
| 188 |
"type": "string", |
| 189 |
"default": "#6c3fb5" |
| 190 |
}, |
| 191 |
"stepNumColor": { |
| 192 |
"type": "string", |
| 193 |
"default": "#ffffff" |
| 194 |
}, |
| 195 |
"metaBg": { |
| 196 |
"type": "string", |
| 197 |
"default": "#f5f3ff" |
| 198 |
}, |
| 199 |
"metaBorder": { |
| 200 |
"type": "string", |
| 201 |
"default": "#ede9fe" |
| 202 |
}, |
| 203 |
"metaColor": { |
| 204 |
"type": "string", |
| 205 |
"default": "#374151" |
| 206 |
}, |
| 207 |
"supplyBg": { |
| 208 |
"type": "string", |
| 209 |
"default": "#f9fafb" |
| 210 |
}, |
| 211 |
"supplyBorder": { |
| 212 |
"type": "string", |
| 213 |
"default": "#e5e7eb" |
| 214 |
}, |
| 215 |
"cardBg": { |
| 216 |
"type": "string", |
| 217 |
"default": "#ffffff" |
| 218 |
}, |
| 219 |
"cardBorder": { |
| 220 |
"type": "string", |
| 221 |
"default": "#e5e7eb" |
| 222 |
}, |
| 223 |
"connectorColor": { |
| 224 |
"type": "string", |
| 225 |
"default": "#e5e7eb" |
| 226 |
}, |
| 227 |
"bgColor": { |
| 228 |
"type": "string", |
| 229 |
"default": "" |
| 230 |
}, |
| 231 |
"titleSize": { |
| 232 |
"type": "number", |
| 233 |
"default": 30 |
| 234 |
}, |
| 235 |
"stepNameSize": { |
| 236 |
"type": "number", |
| 237 |
"default": 17 |
| 238 |
}, |
| 239 |
"stepTextSize": { |
| 240 |
"type": "number", |
| 241 |
"default": 14 |
| 242 |
}, |
| 243 |
"cardRadius": { |
| 244 |
"type": "number", |
| 245 |
"default": 12 |
| 246 |
}, |
| 247 |
"stepNumSize": { |
| 248 |
"type": "number", |
| 249 |
"default": 18 |
| 250 |
}, |
| 251 |
"paddingTop": { |
| 252 |
"type": "number", |
| 253 |
"default": 60 |
| 254 |
}, |
| 255 |
"paddingBottom": { |
| 256 |
"type": "number", |
| 257 |
"default": 60 |
| 258 |
}, |
| 259 |
"titleTypo": { |
| 260 |
"type": "object", |
| 261 |
"default": {} |
| 262 |
}, |
| 263 |
"stepNameTypo": { |
| 264 |
"type": "object", |
| 265 |
"default": {} |
| 266 |
}, |
| 267 |
"stepTextTypo": { |
| 268 |
"type": "object", |
| 269 |
"default": {} |
| 270 |
} |
| 271 |
} |
| 272 |
} |
| 273 |
|