Title: 可重用区块扩展
Author: Jb Audras
Published: <strong>2019 年 9 月 17 日</strong>
Last modified: 2026 年 8 月 28 日

---

搜索插件

![](https://ps.w.org/reusable-blocks-extended/assets/banner-772x250.png?rev=2157787)

![](https://ps.w.org/reusable-blocks-extended/assets/icon-256x256.png?rev=2157787)

# 可重用区块扩展

 作者：[Jb Audras](https://profiles.wordpress.org/audrasjb/)

[下载](https://downloads.wordpress.org/plugin/reusable-blocks-extended.0.9.1.zip)

 * [详情](https://cn.wordpress.org/plugins/reusable-blocks-extended/#description)
 * [评价](https://cn.wordpress.org/plugins/reusable-blocks-extended/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/reusable-blocks-extended/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/reusable-blocks-extended/#developers)

 [支持](https://wordpress.org/support/plugin/reusable-blocks-extended/)

## 描述

扩展Gutenberg可宠用区块功能带有一个完整的管理员面板，widgets，短代码以及PHP函数

这个插件扩展了 Reusable Blocks 管理界面并提供了一些奇特的功能：

 * 添加可重用块仪表板信息
 * 激活可重用块管理员屏幕
 * 提供使用每个可重用块的帖子列表以及上次修改日期
 * 从可重用块管理屏幕提供**可重用块的实时预览**，以及您的主题样式表
 * 提供一个可重用的区块Widget 用于使用你的区块在任何位置，甚至是你的主题的widgets
   区域
 * 提供一个可重用区块短代码来使用你的区块，特别是那些你想要在的文章类型(甚至是如果
   他们使用的是Classic Editor 而不是Gutenberg)
 * 提供一些可重用的块 PHP 函数，以便在主题中的任何位置使用块，甚至
 * 新：一键将可重复使用的块转换为块模式的简单工具！

有关可重用块扩展的完整演示，请参阅此 [WordCamp Talk 合成可用在我的博客上](https://jeanbaptisteaudras.com/en/2019/12/gutenberg-reusable-blocks-wordcamp-marseille-talk-synthesis/)。

## 屏幕截图

[⌊通过预览扩展可重用区块面板⌉⌊通过预览扩展可重用区块面板⌉[

通过预览扩展可重用区块面板

[⌊重新使用区块widget⌉⌊重新使用区块widget⌉[

重新使用区块widget

## 安装

 1. 安装插件，并且激活
 2. 去到可重用区块管理员菜单

## 常见问题

### 怎么使用Widgets实现可重用区块

 * 去到 WP-Admin > Appearance > Widgets.
 * 添加 “Reusable Block” Widget 到你的widget区域
 * 选择你想要重复使用的区块并且保存widget

### 怎么通过短代码实现可重用区块

 * 去到WP-Admin > 复用区块
 * 选择要使用的可重用块；复制提供的短代码。
 * 然后，粘贴到你想要的地方

Syntax: `[reblex id="NUMERIC_ID_OF_THE_REUSABLE_BLOCK"]`

### 怎么通过PHP函数实现重用区块

 * 去到WP-Admin > 复用区块
 * 选择你想要重复使用的区块，复制提供的PHP 函数
 * 然后，粘贴到你想要的地方

语法：
 reblex_display_block( NUMERIC_ID_OF_THE_REUSABLE_BLOCK );

开发人员注意：您可能还需要**获取**短代码数据**在显示之前**。在这种情况下，您应该
使用以下函数：↵ reblex_get_block(NUMERIC_ID_OF_THE_REUSABLE_BLOCK);

## 评价

![](https://secure.gravatar.com/avatar/c76965f479c43ee16f23e404187fe8337bf6fbd371ce6046f6b7e201ec391b72?
s=60&d=retro&r=g)

### 󠀁[Amazing Plugin](https://wordpress.org/support/topic/amazing-plugin-2879/)󠁿

 [webadimark](https://profiles.wordpress.org/webadimark/) 2026 年 6 月 26 日

Great work!

![](https://secure.gravatar.com/avatar/4dab9e30ad86c95e58ec07f4cfa22d938c6d989b03730da55dac757daff4eaf7?
s=60&d=retro&r=g)

### 󠀁[Makes life so much easier!](https://wordpress.org/support/topic/makes-life-so-much-easier-15/)󠁿

 [whichgodsaves](https://profiles.wordpress.org/whichgodsaves/) 2025 年 9 月 3 日

Thanks for making writing so much easier with a great plugin to manage my blocks
and patterns. Forgot how good it was until I did a new site without it!

![](https://secure.gravatar.com/avatar/061ec5c4e043371a9ce9e2ef0a6339a5d55dcd8a61c1e3d999914ed11746d802?
s=60&d=retro&r=g)

### 󠀁[Valuable addition for working with templates](https://wordpress.org/support/topic/valuable-addition-for-working-with-templates/)󠁿

 [Orlandoo](https://profiles.wordpress.org/orlandoo/) 2025 年 8 月 19 日

This plugin adds practical functions to template management that should actually
be available directly in WordPress. The overview of where each template has been
used is worth its weight in gold.

![](https://secure.gravatar.com/avatar/186e719edefd0d9f8f631cb91da872526b7fd95bb28854f702b17975d3fdfcc0?
s=60&d=retro&r=g)

### 󠀁[This does the job of a $200 plugin](https://wordpress.org/support/topic/this-does-the-job-of-a-200-plugin/)󠁿

 [Line49 Design](https://profiles.wordpress.org/line49/) 2024 年 6 月 14 日

Hey everybody that wrote to this forum and complained about something not working
with this free plugin: You can get the Gutenberg Block as a Shortcode function by
using WP Code Pro. It works great and is highly supported. But the price is USD$
100/yr for a single website, or $250/yr for 25 sites (prices upon yearly renewal).
The whole reason I found this plugin is that WP Code Pro is expensive, and there
is no LTD. After a fairly thorough search, I have found zero other options besides
these two plugins: one home-made and one commercial. So if you don't want to pay
the premium price for the commercial plugin, then there's no point complaining about
the homemade one.

![](https://secure.gravatar.com/avatar/5e485d1e5178cfabac0256a33205358a7f76de96e7d5c70a3bbe51adaef9af7e?
s=60&d=retro&r=g)

### 󠀁[Lack Of Support](https://wordpress.org/support/topic/lack-of-support-31/)󠁿

 [mjmurphy53711](https://profiles.wordpress.org/mjmurphy53711/) 2024 年 6 月 4 日

Previously a 5 star review, the last year problems creeping in and it's obvious 
to me that the developer refuses to participate in this support forum. Kick them
out of the respository until they are responsive. Note to developer, previously 
would have happily purchased a pro version of this plugin (which you don't seem 
to offer) in order to support you and get access to support.

![](https://secure.gravatar.com/avatar/8df98d73be4c51d18c668e3d3c23c0a25aa63a40ed67788807e7ed83076ce8f7?
s=60&d=retro&r=g)

### 󠀁[Awesome](https://wordpress.org/support/topic/awesome-10230/)󠁿

 [robertorefresh](https://profiles.wordpress.org/robertorefresh/) 2024 年 10 月 
24 日

simple and usefull. I'm using it in every website

 [ 阅读所有40条评价 ](https://wordpress.org/support/plugin/reusable-blocks-extended/reviews/)

## 贡献者及开发者

「可重用区块扩展」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jb Audras ](https://profiles.wordpress.org/audrasjb/)
 *   [ Whodunit ](https://profiles.wordpress.org/whodunitagency/)
 *   [ Rachel Peter ](https://profiles.wordpress.org/larrach/)

「可重用区块扩展」插件已被翻译至 14 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/reusable-blocks-extended/contributors)
为本插件所做的贡献。

[帮助将「可重用区块扩展」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/reusable-blocks-extended)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/reusable-blocks-extended/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/reusable-blocks-extended/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/reusable-blocks-extended/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/reusable-blocks-extended/)。

## 更新日志

#### 0.9.1

 * Security fixes. Props to Rio Darmawan and Darius S., via [Patchstack Alliance](https://patchstack.com/)
   ♥️

#### 0.9

 * Props @chaton666 (Marie Comet) for a small fix.
 * WP 6.0 compatibility.

#### 0.8

 * Performance enhancement on the `wp_block` list table. Props @grapplerulrich for
   spotting this.

#### 0.7

 * WP 5.8 compatibility.
 * Replace “Reusable blocks” menu name with “Blocks”.
 * Small variable name and docs change.
 * Various minor interface improvements.

#### 0.6.2

 * 移除一个PHP 注意

#### 0.6.1

 * 修复一个带有多语言插件的问题(props @eddystile).

#### 0.6

 * 引入区块模式会话工具用于WP5.5+

#### 0.5.1

 * 修复一个带有ACF Pro 区块的bug。属性[@mbcreation](https://profiles.wordpress.org/mbcreation/)
   用于提出这个问题

#### 0.5

 * 改进了预览功能，现在可以在模式窗口中显示您的可重用块。

#### 0.4

 * 即使激活了经典编辑器插件，也可以强制 wp_block 帖子类型的块编辑器。
 * 可折叠项目改进

#### 0.3

 * 使块实例可折叠以获得更好的预览。道具@alfredg。

#### 0.2

 * 在预览 iframe 中使用 @import 而不是链接标记或入队。

#### 0.1

 * 插件初始化提交，工作完成 🙂

## 额外信息

 *  版本 **0.9.1**
 *  最后更新：**2 月前**
 *  活跃安装数量 **10,000+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **7.1.4**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [Chinese (China)](https://cn.wordpress.org/plugins/reusable-blocks-extended/)、
   [Chinese (Taiwan)](https://tw.wordpress.org/plugins/reusable-blocks-extended/)、
   [English (US)](https://wordpress.org/plugins/reusable-blocks-extended/) 、 [French (France)](https://fr.wordpress.org/plugins/reusable-blocks-extended/)、
   [German](https://de.wordpress.org/plugins/reusable-blocks-extended/) 、 [German (Switzerland)](https://de-ch.wordpress.org/plugins/reusable-blocks-extended/)、
   [Japanese](https://ja.wordpress.org/plugins/reusable-blocks-extended/) 、 [Korean](https://ko.wordpress.org/plugins/reusable-blocks-extended/)、
   [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/reusable-blocks-extended/)、
   [Russian](https://ru.wordpress.org/plugins/reusable-blocks-extended/) 、 [Spanish (Chile)](https://cl.wordpress.org/plugins/reusable-blocks-extended/)、
   [Spanish (Colombia)](https://es-co.wordpress.org/plugins/reusable-blocks-extended/)、
   [Spanish (Ecuador)](https://es-ec.wordpress.org/plugins/reusable-blocks-extended/)、
   [Spanish (Spain)](https://es.wordpress.org/plugins/reusable-blocks-extended/)
   和 [Spanish (Venezuela)](https://ve.wordpress.org/plugins/reusable-blocks-extended/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/reusable-blocks-extended)
 * 标签
 * [blocks](https://cn.wordpress.org/plugins/tags/blocks/)[pattern](https://cn.wordpress.org/plugins/tags/pattern/)
   [reusable](https://cn.wordpress.org/plugins/tags/reusable/)[shortcode](https://cn.wordpress.org/plugins/tags/shortcode/)
   [widget](https://cn.wordpress.org/plugins/tags/widget/)
 *  [高级视图](https://cn.wordpress.org/plugins/reusable-blocks-extended/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  38 条 5 星评价     ](https://wordpress.org/support/plugin/reusable-blocks-extended/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/reusable-blocks-extended/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/reusable-blocks-extended/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/reusable-blocks-extended/reviews/?filter=2)
 *  [  1 条 1 星评价     ](https://wordpress.org/support/plugin/reusable-blocks-extended/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/reusable-blocks-extended/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/reusable-blocks-extended/reviews/)

## 贡献者

 *   [ Jb Audras ](https://profiles.wordpress.org/audrasjb/)
 *   [ Whodunit ](https://profiles.wordpress.org/whodunitagency/)
 *   [ Rachel Peter ](https://profiles.wordpress.org/larrach/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/reusable-blocks-extended/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.me/audrasjb)