Skip to content

About

A way to manage WordPress Patterns in Themes

Topics

Resources

Stars

14 stars

Watchers

1 watching

Forks

Latest commit

 

History

310 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pattern Builder

A WordPress plugin for creating, editing and organising block patterns in the admin. Theme patterns (PHP files in patterns/) and user patterns (wp_block posts) are managed in one interface, edited in the WordPress editor, and optionally shared through patternbuilderwp.com. Patterns a plugin registers are browsable beside them; copying one into the theme, with the patterns it places, makes it yours to edit.

Agents can drive the same operations through WordPress core's Abilities API.

Requirements

WordPress 6.8+ · PHP 7.4+

Install

Download a release and install it as a plugin, or from source:

git clone https://github.com/Twenty-Bellows/pattern-builder.git
cd pattern-builder
npm install && composer install
npm run build

npm run start boots a local WordPress with the plugin active (requires Docker). npm run watch rebuilds on change.

Documentation

docs/architecture.md How the plugin is built.
docs/abilities.md The agent interface.
docs/cloud.md The patternbuilderwp.com integration.
docs/collections.md Collections.
docs/dependencies.md Dependency trees and attribution.
CLAUDE.md Commands, invariants and coding standards.

Related

License

GPL-2.0-or-later. Built by Twenty Bellows. Issues: GitHub.

About

A way to manage WordPress Patterns in Themes

Topics

Resources

Stars

14 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages