Blog · Gutenberg

Learning Path block for WordPress

Display a structured learning path with steps, skill tags, durations and type indicators.

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

Display a structured learning path with steps, skill tags, durations and type indicators.

Inspector panels on this block: Path Settings, Steps, Layout Colors, Step Type Colors. Those titles come from index.js, not from a shared template.

Behavior controls: “Difficulty” options: Beginner, Intermediate, Advanced; “Type” options: 📖 Lesson, 🔨 Project, ✏️ Quiz, 📄 Reading, 🎬 Video.

Where to find it

Gutenberg inserter → Blog → search “Learning Path” (block name `blockenberg/learning-path` in block.json). Style it in the sidebar after insert.

How to use Learning Path block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Learning Path”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open Path Settings. Set “Path Title”, “Description”, “Show Description”, “Total Duration”.
  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
Path TitleText field in the inspector. block.json default: Full-Stack Web Development Path. Saved as `pathTitle`.
DescriptionMultiline text field in the inspector. block.json default: A structured roadmap to become a proficient full-stack developer — from fundamentals to deployment.. Saved as `description`.
Show DescriptionOn/off toggle in the inspector. On by default. Saved as `showDescription`.
Total DurationText field in the inspector. block.json default: 12 weeks. Saved as `totalDuration`.
DifficultySelect control; the chosen value is saved on the block. Options: Beginner; Intermediate; Advanced. block.json default: intermediate. Saved as `difficulty`.
Show SkillsOn/off toggle in the inspector. On by default. Saved as `showSkills`.
Show DurationOn/off toggle in the inspector. On by default. Saved as `showDuration`.
Show Step NumbersOn/off toggle in the inspector. On by default. Saved as `showStepNumbers`.
Steps — TitleText field in the inspector. Saved as `steps`.
Description (Steps)Multiline text field in the inspector. Saved as `steps`.
TypeSelect control; the chosen value is saved on the block. Options: 📖 Lesson; 🔨 Project; ✏️ Quiz; 📄 Reading; 🎬 Video. Saved as `steps`.
DurationText field in the inspector. Saved as `steps`.
Skills (comma-separated)Text field in the inspector. Saved as `steps`.
Base Font SizeNumeric range control in the inspector. Range 10–22. block.json default: 14. Saved as `fontSize`.
Line Height (%)Numeric range control in the inspector. Range 120–220. block.json default: 160. Saved as `lineHeight`.
Border RadiusNumeric range control in the inspector. Range 0–32. block.json default: 12. Saved as `borderRadius`.
Layout Colors — BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.
Layout Colors — BorderColor control in the inspector. block.json default: #e5e7eb. Saved as `borderColor`.
Layout Colors — TitleColor control in the inspector. block.json default: #111827. Saved as `titleColor`.
DescriptionColor control in the inspector. block.json default: #6b7280. Saved as `descColor`.
Meta Bar BGColor control in the inspector. block.json default: #f8fafc. Saved as `metaBg`.
Meta Bar BorderColor control in the inspector. block.json default: #e2e8f0. Saved as `metaBorderColor`.
Difficulty BGColor control in the inspector. block.json default: #ede9fe. Saved as `difficultyBg`.
Difficulty TextColor control in the inspector. block.json default: #5b21b6. Saved as `difficultyColor`.
Step Card BGColor control in the inspector. block.json default: #ffffff. Saved as `stepBg`.
Step Card BorderColor control in the inspector. block.json default: #e5e7eb. Saved as `stepBorderColor`.
Step TitleColor control in the inspector. block.json default: #1f2937. Saved as `stepTitleColor`.
Step DescriptionColor control in the inspector. block.json default: #6b7280. Saved as `stepDescColor`.
Step Number BGColor control in the inspector. block.json default: #0f172a. Saved as `stepNumBg`.
Step Number TextColor control in the inspector. block.json default: #ffffff. Saved as `stepNumColor`.
Connector LineColor control in the inspector. block.json default: #e5e7eb. Saved as `connectorColor`.
Duration TextColor control in the inspector. block.json default: #6b7280. Saved as `durationColor`.
Skill Tag BGColor control in the inspector. block.json default: #f1f5f9. Saved as `skillBg`.
Skill Tag TextColor control in the inspector. block.json default: #475569. Saved as `skillColor`.
📖 LessonColor control in the inspector. block.json default: #2563eb. Saved as `lessonColor`.
🔨 ProjectColor control in the inspector. block.json default: #d97706. Saved as `projectColor`.
✏️ QuizColor control in the inspector. block.json default: #7c3aed. Saved as `quizColor`.
📄 ReadingColor control in the inspector. block.json default: #059669. Saved as `readingColor`.
🎬 VideoColor control in the inspector. block.json default: #dc2626. Saved as `videoColor`.

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 Learning Path block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Learning Path”. It sits under Blog. After insert, open Path Settings and set “Path Title”, “Description”, “Show Description”, “Total Duration”.

What makes Learning Path different from other Blockenberg blocks?

Display a structured learning path with steps, skill tags, durations and type indicators. Inspector labels on this block include “Path Title”, “Description”, “Show Description”, “Total Duration”.

Is the Learning Path Gutenberg block free?

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

Can I style Learning Path 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: Path Settings, Steps, Layout Colors, Step Type Colors).

Related blog blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Learning Path from the Gutenberg inserter.

Get Blockenberg