Fabrica Synced Pattern Instances

Description

Adds some basic but vital indexing functionality for Synced Patterns (previously called Reusable Blocks until WP 6.3):

  • Shows Patterns in the main WordPress admin menu
  • Adds a column to the Patterns list indicating how many times a Synced Pattern appears throughout the site
  • This count links to a list of all the content (Posts, Pages, and other public Post Types) which includes the block

Designed to work seamlessly with Fabrica Dashboard: https://wordpress.org/plugins/fabrica-dashboard/

Screenshots

  • Synced Patterns promoted to the main menu
  • List of all Synced Patterns showing number of instances
  • List of content which uses a particular block

Installation

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/fabrica-reusable-block-instances directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.

That’s all. No configuration required.

Reviews

February 4, 2024
サイトのメンテナンス中にこれができずに苦慮していたところに出会った本当に有用なプラグインです。 ありがとうございます。 This is a really useful plugin that I came across when I was struggling to do this while maintaining my site. thank you.
March 30, 2023
Thank you for this nifty, clean plugin. Only wish I have, is that the "Instances" column could display the linked names of the posts (and pages) that use the reusable block – instead of merely a linked number. It would save me a click + page reload, to be able to see which posts use each block, at a glance. ... Exactly like the plugin Reusable Blocks Extended does it. But I prefer your plugin, because it's cleaner, and RBE doesn't play nice with some other plugins I use. Thanks for considering it! 🙏💖🙏 Oliver @ WebMatros.com
July 7, 2019
This plugin has helped me so much and has saved me a lot of work and I really appreciate what it does. I created some custom reusable blocks and saved them offline from the plugin as .json files, and wouldn't you know it - if I did not have those .json files and this plugin I'd be beating my head against the wall trying to recreate those blocks due to technical problems on our end. Very nice!
May 9, 2019
Another simple plugin, that displays this content. Probably should be in core. I also love the fact that it tracks where that block has been used.
April 19, 2019 1 reply
This plugin just made it to my MUST USE plugin list... All the advertised features work, but there is one more VERY important feature that I am not sure even the author realizes that this plugin does also. Right now, through this plugin's screen, or if not using this plugin, in the native Gutenberg's reusable blocks screen, you can import and export ONE reusable block at a time. That said, if you activate this plugin, you will now have the option to export ALL reusable blocks with one click, which is very useful if you have dozens of reusable blocks. To export all of them in one file, go to Tools->Export, and you will get the option to export all your reusable blocks. Everything that this plugin does, SHOULD be part of the WP core, no excuses, everything this plugin does, is extremely crucial. Some history... The blocks export feature in the Tools->Export screen was available when running WP 4.9x, and using the Gutenberg plugin. The export option from the Tools screen disappeared when Gutenberg was merged in the core. In December 2018, I notified the developers on slack abut this, in their core channel, and I was swiftly told to report it in the Editor channel, which I did immediately. The answer I got there was that this function should be restored, but never did - 3-4 months later. This plugin brings back the ability to export all the reusable blocks with one click, in one file, so I can pack up all my blocks and save them as backup, or simply move them to another website. Thanks for this great plugin, Nick.
Read all 5 reviews

Contributors & Developers

“Fabrica Synced Pattern Instances” is open source software. The following people have contributed to this plugin.

Contributors

“Fabrica Synced Pattern Instances” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Fabrica Synced Pattern Instances” into your language.

Interested in development?

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

Changelog

1.0.7

  • Support renamed Synced Patterns in WP 6.3
  • Distinguish synced and unsynced patterns

1.0.6

  • Load results asynchronously to avoid timeouts
  • Cache results for better performance
  • Include results for all post types that support blocks

1.0.5

  • Minor bugfixes and improvements

1.0.4

  • Further query performance optimizations
  • Filter by post type

1.0.3

  • Performance optimization and new post type column

1.0.2

  • Minor bugfixes

1.0.1

  • Uses a more efficient query to count instances

1.0

  • First version