Blocks in Simple English

The following block types exist and this is what they do. I'm always getting confused by the terminology, as I'm not a native English speaker and the terminology does not cleanly map on other programming paradigms.

Block Type What They Say What I say
Reusable Blocks Reusable blocks allows you to save and reuse them in other posts, pages, and also you can export them to use on your other WordPress websites. Blocks as symlinks: use one block in many places.
Block Variations

Block Variations is the API that allows a block to have similar versions of it, but all these versions share some common functionality. Each block variation is differentiated from the others by setting some initial attributes or inner blocks. Then at the time when a block is inserted these attributes and/or inner blocks are applied.

A great way to understand this API better is by using the embed block as an example.

Blocks as a function: pass in parameters and the block acts differently.

Block Patterns Block Patterns are a collection of predefined blocks that you can insert into posts and pages and then customize with your own content. Using a Block Pattern can reduce the time required to create content on your site, as well as being a great way to learn how different blocks can be combined to produce interesting effects. Blocks group snapshot: insert a combination of blocks in one go.
Dynamic Blocks Dynamic blocks are blocks that build their structure and content on the fly when the block is rendered on the front end. Live data blocks.
Block Styles Block Styles allow alternative styles to be applied to existing blocks. They work by adding a className to the block’s wrapper. This className can be used to provide an alternative styling for the block if the block style is selected. Block Styles!

Revision #12
Created 5 May 2021 11:02:55 by Sander
Updated 29 July 2021 15:17:50 by Sander