Create a lesson on building a multi-block plugin based on a WordPress Developer Blog article
@troychaplin is already working on this.
Since Aug 30, 2025.
- Dominant language
- PHP
- Stars
- 333
- Forks
- 127
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 11
Description
Details
I wrote an article about creating a multi-block plugin that may have value as an online lesson. One or both of the following approaches could be taken:
-
The article approached the setup of a multi-block plugin by compiling the JS and CSS assets for blocks and other block and editor related functionality into single files
-
Following reader comments a branch was created to explore a non-compiled version to maintain more of the expected core functionality provided by the block.json file and asset loading
-
Topic description: In this course we'll dive into taking a basic block create with the create-block app and turning into a feature rich, multi-block plugin with support for any other WordPress functionality a developer requires, from PHP functions to block enhancements or modifications with JS.
-
Audience: Developers
-
Learning objectives: the end goal is for the viewer to learn about leveraging core configurations to create a single plugin to manage dependencies for multiple custom blocks as well as other related block functionality
-
Content type: A three part mini-course might make more sense as the viewer could stop after the first part, or jump right to the eventual third part:
- Primary build tutorial following core block.json setup (would also include block script setup for variations, styles, etc)
- Compiling assets, to follow the original written approach (included in the compiled files would be the block scripts for variations, styles, etc)
- Advanced features, to be added later
-
WordPress version: 6.6
-
Will you be creating this content? Yes
Related Resources
https://developer.wordpress.org/news/2024/09/how-to-build-a-multi-block-plugin/
I'm also looking to plan an follow up article, if this video works out I would look to prioritize the new article as I would love to follow up with the third part.
Next steps for SMEs
Please follow the team handbook "Vetting topic ideas" to vet this topic.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.