وردپرس

The Evolution of Reusable Blocks – WordPress News


Synced patterns are replacing Reusable blocks, offering a unified creation experience for new pattern functionality coming to WordPress 6.3. Patterns, first introduced in WordPress 5.5, are a collection of blocks that make it simple to add complex layouts and designs to any WordPress site without starting from scratch. With WordPress 6.3, set to be released on August 8th, you will be able to arrange blocks in unlimited ways and save them as patterns for use throughout your site, directly within the editing experience. You can also specify whether to sync your patterns, so that one change applies to all parts of your site, or to keep them unsynced, so you can customize each instance.

https://www.youtube.com/watch?v=plZIF3jrU7E

Create your own patterns

The ability to create your own patterns, on top of using the ones bundled into each WordPress release, opens up a world of possibilities. Need to repeat the same contact information across your site and keep it up to date? Create a synced pattern with all the details, and say goodbye to repeating yourself, with the ability to quickly insert the synced pattern wherever you need it. If you find yourself creating various banners for your site and want them to have the same layout with unique content, creating an unsynced pattern speeds up your workflow and ensures a level of consistency in approach. While themes and plugins have been able to offer patterns to users and curate the experience, this update allows agencies and site builders to do the same for their clients, directly in the site building process.

Dig into the details

Any previously made Reusable blocks will continue to function as they do now, just under the new Synced pattern name. To help adjust to these changes, a few contextual notices will be placed throughout the interface. Specifically, the menu item in the creation flow will show as “Create pattern/reusable block” until the prompt describing the switch is dismissed in one of the various locations, including the naming and syncing modal: 

https://www.youtube.com/watch?v=fbrhammtn3Y

For folks using block themes, all patterns will be listed alongside template parts in the Site Editor > Patterns section, where you can enter a focused editing mode to make changes. For Classic themes, the prior reusable block management page will now house patterns in a list, similar to the Posts > All Posts view.

Patterns section of the WordPress Site Editor with My Patterns selected

For a complete overview of patterns on your site, all patterns provided by themes and plugins will be shown in this section but without the option to edit directly.

Go further

With the ability to create your own patterns baked into the creation experience, remember that you can copy the patterns available in the Pattern Directory and contribute back, an excellent way to democratize design for every WordPress user and the web.

For more exciting features coming to patterns in WordPress 6.3, read on in the Advancing the Power of Patterns post. Thank you to the contributors who collaborated on this post: Chloé Bringmann, Jonathan Pantani, Josepha, Krista Stevens, Nicholas Garofalo, Peter Rubin.

این خبر را در ایران وب سازان مرجع وب و فناوری دنبال کنید

مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد

منبع: انجمن وردپرس

دکمه بازگشت به بالا