page.html

Patterns & pattern directory

In a future version of WordPress there will be a block pattern directory.

Users of the block editor, template editor and Site Editor will be able to choose from a whole variety of patterns.

Once loaded a pattern can then be saved as part of the post content or as a reusable block, a template-part or even a template.

This will make sites a lot easier to construct, even with minimal themes.

I’m experimenting with a plugin that will register patterns in .htm files found in a theme’s `block-templates` folder.

I think I’ve found an infinite recursion bug when the pattern loaded contains the post-content block.

References

WordPress: Block Pattern Directory

WP Tavern: Pattern Directory Targeted for WordPress 5.8

Block Editor Handbook: Patterns

WordPress Support: Block Patterns

Gutenberg Times: WordPress Block Patterns Resource List

Navigation

    Page List

    Page Tree ( shortcode )

    WordPress version: 5.7.2

    Gutenberg version: 10.8.0

    © Copyright Herb Miller, Bobbing Wide 2021