plugin-icon

Synced Patterns for Themes

제작자: Twenty Bellows·
A WordPress plugin that empowers themes to provide synced patterns.
버전
1.2.1
활성화된 설치 항목
20
최근 업데이트일
Aug 14, 2025

This plugin enables theme developers to ship patterns that behave as synced patterns (reusable blocks) while maintaining the benefits of theme-bundled patterns. When a theme pattern is marked as synced, it automatically becomes available as a reusable block that updates across all instances when modified.

  • Theme-Provided Synced Patterns: Convert any theme pattern into a synced pattern by adding a simple metadata flag
  • Automatic Synchronization: Updates to synced patterns propagate across all instances site-wide
  • Block Bindings Support: Full compatibility with WordPress block bindings
  • Template Integration: Use synced patterns in templates and template parts
  • Seamless User Experience: Synced patterns appear naturally in the pattern inserter

Usage

For Theme Developers

To make a theme pattern synced, add Synced: true to the pattern file’s metadata header:

<?php /** * Title: My Synced Pattern * Slug: mytheme/my-pattern * Categories: featured * Synced: true */ ?> <!-- Your pattern blocks here -->

Using Synced Patterns in Templates

Reference synced patterns in templates or other patterns using the pattern block:

<!-- wp:pattern {"slug":"mytheme/my-pattern"} /--><h3>Development</h3>

The plugin source is available on GitHub.

Node & NPM are needed to install and run the development tools:

  • npm run start – Start the development environment
  • npm run stop – Stop the development environment
  • npm run test – Run unit tests (requires running environment)
  • npm run build – Build production assets

See the source for more details.

무료유료 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 6.8.5
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.