Blog · Gutenberg

Lesson Objectives block for WordPress

"What You'll Learn" educational objectives box with bullet points, level badge, and estimated read 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

"What You'll Learn" educational objectives box with bullet points, level badge, and estimated read time.

Inspector panels on this block: Objectives, Header & Meta. Those titles come from index.js, not from a shared template.

Behavior controls: “Level” options: 🟢 Beginner, 🟡 Intermediate, 🔴 Advanced, 🔵 All Levels; “Style — Style” options: Card (bordered), Left Border, Top Border, Minimal; “Bullet Style” options: ✅ Checkmark, → Arrow, ● Circle, ★ Star, Custom.

Where to find it

Gutenberg inserter → Blog → search “Lesson Objectives” (block name `blockenberg/lesson-objectives` in block.json). Style it in the sidebar after insert.

How to use Lesson Objectives block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Lesson Objectives”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open Objectives. Set “Show Icon”, “Show Level Badge”, “Level”, “Show Read Time”.
  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 IconOn/off toggle in the inspector. On by default. Saved as `showIcon`.
Show Level BadgeOn/off toggle in the inspector. On by default. Saved as `showLevel`.
LevelSelect control; the chosen value is saved on the block. Options: 🟢 Beginner; 🟡 Intermediate; 🔴 Advanced; 🔵 All Levels. block.json default: beginner. Saved as `level`.
Show Read TimeOn/off toggle in the inspector. On by default. Saved as `showReadTime`.
Read TimeText field in the inspector. block.json default: 12 min read. Saved as `readTime`.
Style — StyleSelect control; the chosen value is saved on the block. Options: Card (bordered); Left Border; Top Border; Minimal. block.json default: card. Saved as `style`.
Bullet StyleSelect control; the chosen value is saved on the block. Options: ✅ Checkmark; → Arrow; ● Circle; ★ Star; Custom. block.json default: check. Saved as `bulletStyle`.
Custom BulletText field in the inspector. block.json default: ✓. Saved as `customBullet`.
ColumnsNumeric range control in the inspector. Range 1–3. block.json default: 1. Saved as `columns`.
Border RadiusNumeric range control in the inspector. Range 0–20. block.json default: 10. Saved as `borderRadius`.
Padding TopNumeric range control in the inspector. Range 0–120. block.json default: 0. Saved as `paddingTop`.
Padding BottomNumeric range control in the inspector. Range 0–120. block.json default: 0. Saved as `paddingBottom`.
Colors — BackgroundColor control in the inspector. block.json default: #f0fdf4. Saved as `bgColor`.
Colors — BorderColor control in the inspector. block.json default: #86efac. Saved as `borderColor`.
AccentColor control in the inspector. block.json default: #16a34a. Saved as `accentColor`.
HeadingColor control in the inspector. block.json default: #14532d. Saved as `headingColor`.
Bullet BGColor control in the inspector. block.json default: #dcfce7. Saved as `bulletBg`.
Bullet IconColor control in the inspector. block.json default: #16a34a. Saved as `bulletColor`.
Item TextColor control in the inspector. block.json default: #166534. Saved as `textColor`.
Meta TextColor control in the inspector. block.json default: #4b7a5a. Saved as `metaColor`.
Level Badge BGColor control in the inspector. block.json default: #16a34a. Saved as `levelBg`.
Level Badge TextColor control in the inspector. block.json default: #ffffff. Saved as `levelColor`.

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 Lesson Objectives block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Lesson Objectives”. It sits under Blog. After insert, open Objectives and set “Show Icon”, “Show Level Badge”, “Level”, “Show Read Time”.

What makes Lesson Objectives different from other Blockenberg blocks?

"What You'll Learn" educational objectives box with bullet points, level badge, and estimated read time. Inspector labels on this block include “Show Icon”, “Show Level Badge”, “Level”, “Show Read Time”.

Is the Lesson Objectives Gutenberg block free?

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

Can I style Lesson Objectives 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: Objectives, Header & Meta).

Related blog blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Lesson Objectives from the Gutenberg inserter.

Get Blockenberg