Create a permanent unique ID for your block that also works with block duplication.
The Block Editor can be an elusive topic. These tutorials try to break the Block Editor into smaller easy-to-learn topics.
Should your block have a shortcode fallback? It depends on the complexity of the block and the desire to be compatible with more than the block editor.
Using Block.json to load your scripts and styles is straightforward, but there are some caveats when loading assets for multiple blocks.
In this tutorial, I go over Block.json version 3, its caveats, and how to take advantage of this new API version if you are a plugin or theme developer.
This block editor tutorial shows how you can set defaults for common core blocks, or even third-party ones.
The Command Palette will land in WordPress 6.3. This tutorial explains what it is and shows how to add your own commands.
Block Transforms are a neat way of changing from one block to another. I’ll teach you how to do your own transforms.
I recently converted one of my blocks from RichText to InnerBlocks. It wasn’t easy, but I thought I’d share my experience with the conversion.
Block Patterns are very useful, but sometimes you need to limit the patterns to only the ones you have created for your clients.
Sometimes you need to style your blocks individually, and this is where a unique ID for each block can come in handy. So how do you get one? Step 1: Add The uniqueId attribute Head to your block’s block.json file and add in the uniqueId attribute. Give it a type of string with an empty …