Pattern – core/pattern

( Not insertable )
Show a block pattern.

Use the Pattern block in a template or template part to include something that needs to be internationalised or somehow configured once.

Screenshot

Pattern block screenshot

Example

For examples of patterns being used in FSE themes look at the FSE themes summary for themes that deliver patterns then look in the templates or template parts for them. eg. Alara, Bricksy, Twenty Twenty Two, Videomaker or We Code Art.

The screenshot above was taken for the Default footer ( footer-default ) pattern from the Twenty Twenty-Two theme.


Notes

  • The Pattern block is not directly insertable in a normal post.
  • It’s coded in a theme like this
theme-info pattern included in Alara’s footer.html template part<!-- wp:pattern {"slug":"alara/theme-info"} /-->
  • Pattern blocks are used to include patterns delivered by the theme.