How do I enable the “Sync” feature when creating a pattern?
-
When you click “Add new pattern” in the editor, there is an option called “synced”. If you select this option and modify the pattern after creation, it will be modified simultaneously in all templates that use this pattern.
Can’t this function be defined in a file rather than in the editor?
<?php /** ?* Title: sample ?* Slug: some-slug ?* synced: true ( Is there no option name like this? ) ?*/ ?> <!-- wp:group {"layout":{"type":"constrained"}} --> <div class="wp-block-group"> ? <!-- wp:paragraph --> ? <p>sample</p> ? <!-- /wp:paragraph --> </div> <!-- /wp:group -->
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How do I enable the “Sync” feature when creating a pattern?’ is closed to new replies.