Discover, trust, install: FAIR 1.0 is here

Plugin Banner

Reusable Blocks Extended

by Jb Audras

Version: 0.9.1

Download
Description

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:

  • 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
  • Provide a live preview of your reusable blocks from the Reusable Blocks admin screen, with your theme stylesheets
  • Provide a Reusable Blocks Widget to use your block anywhere you want in your theme’s widgets areas
  • Provide a Reusable Blocks Shortcode to use your block anywhere you want in your Post types (even if they use the Classic Editor rather than Gutenberg!)
  • Provide some Reusable Blocks PHP functions to use your block anywhere you want in your theme even

  • NEW: An easy tool to convert reusable blocks to block patterns in one click!

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
  1. Extended Reusable Blocks admin screen with preview

    Extended Reusable Blocks admin screen with preview

  2. Reusable block widget

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

This does the job of a $200 plugin

By Line49 Design (line49) on June 14, 2024

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.

Lack Of Support

By mjmurphy53711 on June 4, 2024

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.

Awesome

By robertorefresh on October 24, 2024

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

Need help "500 Internal Server Error"

By marklustre on November 28, 2023

The plugin was good and I really like it. but now I have problem when I open the plugin it self it will show "500 Internal Server Error". This only plugin have error. Please help. Thanks

Saved me lots of time

By tomo55555 on September 24, 2023

This is a very useful plugin, especially as it stops my admin team accidentally editing a reusable block and then changing all the blocks, which gutenberg sometimes messes up. This plugin could be extended even further.

I wish I could use this...

By Oliver @ WebMatros.com (olivernielsen) on March 30, 2023

The plugin works fine... on its own. When used with other plugins that add columns to the reusable blocks view: this plugin blocks (pun intended) them from working:(

So I can't use your plugin alongside:

  • Article Word Count Column
  • Sortable Word Count Reloaded

On the other hand, the plugin Admin Columns blocks the above two, AND yours, from working...

I hope you can update your plugin to play nice with other plugins? Or, if it's their fault: let me know, and I'll reach out to those other two developers, to let them know they should fix something.

Apart from the above, I really dig the functionality of the plugin. Hence I wish I can get to use it;)

Oliver

Excellent plugin

By KS (karl19) on March 21, 2023

Very useful plugin. I needed to migrate a site from Stackable v2 to v3 and this plugin helped me to list which reusable blocks were actually still in use, so I didn't need to spend time updating the unused ones.

Un must use

By khahina on July 15, 2022

Ought be add in gutenberg core ... a must use

Excellent plugin

By Jonas (gnuworld) on July 14, 2022

Ran into a wall trying to get WordPress Core's reusable Gutenberg blocks to work in widget areas. Seems obvious that that's a perfectly reasonable use case. Thank you for making this plugin, it's excellent!

That's how reusable blocks should work in WP Core!

By Martin Sauter (martin.sauter) on January 5, 2022

It's a pity that WordPress Core offers so little features around reusable blocks. This plugin unlocks the full potential of reusable blocks. Love it!

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 🙂
  • Version:Version: 0.9.1
  • Active installs:Active installs: 20K
  • Last updated:Last updated: 6 months ago
  • Requires:Requires: 5.0
  • Tested:Tested: 6.8
Average rating:4.8 out of 5 stars.
  • Number of ratings: 35 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 1 ratings
  • Number of ratings: 1 ratings
Back to top