Blog · Gutenberg

Course Curriculum block for WordPress

Expandable course curriculum / syllabus with sections and lessons. Each lesson shows duration, type, and free/locked status. Perfect for online courses and training pages.

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

Expandable course curriculum / syllabus with sections and lessons. Each lesson shows duration, type, and free/locked status. Perfect for online courses and training pages.

Inspector panels on this block: Course Info, CTA Button, Sizing. Those titles come from index.js, not from a shared template.

Behavior controls: “Course meta line” (e.g. "12 sections • 48 lessons • 24h").

Where to find it

Gutenberg inserter → Blog → search “Course Curriculum” (block name `blockenberg/course-curriculum` in block.json). Style it in the sidebar after insert.

How to use Course Curriculum block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Course Curriculum”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open Course Info. Set “Course meta line”, “Show course meta”, “Show search bar”, “Expand all by default”.
  4. Check the published page. The view script reads HTML data attributes: data-default-open, data-expand-all. The block editor preview may not run the same view script.

Inspector controls from this block’s code

ControlWhat the code does
Course meta lineText field in the inspector. e.g. "12 sections • 48 lessons • 24h". block.json default: 12 sections • 48 lessons • 24 hours total. Saved as `courseMeta`.
Show course metaOn/off toggle in the inspector. On by default. Saved as `showCourseMeta`.
Show search barOn/off toggle in the inspector. Off by default. Saved as `showSearch`.
Expand all by defaultOn/off toggle in the inspector. Off by default. Saved as `expandAll`.
Default open section (0 = first)Numeric range control in the inspector. block.json default: 0. Saved as `defaultOpen`.
Show CTA buttonOn/off toggle in the inspector. On by default. Saved as `showCta`.
Button labelText field in the inspector. block.json default: Enroll Now. Saved as `ctaLabel`.
Button URLText field in the inspector. block.json default: #. Saved as `ctaUrl`.
Card radius (px)Numeric range control in the inspector. Range 0–32. block.json default: 16. Saved as `cardRadius`.
Section radius (px)Numeric range control in the inspector. Range 0–20. block.json default: 10. Saved as `sectionRadius`.
Button radius (px)Numeric range control in the inspector. Range 0–99. block.json default: 8. Saved as `btnRadius`.
Course TitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoTitle`.
Section TitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoSection`.
Lesson TitleShared Blockenberg typography popover (family, size, weight, spacing). Saved as `typoLesson`.
Padding topNumeric range control in the inspector. Range 0–200. block.json default: 0. Saved as `paddingTop`.
Padding bottomNumeric range control in the inspector. Range 0–200. block.json default: 0. Saved as `paddingBottom`.

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 Course Curriculum block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Course Curriculum”. It sits under Blog. After insert, open Course Info and set “Course meta line”, “Show course meta”, “Show search bar”, “Expand all by default”.

What makes Course Curriculum different from other Blockenberg blocks?

Expandable course curriculum / syllabus with sections and lessons. Each lesson shows duration, type, and free/locked status. Perfect for online courses and training pages. Inspector labels on this block include “Course meta line”, “Show course meta”, “Show search bar”, “Expand all by default”.

Is the Course Curriculum Gutenberg block free?

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

Can I style Course Curriculum 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: Course Info, CTA Button, Sizing).

Related blog blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Course Curriculum from the Gutenberg inserter.

Get Blockenberg