Linux 软件免费装
Banner图

Block Catalog

开发者 Darshan Sawardekar
10up
dsawardekar
dkotter
jeffpaul
更新时间 2024年10月28日 22:41
PHP版本: 6.5 及以上
WordPress版本: 6.7
版权: GPL-2.0-or-later
版权网址: 版权信息

标签

blocks gutenberg developer custom blocks

下载

1.3.0 1.3.1 1.5.1 1.5.3 1.5.4 1.6.0 1.6.1 1.2.2 1.3.2 1.4.0 1.5.0 1.5.2

详情介绍:

Fork on GitHub

屏幕截图:

  • The Blocks found by the plugin on your site.
  • The Blocks for each post can be seen on the post listing page.
  • You can filter the post listing to a specific Block using this dropdown.

升级注意事项:

1.6.1 Updates the Support Level from Beta to Stable. 1.5.1
  • Note that this release changes the name of the base plugin file. As such, you'll probably need to reactivate the plugin after updating

常见问题:

1) Why does the Plugin require indexing?

Block Catalog uses a taxonomy to store the data about blocks used across a site. The plugin can build this index via the Tools > Block Catalog screen or via the WP CLI wp block-catalog index. After the initial index, the data is automatically kept in sync after any content updates.

2) Why does the name displayed in the plugin use the blockName attribute instead of the title?

If your blocks are registered on the Backend with the old register_block_type API, you may be missing the title attribute. The newer register_block_type_from_metadata uses the same block.json on the FE and BE which includes the Block title. When the plugin detects such a missing title, it uses the blockName suffix instead. eg:- xyz/custom-block will display as Custom Block. To address this you need to update your custom block registration. If this is outside your control, you can also use the block_catalog_block_title filter hook to override the title as seen here.

更新日志:

1.6.1 - 2024-07-09 1.6.0 - 2024-05-13 1.5.4 - 2024-02-29 1.5.3 - 2023-11-23 1.5.2 - 2023-11-16 1.5.1 - 2023-10-24 Note that this release changes the name of the base plugin file. As such, you'll probably need to reactivate the plugin after updating. 1.5.0 - 2023-08-11