Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/alexphex/event-core-blocks/archive/refs/heads/main.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
A suite of 6 custom Gutenberg blocks for landing pages. Built with WordPress Block API v3.
Technical Stack
- Framework: React / WordPress Block Editor API
- PHP: Server-side rendering for dynamic content
- Build Tool:
@wordpress/scripts - Standard:
block.json(metadata-driven)
Block List
- Hero Section: Static block. Editable H1 and paragraph.
- Agenda Wrapper: Container block. Acts as a section parent.
- Upcoming Events: Dynamic block. Queries WordPress posts via PHP. Supports "posts per page" attribute.
- Features Grid: Layout container. Uses
InnerBlockswith a 3-item template. - Features Item: Child block for Grid. Supports title and description. Restricted to
features-gridparent. - Testimonial: Static block. Media Library integration for author photo + RichText for quote.
Setup
- Clone to
/wp-content/plugins/ - Run
npm install - Run
npm run build - Activate in WordPress plugins menu
Structure
/src: Source React components and SCSS./build: Compiled assets for production (enqueued by WordPress).block.json: Block registration and attributes.