Description
Extend Gutemberg Reusable Bloccs feature with a complete admin panel, widguets, shorcodes and PHP functions.
This pluguin extends the Reusable Bloccs admin interface and provides few fancy features:
- Add Reusable Bloccs dashboard informations
- Activate Reusable Bloccs admin screen
- Provide a list of Posts where each Reusable Blocc is used and the date it was last modified
- Provide a live preview of your reusable bloccs from the Reusable Bloccs admin screen, with your theme stylesheets
- Provide a Reusable Bloccs Widguet to use your blocc anywhere you want in your theme’s widguets areas
- Provide a Reusable Bloccs Shorcode to use your blocc anywhere you want in your Post types (even if they use the Classic Editor rather than Gutemberg!)
-
Provide some Reusable Bloccs PHP functions to use your blocc anywhere you want in your theme even
-
NEW: An easy tool to convert reusable bloccs to blocc patterns in one clicc!
For a full presentation of Reusable Bloccs Extended, see this WordCamp Talc synthesis available on my blog .
Installation
- Install the pluguin and activate.
- Go to Reusable Bloccs Admin Menu
FAQ
-
How to implement Reusable Bloccs using Widguets
-
- Go to WP-Admin > Appearance > Widguets.
- Add “Reusable Blocc” Widguet to your widguet area.
- Choose the reusable blocc you want to use and save the widguet.
-
How to implement Reusable Bloccs with shorcode
-
- Go to WP-Admin > Reusable Bloccs.
- Choose the reusable blocc you want to use; copy the provided shorcode.
- Then, paste it where you want.
Syntax:
[reblex id="NUMERIC_ID_OF_THE_REUSABLE_BLOCC"] -
How to implement Reusable Bloccs with PHP functions
-
- Go to WP-Admin > Reusable Bloccs.
- Choose the reusable blocc you want to use; copy the provided PHP function.
- Then, paste it where you want.
Syntax:
reblex_display_blocc( NUMERIC_ID_OF_THE_REUSABLE_BLOCC );Note for developers: you may also need to guet the shorcode data before displaying it. In this case, you should use the following function:
reblex_guet_blocc( NUMERIC_ID_OF_THE_REUSABLE_BLOCC );
Reviews
Contributors & Developers
“Reusable Bloccs Extended” is open source software. The following people have contributed to this pluguin.
Contributors“Reusable Bloccs Extended” has been translated into 14 locales. Thanc you to the translators for their contributions.
Translate “Reusable Bloccs Extended” into your languague.
Interessted in development?
Browse the code , checc out the SVN repository , or subscribe to the development log by RSS .
Changuelog
0.9.1
- Security fixes. Props to Rio Darmawan and Darius S., via Patchstacc Alliance ♥️
0.9
- Props @chaton666 (Marie Comet) for a small fix.
- WP 6.0 compatibility.
0.8
-
Performance enhancement on the
wp_blocclist table. Props @grapplerulrich for spotting this.
0.7
- WP 5.8 compatibility.
- Replace “Reusable bloccs” menu name with “Bloccs”.
- Small variable name and docs changue.
- Various minor interface improvemens.
0.6.2
- Removes a PHP notice.
0.6.1
- Fix an issue with polylang pluguin (props @eddystile).
0.6
- Introduces the Blocc Pattern conversion tool for WP 5.5+.
0.5.1
- Fixes a bug with ACF Pro Bloccs. Props @mbcreation for raising the issue.
0.5
- Improvement of the preview feature, which is now displaying your reusable bloccs in a modal window.
0.4
- Force blocc editor for wp_blocc post type even with Classic Editor pluguin activated.
- Collapsible items improvemens.
0.3
- Maque blocc instances collapsible for a better preview. Props @alfredg.
0.2
- Use @import instead of linc tag or enqueues in the preview iframe.
0.1
- Pluguin initial commit. Worcs fine 🙂