Blog · Gutenberg

HowTo Schema block for WordPress

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.

Get Blockenberg

Free Gutenberg block in Blockenberg. The inspector controls and front-end behavior on this page come from this block’s source, not a shared stub.

Get Blockenberg

What it actually does

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.

Inspector panels on this block: Step, Steps, Supplies, Tools, Guide Info, Display. Those titles come from index.js, not from a shared template.

Where to find it

Gutenberg inserter → Blog → search “HowTo Schema” (block name `blockenberg/howto-schema` in block.json). Style it in the sidebar after insert.

How to use HowTo Schema block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “HowTo Schema”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open Step. Set “Step title”, “Step description”, “Show supplies section”, “Show tools section”.
  4. Check the published page. The view script reads HTML data attributes: data-animate. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Step titleText field in the inspector.
Step descriptionMultiline text field in the inspector.
Show supplies sectionOn/off toggle in the inspector. On by default. Saved as `showSupplies`.
Show tools sectionOn/off toggle in the inspector. On by default. Saved as `showTools`.
Total time (ISO 8601 – e.g. PT30M, PT2H)Text field in the inspector. block.json default: PT2H. Saved as `totalTime`.
Time label (displayed)Text field in the inspector. block.json default: 2 hours. Saved as `totalTimeLabel`.
Estimated cost (number only)Text field in the inspector. block.json default: 15. Saved as `estimatedCost`.
Currency (e.g. USD, EUR)Text field in the inspector. block.json default: USD. Saved as `costCurrency`.
Show titleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Show descriptionOn/off toggle in the inspector. On by default. Saved as `showDescription`.
Show meta bar (time/cost)On/off toggle in the inspector. On by default. Saved as `showMeta`.
Numbered stepsOn/off toggle in the inspector. On by default. Saved as `showStepNumbers`.
Show step imagesOn/off toggle in the inspector. On by default. Saved as `showStepImages`.
Step number size (px)Numeric range control in the inspector. Range 12–32. block.json default: 18. Saved as `stepNumSize`.
Padding top (px)Numeric range control in the inspector. Range 0–200. block.json default: 60. Saved as `paddingTop`.
Padding bottom (px)Numeric range control in the inspector. Range 0–200. block.json default: 60. Saved as `paddingBottom`.
AccentColor control in the inspector. block.json default: #6c3fb5. Saved as `accentColor`.
Colors — TitleColor control in the inspector. block.json default: #1e1b4b. Saved as `titleColor`.
DescriptionColor control in the inspector. block.json default: #374151. Saved as `descColor`.
Step number backgroundColor control in the inspector. block.json default: #6c3fb5. Saved as `stepNumBg`.
Step number textColor control in the inspector. block.json default: #ffffff. Saved as `stepNumColor`.
Step titleColor control in the inspector. block.json default: #1e1b4b. Saved as `stepNameColor`.
Step textColor control in the inspector. block.json default: #374151. Saved as `stepTextColor`.
Meta bar backgroundColor control in the inspector. block.json default: #f5f3ff. Saved as `metaBg`.
Meta bar borderColor control in the inspector. block.json default: #ede9fe. Saved as `metaBorder`.
Meta bar textColor control in the inspector. block.json default: #374151. Saved as `metaColor`.
Card backgroundColor control in the inspector. block.json default: #ffffff. Saved as `cardBg`.
Card borderColor control in the inspector. block.json default: #e5e7eb. Saved as `cardBorder`.
Supply/tool backgroundColor control in the inspector. block.json default: #f9fafb. Saved as `supplyBg`.
Supply/tool borderColor control in the inspector. block.json default: #e5e7eb. Saved as `supplyBorder`.
Block backgroundColor control in the inspector. Saved as `bgColor`.

What the front-end script actually does

When this is the right block

Notes from the implementation

viewScript: this folder’s frontend.js is enqueued on the front end for this block.

FAQ

How do I add the HowTo Schema block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “HowTo Schema”. It sits under Blog. After insert, open Step and set “Step title”, “Step description”, “Show supplies section”, “Show tools section”.

Does HowTo Schema output FAQ schema?

Yes, when the schema toggle on this block is on. The front-end script injects FAQPage JSON-LD. That is not the same as Yoast/Rank Math site-wide schema.

Is the HowTo Schema Gutenberg block free?

Yes. HowTo Schema ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.

Can I style HowTo Schema to match my theme?

Yes. Blockenberg’s shared typography and color panels apply here, plus any block-specific style controls listed on this page (panels: Step, Steps, Supplies, Tools).

Related blog blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert HowTo Schema from the Gutenberg inserter.

Get Blockenberg