Block Theme Developer
A developer focused companion plugin for building block themes for WordPress
★ 1stars
83composer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/eighteen73/block-theme-developer/archive/refs/heads/main.zipAlso on Packagist as eighteen73/block-theme-developer:
composer require eighteen73/block-theme-developerDeclares an update source (https://github.com/eighteen73/block-theme-developer), so updates arrive through the plugin's own updater.
From the readme
Block Theme Developer
A developer-focused plugin for developing block themes for WordPress. Essential tools for pattern authoring (via the native Site Editor) and template export.
Features
Part 1: Pattern Management
- Native Patterns UI: Create and edit patterns in Appearance → Editor → Patterns (wpblock)
- Pattern Details sidebar: Description, keywords, block/post/template types, viewport, inserter, content-only lock, synced toggle
- Dual Mode Operation:
- File Mode (local/dev): Every published pattern save writes patterns/{slug}.php in the active stylesheet theme
- API Mode (pattern library): Patterns stay as wpblock posts; exposed via btd/v1 for other sites
- Synced patterns (Orbit): With Synced theme pattern on, the file includes Synced: true, the wpblock is kept, and Orbit syncs layout updates to every instance
- Unsynced theme patterns: Synced off → file written without Synced (DB pattern is kept while editing so the Site Editor does not break)
Part 2: Template Export
- Automatic Template Export in File Mode:
- Exports wptemplate changes to /templates/{slug}.html
- Exports wptemplatepart changes to /parts/{slug}.html
- Successful exports remove DB overrides so f
Read the full README on GitHub →