Block Dependent Themes

An interesting thing as Gutenberg grows is that it’s aiming to impact both WordPress themes and page builders. And to do this, we may need or want a way for a theme to say it required a specific Gutenberg block to function. I have not thought deeply about it, but I see that Mel Choyce is. So please consider and opine with her about this possibility. Here are two parts of her initial proposal:

Themes can specify blocks.

When creating a theme, you can specify specific blocks from the Block Directory to include with your theme. These could be blocks you’ve written, or other blocks you’ve accounted for in your theme styles.

Activate blocks on theme activation.

When someone activates (not installs) your theme, WordPress can silently download the blocks from the Block Directory.


Add a Comment

Your email address will not be published. Required fields are marked *