Pattern Wrangler – Manage Reusable Blocks and Patterns

Description

Pattern Wrangler enhances your experience with WordPress block patterns by adding a few features that let you:

  • Hide All Patterns – If you need to hide patterns completely from the block editor, you can do so with a single click.
  • Hide Core and Remote Patterns – If you only want to show patterns you’ve created, you can hide all core and remote patterns.
  • Hide Theme and Plugin Patterns – If you only want to show patterns you’ve created, you can hide all patterns from themes and plugins.
  • Map and Rename Registered Categories – If you have a lot of patterns, you can map them to categories and rename the categories to something more meaningful.
  • Output Patterns With a Shortcode – If you want to output a pattern in a page builder or widget, you can do so with a shortcode. This is compatible with most block plugins.
  • Copy Patterns From Site to Site – If you have a post on one site, you can copy it over, including the images, using the Pattern Importer block.

Quick Links

All Features and Documentation | Sponsor Us | Pattern Wrangler Home

Source code is available on GitHub.

Requirements and Compatibility

Requires WordPress 6.5 or higher.

Compatible with most themes, including block themes.

Screenshots

  • An example of an organized Patterns screen.
  • Enhanced Patterns List View with shortcode and category/sync columns.
  • Map registered categories to terms, or rename for better organization or translations.
  • Enable the Customizer UI, and load Additional CSS in the block editor.
  • Hide all patterns, or hide them from core, remote, themes, or plugins.
  • Preview a Pattern on the frontend.

Blocks

This plugin provides 1 block.

  • Pattern Inserter Paste in a pattern and it will be inserted for you.

Installation

  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.

FAQ

Can Pattern Wrangler import patterns from any WordPress site?

Yes, as long as you have the pattern’s code, Pattern Wrangler can import it and localize any images found within.

Reviews

September 19, 2024
This is exactly what I was looking for. I was surprised to see that the WordPress importer does not allow you to export all of your patterns at once via a xml file. Having to export them in bulk and import them individually into a new site is not ideal. This plugin allows you to import one xml file and saves you a ton of time. The option to hide core patterns is another great feature as well. Thank you!
April 22, 2024
This plugin is a miracle. I’m migrating a site that had a lot of messed-up settings that I wasn’t able to remedy (pages called post etc) from the bad site to a new one I set up. But I’d already created most of the pages on the original site and was happy with them. How to get all that content across? While I was trying to figure this out, I received an email from the developer announcing the creation of this plugin. Oh my goodness! Create pattern from content on old site, export as JSON, import JSON to patterns on new site, add pattern to page, bam! Images and everything came across perfectly. What a timesaver. I’m a happy user of GBHacks as well, but this is next level.
Read all 2 reviews

Contributors & Developers

“Pattern Wrangler – Manage Reusable Blocks and Patterns” is open source software. The following people have contributed to this plugin.

Contributors

“Pattern Wrangler – Manage Reusable Blocks and Patterns” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Pattern Wrangler – Manage Reusable Blocks and Patterns” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.2

  • Released 2024-08-16
  • Loading script translations is now working.

1.1.1

  • Released 2024-08-16
  • Fixing admin script enqueueing for other language support.

1.1.0

  • Released 2024-05-22
  • Updated Pattern Importer icon.
  • Added hooks to load custom headers/footers for the preview.

1.0.10

  • Released 2024-04-18
  • Added miscelleanous option to make Patterns exportable via the WP exporter.
  • Fixed categories not showing when resetting options.

1.0.9

  • Released 2024-04-14
  • Removed old dead code.
  • Fixing settings and docs links.
  • Initial WordPress.org release!

1.0.7

  • Released 2024-04-12
  • Fixing sanitization issues.
  • Added Fancybox to Patterns screen. See @fancyapps/ui for more information.
  • Fixed issue with mapped patterns would not show up if a category was empty.

1.0.3

  • Released 2024-04-09
  • Refactored categories so only registed categories can be mapped to terms.

1.0.1

  • Added variable height preview image to Patterns screen.
  • Added Pattern Categories to Patterns menu item.
  • Removing unneeded code.

1.0.0

  • Initial release.