Fabrica Reusable Block Instances

描述

Provides some vital functionality missing from WP 5.X Core for users of Reusable Blocks:

  • Shows how many times each Reusable Block has been used throughout the whole site
  • This count links to a list of all the content which uses the block (Posts, Pages and Custom Post Types)

If you are making changes to Reusable Blocks and need to keep an eye on where those changes will be seen, this plugin is for you.

This is a super-lightweight plugin, with under 100 lines of code, no settings, and it does not modify your database in any way.

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

螢幕截圖

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

安裝

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.

評價

2019年7月7日
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!
2019年5月9日
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.
2019年4月19日 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.
閱讀全部3個評價

貢獻者及開發者

“Fabrica Reusable Block Instances” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

Fabrica Reusable Block Instances 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 Fabrica Reusable Block Instances 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

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