Blog · Gutenberg

Weekly Schedule block for WordPress

Visual weekly schedule grid with Mon–Sun columns and color-coded time-slot events. Ideal for fitness classes, teachers, and consultants.

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

Visual weekly schedule grid with Mon–Sun columns and color-coded time-slot events. Ideal for fitness classes, teachers, and consultants.

Inspector panels on this block: Schedule Settings, Events (' + a.events.length +. Those titles come from index.js, not from a shared template.

Behavior controls: “Time Format” options: 12-hour, 24-hour; “Start Minute” options: :00, :15, :30, :45; “Duration” options: 30 min, 45 min, 1 hr, 1.5 hr, 2 hr.

Where to find it

Gutenberg inserter → Blog → search “Weekly Schedule” (block name `blockenberg/week-schedule` in block.json). Style it in the sidebar after insert.

How to use Weekly Schedule block for WordPress

  1. Install Blockenberg. Install from WordPress.org and activate the plugin.
  2. Insert the block. Edit a page, click +, search for “Weekly Schedule”, insert it. Category: Blog.
  3. Configure inspector controls that exist on this block. Open Schedule Settings. Set “Schedule Settings — Title”, “Show Title”, “Start Hour”, “End Hour”.
  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
Schedule Settings — TitleText field in the inspector. block.json default: Class Schedule. Saved as `title`.
Show TitleOn/off toggle in the inspector. On by default. Saved as `showTitle`.
Start HourSelect control; the chosen value is saved on the block. block.json default: 8. Saved as `startHour`.
End HourSelect control; the chosen value is saved on the block. block.json default: 20. Saved as `endHour`.
Cell Height (px/hr)Numeric range control in the inspector. Range 40–120. block.json default: 60. Saved as `cellHeight`.
Time FormatSelect control; the chosen value is saved on the block. Options: 12-hour; 24-hour. block.json default: 12h. Saved as `timeFormat`.
Show Weekend (Sat/Sun)On/off toggle in the inspector. On by default. Saved as `showWeekend`.
Show InstructorOn/off toggle in the inspector. On by default. Saved as `showInstructor`.
Show LocationOn/off toggle in the inspector. Off by default. Saved as `showLocation`.
Border RadiusNumeric range control in the inspector. Range 0–20. block.json default: 8. Saved as `borderRadius`.
Event RadiusNumeric range control in the inspector. Range 0–12. block.json default: 6. Saved as `eventRadius`.
Events (' + a.events.length + — TitleText field in the inspector. Saved as `events`.
DaySelect control; the chosen value is saved on the block. Saved as `events`.
Start Hour (Events)Select control; the chosen value is saved on the block. Saved as `events`.
Start MinuteSelect control; the chosen value is saved on the block. Options: :00; :15; :30; :45. Saved as `events`.
DurationSelect control; the chosen value is saved on the block. Options: 30 min; 45 min; 1 hr; 1.5 hr; 2 hr; 2.5 hr; 3 hr. Saved as `events`.
InstructorText field in the inspector. Saved as `events`.
LocationText field in the inspector. Saved as `events`.
Colors — BackgroundColor control in the inspector. block.json default: #ffffff. Saved as `bgColor`.
Header BackgroundColor control in the inspector. block.json default: #f8fafc. Saved as `headerBg`.
Header TextColor control in the inspector. block.json default: #1e293b. Saved as `headerColor`.
Grid LinesColor control in the inspector. block.json default: #f1f5f9. Saved as `gridColor`.
Colors — BorderColor control in the inspector. block.json default: #e2e8f0. Saved as `borderColor`.
Time Column BackgroundColor control in the inspector. block.json default: #f8fafc. Saved as `timeBg`.
Time TextColor control in the inspector. block.json default: #64748b. Saved as `timeColor`.

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 Weekly Schedule block in WordPress?

Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Weekly Schedule”. It sits under Blog. After insert, open Schedule Settings and set “Schedule Settings — Title”, “Show Title”, “Start Hour”, “End Hour”.

What makes Weekly Schedule different from other Blockenberg blocks?

Visual weekly schedule grid with Mon–Sun columns and color-coded time-slot events. Ideal for fitness classes, teachers, and consultants. Inspector labels on this block include “Schedule Settings — Title”, “Show Title”, “Start Hour”, “End Hour”.

Is the Weekly Schedule Gutenberg block free?

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

Can I style Weekly Schedule 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: Schedule Settings, Events (' + a.events.length +).

Related blog blocks

Get Blockenberg

Install Blockenberg from WordPress.org, then insert Weekly Schedule from the Gutenberg inserter.

Get Blockenberg