Reusable Blocks Extended

Reusable Blocks Extended

By Jb Audras

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

  • 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
0.9.1
Last Update
13 days ago
Download
94,383+
Tested up to:
6.8
Categories:
General

Screenshots

Alternative Plugins for Reusable Blocks Extended

Create reusable pieces of content that you can insert into themes, posts, pages & widgets.

Categories: General

Extended Comment Options allows you to close or open comments on batches of posts. You can schedule this automatically, too.

Categories: General

Simple and flexible content management block with a [shortcode]. This can be used for reusable text or widgets.

Categories: General

Extended Featured Content Widget is a powerful, light weight wordpress plugin that helps you can organize your post/page content beautifully.

Categories: General

Loomisoft's Reusable Content & Text Blocks plugin allows you to define modular and repeated blocks of text and other content and place them w …

Categories: General

This plugin extends the capability of the original Random Number Generator plugin so that the short code may be used within custom text/html fields na …

Categories: General

This plugin extends the ad placements capability of the original AdRotate plugin within themes that offer dedicated ad placements outside of the stand …

Categories: General

Extended Options keeps meta data and certain WordPress tweaks persistent regardless of the active theme without editing any theme files.

Categories: General

This plugin automatically generates and inserts a table of contents (ToC) to your pages and posts, based on tags h1-h6. It can deal with nextpage-tag.

Categories: General

Discover the Lists with Reusable Blocks Extended

wordpress_init

By Viktor

Base

By Elizabeth Reiher

Bookarno Plugins

By Alan Egan

All the plugins that you need for your Bookarno website

Sito Easy

By bakerloory

Plugin Sito Easy