Pattern Wrangler – Simple Block Patterns Management

Pattern Wrangler – Simple Block Patterns Management

توسط

Pattern Wrangler curates your bloated pattern library, and makes managing WordPress block patterns easy. If you manage dozens of patterns, you will love this plugin.

It is designed for both hybrid classic/block themes, block themes, and is compatible with most page builders through its shortcode support and code support. Pattern Wrangler allows you to manage patterns for your clients, controlling down to the block pattern and category what the client sees in the block editor.

The plugin features several pattern builder helpers, such as duplicating a pattern easily, deleting patterns, copying registered patterns to a synced pattern, and much more.

❤️ Spin up a free demo.

Here are the major features:

  • Patterns View Screen – A new block patterns screen now shows at a glance all of the available items for your site. You can sort through both local (synced and unsynced) and registered patterns, and selectively disable or enable whatever items you’d like your client to see. A real-time preview is available by clicking on the pattern.
  • Dedicated Categories Screen – Manage both registered and local categories in one intuitive interface. Bulk-disable categories, or map them to existing ones.
  • Hide All Patterns – Completely hide items from the block editor in one click. This also hides the menu item.
  • Selective Hiding – Hide core, remote, theme, or plugin patterns while keeping your custom patterns visible. You can also hide synced and unsynced patterns together or separately. If you need to hide WooCommerce patterns, you can do so by hiding all plugin patterns, or using the Patterns View to disable the patterns individually.
  • Category Management – Disable, map, and rename registered categories from themes and plugins for better organization. This will help you keep local and registered patterns organized together. For example, you’d like to create a “Call to Action” category for a local pattern, but a registered category already exists, do you have a duplicate in the patterns view. In this case, map the registered category to the local one and remove the duplicate.
  • Output Patterns Anywhere – Use a shortcode or PHP function to display local patterns in page builders, widgets, your theme, or in other blocks. This works well in Multisite and allows you to use synced patterns across the network.
  • Pattern Preview – Preview a pattern on the frontend with shortcuts in the block editor.
  • Pattern Builder Features – Quickly duplicate a pattern, copy a local pattern to a synced pattern, delete, copy, and export patterns.
  • Cross-Site Pattern Copying – Transfer patterns, including the remote images, between WordPress sites effortlessly. This is useful if you’re copying a pattern from one site to another or copying a pattern from a production site to a development site.

Available features on the Patterns screen include:

  • Sort between Local and Registered block patterns.
  • Filter between categories and pattern source.
  • Click a pattern to view a real-time preview in a lightbox.
  • Copy registered patterns to a local copy.
  • Export all patterns to JSON.
  • Copy a pattern to the clipboard.
  • Disable each pattern individually.
  • Quickly edit local patterns.
  • Add new patterns or import patterns from JSON.

Available features on the Categories screen include:

  • Sort between local and registered categories.
  • Disable and map registered categories to local ones.
  • Easily create new categories.
  • Delete local categories as needed.
  • Bulk options allow you to disable, and enable registered categories.

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.

Quick Links

All Features and Documentation | Sponsor Us | Pattern Wrangler Home

Source code is available on GitHub. Code contributions and sponsorships appreciated.

Requirements and Compatibility

Requires WordPress 6.8 or higher. 6.9 is recommended.

Fully compatible with most themes, including block themes, to manage patterns. Ideal for hybrid setups and page builders. If you need to use a block in a page builder or classic editor, you can create a new pattern, configure the block, and use the built-in shortcode. If you need to use the pattern in a template, you can use the built-in PHP function, which is available for all local patterns.

This plugin has been tested almost exclusively with the Ollie theme, which is a phenomenal block theme. All the 202x themes have also been tested, as well as Blocksy, Astra, and GeneratePress.

If you have any issues with the previews, please be patient in your support requests, and also specific as to which themes or plugins may be involved.

Integrations

This plugin integrates well with the following:

  • Synced Pattern Popups: Synced Pattern Popups helps you create popups using the WordPress editor you already know, not yet another builder.
  • Block Visibility: Easily create dynamic content in WordPress that will increase conversions, enhance the user experience, and improve your workflow.
  • Spectra, Kadence, and GenerateBlocks.

If you have an idea for other integrations, please leave a support thread.

Help This Plugin Grow

❤️ Please help spread the word about this plugin through your kind review and by telling others about this plugin.

  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.

سوالات متداول

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.

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
بازخورد (Feedback) های اینلاین
مشاهده همه دیدگاه ها
نسخه حجم فایل SHA256 تغییرات دانلود
2.4.6 541 کیلوبایت -
دانلود
×
★★★★★
★★★★★
5.0 /5 (4 نظر)

قیمت:

رایگان

نگارش

2.4.6

آخرین انتشار

21 اردیبهشت 1405

آخرین بروزرسانی

1 ماه پیش

نصب های فعال

400+

نگارش وردپرس

وردپرس 6.8+

تست شده از نسخه

وردپرس 7.0

نگارش PHP

PHP 7.2+

نسخه ها

1 نسخه