Linux 软件免费装
Banner图

Reusable Blocks Extended

开发者 audrasjb
whodunitagency
larrach
更新时间 2026年8月28日 13:19
捐献地址: 去捐款
PHP版本: 7.0 及以上
WordPress版本: 7.1
版权: GPLv2
版权网址: 版权信息

标签

Widget Shortcode Blocks pattern Reusable

下载

0.2 0.7 0.1 0.9.1 0.9 0.8 0.3 0.4 0.5 0.5.1 0.6 0.6.1 0.6.2

详情介绍:

Extend Gutenberg Reusable Blocks feature with a complete admin panel, widgets, shortcodes and PHP functions. This plugin extends the Reusable Blocks admin interface and provides few fancy features: For a full presentation of Reusable Blocks Extended, see this WordCamp Talk synthesis available on my blog.

安装:

  1. Install the plugin and activate.
  2. Go to Reusable Blocks Admin Menu

屏幕截图:

  • Reusable block widget

常见问题:

How to implement Reusable Blocks using Widgets

  • Go to WP-Admin > Appearance > Widgets.
  • Add "Reusable Block" Widget to your widget area.
  • Choose the reusable block you want to use and save the widget.

How to implement Reusable Blocks with shortcode

  • Go to WP-Admin > Reusable Blocks.
  • Choose the reusable block you want to use; copy the provided shortcode.
  • Then, paste it where you want.
Syntax: [reblex id="NUMERIC_ID_OF_THE_REUSABLE_BLOCK"]

How to implement Reusable Blocks with PHP functions

  • Go to WP-Admin > Reusable Blocks.
  • Choose the reusable block you want to use; copy the provided PHP function.
  • Then, paste it where you want.
Syntax: reblex_display_block( NUMERIC_ID_OF_THE_REUSABLE_BLOCK ); Note for developers: you may also need to get the shortcode data before displaying it. In this case, you should use the following function: reblex_get_block( NUMERIC_ID_OF_THE_REUSABLE_BLOCK );

更新日志:

0.9.1 0.9 0.8 0.7 0.6.2 0.6.1 0.6 0.5.1 0.5 0.4 0.3 0.2 0.1