Modern WordPress means the block editor. No classic editor or shortcodes around here. If you’re not sure where to start, the best place to begin coding is with the WordPress Create Block package.
“WordPress/Create Block” is basically a single command that you can run on your local computer to scaffold out all the code you need for building a single block or even an entire plugin for the block editor. When you install it, it will take care of any dependencies and set up a build process for you.
Create-Block can start you off with different custom block templates, such as “dynamic” blocks that are built (mostly) with PHP. You can also use it to generate just the block files you need inside of an existing plugin or theme.
We’re going to walk through using WordPress/Create-Block to scaffold a new block plugin, add multiple blocks to the same plugin, and even build out our own dynamic block.
If you have any questions, add them in the YouTube comments. And feel free to share this video- and hopefully this whole series- with anyone you think would want it.
Leave a Reply