Add Custom Block Patterns and Template Parts to a WordPress Theme
Block patterns and template parts in a block theme A block theme ships two kinds of reusable layout. Template parts (parts/header.html, parts/footer.html) are shared areas that every template includes and that editors change in one place. Block patterns (patterns/*.php) are ready-made sections, such as a hero or a pricing table, that editors insert into a…