Reusable Blocks Extended

説明

Gutenbergの再利用ブロックの機能を拡張します。
管理画面、ウィジェットに再利用ブロックメニューが追加されます。
ショートコードやPHPファイルで使えるコードが生成されます。

このプラグインは再利用ブロックの管理画面を拡張し、いくつかの機能を追加提供します。

  • Add Reusable Blocks dashboard informations
  • Activate Reusable Blocks admin screen
  • Provide a list of Posts where each Reusable Block is used and the date it was last modified
  • 再利用ブロックの管理画面から、テーマのスタイルシートが適応されたプレビューを提供します。
  • 同期パターン(旧 : 再利用ブロック)をPHP関数にすることができます。テーマファイルの好きな場所で同期パターンが使えるようになります。
  • 再利用ブロックのショートコードを提供でき、投稿の好きな場所でブロックを使用できるようにします。(GutenbergではなくClassic Editorを使用している場合でも!)
  • 再利用ブロックをPHP関数で提供でき、テーマ内の好きな場所で再利用ブロックを使えるようにします。

  • NEW: 再利用ブロックをワンクリックでブロックパターンに変換する簡単なプラグインです !

Reusable Blocks Extendedの詳細は、こちらをご覧ください
WordCamp Talk synthesis available on my blog.

スクリーンショット

  • Extended Reusable Blocks admin screen with preview
  • Reusable block widget

インストール

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

FAQ

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 );

評価

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!
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.
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.
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.
40件のレビューをすべて表示

貢献者と開発者

Reusable Blocks Extended はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Reusable Blocks Extended” は14ロケールに翻訳されています。 翻訳者のみなさん、翻訳へのご協力ありがとうございます。

“Reusable Blocks Extended” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

0.9.1

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

  • Removes a PHP notice.

0.6.1

  • Fix an issue with polylang plugin (props @eddystile).

0.6

  • Introduces the Block Pattern conversion tool for WP 5.5+.

0.5.1

  • Fixes a bug with ACF Pro Blocks. Props @mbcreation for raising the issue.

0.5

  • Improvement of the preview feature, which is now displaying your reusable blocks in a modal window.

0.4

  • Force block editor for wp_block post type even with Classic Editor plugin activated.
  • Collapsible items improvements.

0.3

  • Make block instances collapsible for a better preview. Props @alfredg.

0.2

  • Use @import instead of link tag or enqueues in the preview iframe.

0.1

  • Plugin initial commit. Works fine 🙂