Block Dependent Themes

Block Dependent Themes • WPShout

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.

Keep reading the article at WPShout. The article was originally written by David Hayes on 2020-03-18 11:47:55.

The article was hand-picked and curated for you by the Editorial Team of WP Archives.

Disclosure: Some of the links in this post are "affiliate links." This means if you click on the link and purchase the product, We may receive an affiliate commission.

Leave a Comment

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

Show Your ❤️ Love! Like Us
Scroll to Top