Linux 软件免费装
Banner图

Pattern Wrangler - Manage Block Patterns and Reusable Blocks

开发者 ronalfy
更新时间 2026年1月10日 16:15
PHP版本: 7.2 及以上
WordPress版本: 6.9
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode block editor patterns block management reusable blocks

下载

1.1.0 2.0.0 2.1.2 2.2.2 2.1.3 1.1.1 1.1.2 2.0.2 1.0.10 1.0.9 2.2.0 2.2.1 1.2.0 2.0.5 2.1.0 2.1.1

详情介绍:

Pattern Wrangler makes managing WordPress block patterns easy, and is designed for both hybrid classic/block themes, block themes, and is compatible with most page builders through its shortcode support. Pattern Wrangler allows you to curate the pattern experience for your clients, controlling down to the pattern what the client sees in the block editor. https://www.youtube.com/watch?v=tFnnki9ZOLg
❤️ Spin up a free demo.
Here are the major features: Available features on the Patterns screen include:
Pattern Wrangler integrates seamlessly with block-based and classic themes offering a hybrid setup with unmatched flexibility. Spin up your own demo to see Pattern Wrangler in action.

安装:

  1. Upload the plugin files to the /wp-content/plugins/pattern-wrangler directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress.
  3. Use the plugin through the block editor by adding new patterns or importing existing ones.

屏幕截图:

  • Contextual shortcuts allow you to quickly edit, disable, and enable patterns. Shortcuts such as Copy Pattern to Clipboard and Export to JSON are also present.
  • Filter by all available registered and local categories, or even plugins such as WooCommerce.
  • Admin option for hiding all patterns, disabling remote, theme, plugin, unsynced, synced, and uncategorized patterns.
  • Customizer options such as hiding or showing the customizer UI. Miscellaneous options such as showing the menus UI, and allowing patterns to be exported.
  • Map registered categories to local categories to prevent duplicates when viewing the block patterns.
  • An organized patterns view, demonstrating a trimmed down library and less category clutter.

升级注意事项:

2.2.2 Bug fixes for registered categories not showing in the card view. Empty categories were showing in filters. Quick edit was showing invalid characters for some categories, while not opening because of mismatched slugs.

常见问题:

What is Pattern Wrangler used for?

Pattern Wrangler is often used to curate the client experience when adding patterns via the block editor or full-site editor. It can be used to enable/disable various pattern types, as well as allow you to individually enable or disable a specific pattern, whether registered or local. By doing this, you can trim a pattern library that is in the hundreds down to a more manageable number that are actively being used. Others have used this plugin to disable the pattern library completely. Patterns can slow down the block editor. With Multisite support, you can even disable patterns network-wide.

How can I view the old wp_block post type screen?

You can still visit it by adding override=1: https://yourdomain.com/wp-admin/edit.php?post_type=wp_block&override=1

Can I disable the new Patterns View screen?

Yes. In the Pattern Wrangler settings, toggle the Enhanced Patterns View to off, save, and refresh. The original WordPress patterns screen will display.

Can I import Patterns from any WordPress site?

Yes! If you have the pattern's code, Pattern Wrangler can import it and localize any associated images.

Can I use Patterns in page builders like Elementor?

Yes! You can use the [wp_block slug="pattern-slug"] shortcode to output block patterns anywhere in your theme or other blocks. The Pattern must be a local pattern (i.e., synced or unsynced pattern).

Does this work with Block Themes?

Yes, Pattern Wrangler sits outside of the Full-site Editor in the Patterns menu item. This Patterns screen allows you to configure both local and registered patterns together, curating what is shown inside FSE.

Does this plugin work on WordPress.(com)?

No, this plugin works best with self-hosted installs (normal installs). This plugin uses newer APIs (DataViews) that WordPress.com doesn't allow a custom version of, and the one that ships with Core isn't at the latest version, so the plugin can't get rid of the dependency.

The preview for a pattern isn't working or is formatted wrong.

I've done my best for previews in 2.0, and I know the finished result isn't perfect. The preview feature took several months of solo-developer time, and I've put my best foot forward. I know there will be preview bugs, but with patience, I'm sure we can fix the quirks together. If you can, please be detailed in any support requests as to which plugin or theme might be causing the pattern issue. I don't advise pasting pattern code on .org, so the best way to reach me is via my support form, which you can find in the Pattern Wrangler admin settings. That being said, some patterns are unsalvageable, and should just be disabled or deleted if not being used.

更新日志:

2.2.2 2.2.1 2.2.0 2.1.3 2.1.2 2.1.1 2.1.0 2.0.5 2.0.2 2.0.0 1.2.0 1.1.2 1.1.1 1.1.0 1.0.10 1.0.9 1.0.7 1.0.3 1.0.1 1.0.0