Radical idea š”. With the new pattern overrides coming in WordPress 6.6, what if you only used the Post Content block in page templates? One type of page design experience that is common for sites is to have a hero image background, page title, subtitle text, and a call to action button.
When you do this design in a page template, you can get the page title and subtitle to be easily editable because you just use the Title block and Excerpt block, both editable in the post settings. What you can’t edit on a per page basis is that button.
With pattern overrides, just use the post content block in your template, then have a page hero pattern with pattern overrides for each of those blocks: Title, any heading or paragraph block, and the button block. All the content is then editable when inserting the pattern. Enhance the experience even more by having the pattern auto inserted or displayed in the pattern modal.
#wordpress #wp #blockeditor #gutenberg #patterns #patternoverrides
Leave a Reply