Blog · Gutenberg

Content Outline block for WordPress

Structured article outline with numbered sections, sub-points, optional status badges, and estimated reading time.

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

Structured article outline with numbered sections, sub-points, optional status badges, and estimated reading time.

Inspector panels on this block: Title & Intro, Sections, Display, Spacing & Shape, Layout Colors, Text Colors, Status Badge Colors. Those titles come from index.js, not from a shared template.

Behavior controls: “Display — Style” options: Card, List, Compact.

Where to find it

Gutenberg inserter → Blog → search “Content Outline” (block name `blockenberg/content-outline` in block.json). Style it in the sidebar after insert.

How to use Content Outline block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Content Outline”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open Title & Intro. Set “Show title”, “Title & Intro — Title”, “Show intro”, “Intro text”.
  4. Check the published page. The view script reads HTML data attributes: data-opts, data-rendered. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Show titleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Title & Intro — TitleText field in the inspector. block.json default: Article Outline. Saved as `outlineTitle`.
Show introOn/off toggle in the inspector. On by default. Saved as `showIntro`.
Intro textMultiline text field in the inspector. block.json default: A structured overview of what this article covers.. Saved as `intro`.
DescriptionText field in the inspector. Saved as `sections`.
Estimated read time (min)Numeric range control in the inspector. Range 0–60. Saved as `sections`.
Display — StyleSelect control; the chosen value is saved on the block. Options: Card; List; Compact. block.json default: card. Saved as `style`.
Show section numbersOn/off toggle in the inspector. On by default. Saved as `showNumbers`.
Show status badgesOn/off toggle in the inspector. On by default. Saved as `showStatus`.
Show read timeOn/off toggle in the inspector. On by default. Saved as `showReadTime`.
Show section descriptionsOn/off toggle in the inspector. On by default. Saved as `showDescription`.
Show sub-pointsOn/off toggle in the inspector. On by default. Saved as `showPoints`.
Border radiusNumeric range control in the inspector. Range 0–32. block.json default: 12. Saved as `borderRadius`.
Gap between sectionsNumeric range control in the inspector. Range 4–48. block.json default: 16. Saved as `gap`.
Outline TitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoTitle`.
Section TitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoSection`.
Point font sizeNumeric range control in the inspector. Range 11–20. block.json default: 14. Saved as `fontSize`.
Layout Colors — BackgroundColor control in the inspector. block.json default: #f8fafc. Saved as `bgColor`.
Card bgColor control in the inspector. block.json default: #ffffff. Saved as `cardBg`.
Layout Colors — BorderColor control in the inspector. block.json default: #e2e8f0. Saved as `borderColor`.
AccentColor control in the inspector. block.json default: #6366f1. Saved as `accentColor`.
Number bgColor control in the inspector. block.json default: #6366f1. Saved as `numberBg`.
Number textColor control in the inspector. block.json default: #ffffff. Saved as `numberColor`.
Outline titleColor control in the inspector. block.json default: #0f172a. Saved as `titleColor`.
Section titleColor control in the inspector. block.json default: #1e293b. Saved as `sectionTitleColor`.
DescriptionColor control in the inspector. block.json default: #64748b. Saved as `descriptionColor`.
Point textColor control in the inspector. block.json default: #374151. Saved as `pointColor`.
IntroColor control in the inspector. block.json default: #64748b. Saved as `introColor`.
Done backgroundColor control in the inspector. block.json default: #dcfce7. Saved as `doneBg`.
Done textColor control in the inspector. block.json default: #166534. Saved as `doneColor`.
In Progress backgroundColor control in the inspector. block.json default: #fef9c3. Saved as `inProgressBg`.
In Progress textColor control in the inspector. block.json default: #854d0e. Saved as `inProgressColor`.
Planned backgroundColor control in the inspector. block.json default: #f1f5f9. Saved as `plannedBg`.
Planned textColor control in the inspector. block.json default: #475569. Saved as `plannedColor`.

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 Content Outline block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Content Outline”. It sits under Blog. After insert, open Title & Intro and set “Show title”, “Title & Intro — Title”, “Show intro”, “Intro text”.

What makes Content Outline different from other Blockenberg blocks?

Structured article outline with numbered sections, sub-points, optional status badges, and estimated reading time. Inspector labels on this block include “Show title”, “Title & Intro — Title”, “Show intro”, “Intro text”.

Is the Content Outline Gutenberg block free?

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

Can I style Content Outline 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: Title & Intro, Sections, Display, Spacing & Shape).

Related blog blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Content Outline from the Gutenberg inserter.

Get Blockenberg