Create templates of blocks in the Block Editor using Patterns
A block pattern in uConnect is a reusable template you create once in the Block Editor (powered by WordPress) and insert into any Community Page, Custom Page, Blog, Resource, or Experience. It saves time by providing a pre-formatted layout you can populate with new content on each use.
The following video demonstrates how to create and use a block pattern anywhere the Block Editor is accessible:
To create a new Pattern, follow the below steps:
Navigate to the block within the Block Editor that you want to templatize, turn into a Pattern
Open the Document Overview panel by clicking the list icon in the top-left toolbar. Click on your block to select it, then click the three-dot menu (⋮) on the right side of the block.
In the menu that appears, click Pattern, then select Create pattern from the submenu.
This will allow you to give you Pattern a name and also categorize if you foresee yourself creating many Patterns. Also not the sync setting: if you want to preserve the original Pattern, turn off this sync option; otherwise if you update this Pattern when you add it to another location, it will change the original Pattern.
To add your new Pattern, follow these steps:
Navigate to the location where you want to add the new Pattern block you created, such as a Community Page (under "Edit Static Content" where the Block Editor is)
Using the
/(forward slash) key or the + (plus sign) button, search for the name of the pattern you created.Click on it and then, tada! It is now added to your page!
For questions about the block pattern feature, submit a support request and a member of the uConnect team will follow up. Additional Block Editor training videos are available in the Block Editor training library.