WordPress Block Patterns Explained: Create Your Own

Building the same layout again and again wastes time in WordPress. A call to action row, a pricing section and an author bio box often appear on many pages with only small wording changes. WordPress block patterns explained in simple terms solve that repetition. A pattern saves a group of blocks as a reusable layout that you insert with a few clicks, then edit for the page in front of you. Once you understand synced and unsynced patterns, you can build faster pages while keeping design consistent across your site.
What is a WordPress block pattern?
A block pattern is a preconfigured group of blocks saved as one insertable layout. It might contain headings, paragraphs, buttons, columns, images and spacers arranged in a finished design. When you insert a pattern into a post or page, WordPress places those blocks into your content so you can replace text, swap images and adjust colours without rebuilding the structure from scratch.
Patterns differ from single blocks because they store a whole arrangement rather than one element. A button block gives you one button. A call to action pattern gives you a heading, supporting text and a button already aligned inside a group. That head start is why patterns suit landing pages, service pages, blog post endings and repeated marketing sections. Patterns are stored as block markup, so they work with the editor you already use every day.
What is the difference between synced and unsynced patterns?
The most important choice happens when you create a pattern. WordPress asks whether the pattern should stay synced across your site or act as an independent copy each time you insert it. The right choice depends on whether future edits should travel everywhere or stay local to one page.
- Synced pattern: every inserted instance stays linked to one source. Edit the source once and every page using that pattern shows the update. Synced patterns were formerly called reusable blocks. Use synced patterns for a site wide notice bar, a standard contact box or a legal disclaimer that must match everywhere.
- Unsynced pattern: each insertion creates an independent copy. Editing one page leaves other pages unchanged. Use unsynced patterns for layouts you reuse as a starting point, such as a pricing row where prices differ by page or an FAQ section where questions change by topic.
Choose synced when content must stay identical. Choose unsynced when only the layout should stay similar.
How do patterns differ from template parts and dynamic blocks?
Template parts control site areas such as headers and footers in block themes. Patterns live inside page content and can appear many times on one page. A dynamic block such as Latest Posts pulls fresh content automatically each time the page loads. A pattern holds the blocks you placed in it, although you can include a dynamic block inside a pattern when you want layout and fresh content together. Patterns also differ from shortcodes because patterns insert real blocks that you edit visually. Our guide to WordPress shortcodes explained shows why shortcodes still suit some plugin features while patterns suit visual layouts.
How do you create your own pattern in the editor?
WordPress 6.3 and later let you create patterns directly in the editor without code. This method suits site owners who build layouts visually and want to save them for later pages. Start by opening a draft page and building the layout with normal blocks. Select the blocks that belong together by clicking the first block, then shift clicking the last block in the group, or by grouping the blocks first through the block toolbar.
Next open the block toolbar menu for the selected blocks and choose the create pattern option. Give the pattern a clear name that describes its job, such as Pricing Row Three Columns or Blog Ending Call To Action. Choose synced or unsynced with care, then save. On classic themes you can manage saved patterns from Appearance and then Patterns in the dashboard. On block themes you manage them in the Site Editor under Patterns. Both routes lead to the same saved layouts.
To reuse your pattern, open any post or page, click the inserter button and open the Patterns tab. Find your pattern by name or category, click it once and WordPress inserts the full layout at your cursor position. Edit the inserted copy like normal blocks. For unsynced patterns those edits affect only that page. For synced patterns you edit the source pattern when you want the change to appear everywhere.
How do you register a pattern in a theme with code?
Theme based patterns suit developers and site owners who want layouts shipped with a theme or child theme. Before adding code, take a full backup and test on staging. Put theme pattern code in a child theme so parent theme updates cannot erase it. The simplest theme method places a PHP file inside a patterns folder in your theme. WordPress reads the file header comments to learn the pattern title, slug and categories, then registers the layout automatically.
<?php
/**
* Title: Simple Call To Action
* Slug: mytheme/simple-cta
* Categories: call-to-action
*/
?>
<!-- wp:group -->
<div class="wp-block-group">
<!-- wp:heading -->
<h2 class="wp-block-heading">Ready to get started?</h2>
<!-- /wp:heading -->
<!-- wp:paragraph -->
<p>Tell us about your project and we will reply within one business day.</p>
<!-- /wp:paragraph -->
<!-- wp:buttons -->
<div class="wp-block-buttons">
<!-- wp:button -->
<div class="wp-block-button"><a class="wp-block-button__link wp-element-button" href="/contact/">Contact us</a></div>
<!-- /wp:button -->
</div>
<!-- /wp:buttons -->
</div>
<!-- /wp:group -->
You can also register a pattern with the register_block_pattern function inside a child theme functions.php file. Hook that registration to the init action so WordPress loads it at the correct moment. Hooks and filters control timing across WordPress, and our guide to WordPress hooks actions and filters explained covers that foundation. The official WordPress developer documentation lists every supported pattern property, including keywords, viewport width and block types.
Keep pattern code tidy. Use a unique slug with your theme prefix, write block markup that validates cleanly and avoid hard coded personal details that belong in editable text. A good theme pattern gives editors a polished starting layout while leaving every word open to change after insertion.
How do you manage patterns after you create them?
Pattern libraries grow quickly, so light housekeeping keeps them useful. Open the Patterns management screen for your theme type and review names regularly. Rename patterns when their purpose changes, duplicate a pattern when you need a close variation and delete patterns that nobody uses. Clear names matter more than clever names because editors search by job, not by design nickname.
Synced patterns need one extra skill. Sometimes a page needs the synced layout with one local change that should not travel everywhere. In that case detach that instance from the synced source so it becomes a normal independent copy on that page. Detaching protects the shared source while giving the single page freedom. Tell your team when a detach happens, because detached copies no longer receive future source updates.
WordPress 6.6 and later also support overrides on synced patterns. Overrides let editors change specific blocks, such as a heading or image, inside one instance while the rest of the pattern stays synced. This suits repeated layouts where structure must match but a title or photo changes by page. Overrides reduce the need to detach whole instances for tiny local edits.
Which patterns should you build first?
Start with layouts you already rebuild by hand. Four starter patterns cover most small sites and teach the synced choice quickly.
- Call to action row: a heading, one supporting sentence and one button. Make it unsynced when offers differ by page, or synced when one campaign message must match everywhere.
- Pricing row: three columns with plan name, price, feature list and button. Keep it unsynced so each service page can carry its own prices.
- Author bio box: photo, name, short bio and profile link. A synced version keeps credentials consistent across blog posts.
- FAQ block: a heading plus several question and answer pairs. Keep it unsynced so each page answers its own questions.
Style these patterns with your theme colours and spacing first, then add small refinements only where needed. If a pattern needs a style tweak that blocks cannot express, our guide on how to add custom CSS in WordPress explains safe options. Consistent patterns also help visitors trust a site, and reliable hosting keeps those pages loading quickly. Our web hosting pillar covers the basics when speed problems appear.
Why is my pattern not showing in the inserter?
A missing pattern usually has a simple cause. Check each item below before you rebuild anything.
- Check file headers: theme pattern files need a Title and a Slug in the header comment, and the slug must stay unique.
- Check the folder name: theme pattern files belong in a folder named patterns inside the active theme or child theme.
- Clear cache: page cache and object cache can hide a newly registered pattern until the editor reloads fresh data.
- Check theme support: very old themes and some builder setups limit editor features, so test with a current default theme on staging to isolate the cause.
- Validate the markup: invalid block markup can stop a pattern from inserting cleanly, so rebuild the layout in the editor and copy fresh markup when in doubt.
Work through the list in order and reload the editor after each fix.
Frequently Asked Questions
What is a WordPress block pattern in simple words?
A block pattern is a saved group of blocks arranged as a ready made layout. You insert it into a page, then edit the text and images for that page. It saves rebuilding the same design by hand.
Should I choose a synced or unsynced pattern?
Choose synced when every copy must show the same content and one edit should update all pages. Choose unsynced when you want the same layout with different words on each page. Layout reuse usually means unsynced, while shared notices usually mean synced.
Can I create a pattern without code?
Yes. WordPress 6.3 and later let you select blocks in the editor and save them as a pattern from the block toolbar. You name the pattern, pick synced or unsynced and insert it later from the Patterns tab in the inserter.
Can I change one synced pattern instance without changing the rest?
Yes. You can detach that instance so it becomes an independent copy, or use overrides in WordPress 6.6 and later to edit specific blocks in one instance while the rest stays synced. Detaching suits bigger local changes, while overrides suit small wording or image swaps.
Last updated: December 2026.



