Interactive · Gutenberg
Events Calendar block for WordPress
Monthly events calendar grid with clickable events, color-coded categories, and an optional event list.
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.
What it actually does
Monthly events calendar grid with clickable events, color-coded categories, and an optional event list.
Inspector panels on this block: Events, Options. Those titles come from index.js, not from a shared template.
Where to find it
Gutenberg inserter → Interactive → search “Events Calendar” (block name `blockenberg/calendar` in block.json). Style it in the sidebar after insert.
How to use Events Calendar block for WordPress
- Install Blockenberg. Install from WordPress.org and activate the plugin.
- Insert the block. Edit a page, click +, search for “Events Calendar”, insert it. Category: Interactive.
- Configure inspector controls that exist on this block. Open Events. Set “Events — Title”, “Date (YYYY-MM-DD)”, “Category”, “URL (optional)”.
- Check the published page. The view script reads HTML data attributes: data-events, data-first-monday, data-highlight-today, data-initialized, data-show-year. The block editor preview may not run the same view script.
Inspector controls from this block’s code
| Control | What the code does |
|---|---|
| Events — Title | Text field in the inspector. |
| Date (YYYY-MM-DD) | Text field in the inspector. |
| Category | Text field in the inspector. |
| URL (optional) | Text field in the inspector. |
| Show title | On/off toggle in the inspector. On by default. Saved as `showTitle`. |
| Highlight today | On/off toggle in the inspector. On by default. Saved as `highlightToday`. |
| Week starts on Monday | On/off toggle in the inspector. On by default. Saved as `firstDayMonday`. |
| Show event list below | On/off toggle in the inspector. On by default. Saved as `showEventList`. |
| Show year in header | On/off toggle in the inspector. On by default. Saved as `showYear`. |
| Card radius (px) | Numeric range control in the inspector. Range 0–24. block.json default: 14. Saved as `cardRadius`. |
| Padding top | Numeric range control in the inspector. Range 0–200. block.json default: 0. Saved as `paddingTop`. |
| Padding bottom | Numeric range control in the inspector. Range 0–200. block.json default: 0. Saved as `paddingBottom`. |
What the front-end script actually does
- The view script reads HTML data attributes: data-events, data-first-monday, data-highlight-today, data-initialized, data-show-year.
When this is the right block
- Monthly events calendar grid with clickable events, color-coded categories, and an optional event list — that is the job of Events Calendar, not a generic content block.
- Use it when you need the editor control labeled “Events — Title”, which exists on this block’s inspector.
- It matches pages about calendar, events, schedule.
- Inserter grouping: quizzes, games, and click-to-reveal experiences.
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 Events Calendar block in WordPress?
Install Blockenberg from WordPress.org, edit a page in the block editor, click +, and search for “Events Calendar”. It sits under Interactive. After insert, open Events and set “Events — Title”, “Date (YYYY-MM-DD)”, “Category”, “URL (optional)”.
What makes Events Calendar different from other Blockenberg blocks?
Monthly events calendar grid with clickable events, color-coded categories, and an optional event list. Inspector labels on this block include “Events — Title”, “Date (YYYY-MM-DD)”, “Category”, “URL (optional)”.
Is the Events Calendar Gutenberg block free?
Yes. Events Calendar ships inside Blockenberg. Get the plugin from WordPress.org — no paid add-on is required for this block.
Can I style Events Calendar 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: Events, Options).
Related interactive blocks
2048 Game
The classic sliding-tile 2048 puzzle. Swipe or use arrow keys to merge tiles and reach the 2048 tile.
Analog Clock
A beautiful live analog clock rendered with SVG. Fully customizable: clock style, timezone, colors, size, and optional date/time labels.
Bingo Card
Interactive 5×5 Bingo card with number calling, win detection, and celebration animations.
Content Score
Visual content or SEO scoring card with circular gauge, color-coded criteria rows, and overall grade.
Dice Roller
Interactive dice roller supporting d4, d6, d8, d10, d12, d20 and d100. Roll multiple dice, see individual results, totals, and past roll history.
Drawing Canvas
A fully interactive freehand drawing canvas with multiple tools, undo, and download — right in your page.
Get Blockenberg
Install Blockenberg from WordPress.org, then insert Events Calendar from the Gutenberg inserter.