Coaderhub Reusable Blocks
Coaderhub Reusable Blocks provides a simple way to create and manage reusable content that can be displayed in different areas of a WordPress website. Create a reusable content block from the WordPress admin and display it using a shortcode or the provided PHP function. The plugin uses standard Word
About this tool.
Coaderhub Reusable Blocks provides a simple way to create and manage reusable content that can be displayed in different areas of a WordPress website.
Create a reusable content block from the WordPress admin and display it using a shortcode or the provided PHP function.
The plugin uses standard WordPress functionality and keeps frontend output simple so your active theme remains in control of the design.
Content block content is processed using WordPress content sanitization before it is stored and displayed.
Arbitrary JavaScript, CSS, or PHP entered into a content block is not executed by the plugin.
Supported iframe content is restricted to approved HTTPS embed providers.
Features
- Create and manage reusable content blocks
- Use content blocks with shortcodes
- Display content blocks with PHP
- Use block IDs or slugs with shortcodes
- Categories for organizing content
- WordPress revisions
- Featured images
- Preview content
- Duplicate content
- Custom CSS classes
- Simple admin list with shortcode and ID
- WordPress permissions and nonce protection
- REST API support
- Sanitized content output
- Restricted HTTPS iframe embeds
Usage
Create a reusable content block from:
Coaderhub Reusable Blocks > Add New Reusable Block
After publishing, you can use the shortcode:
[coaderhub id=”123″]
Replace 123 with the ID of your reusable content block.
You can also use the block slug:
[coaderhub id=”homepage-cta”]
Additional shortcode attributes are available:
[coaderhub id=”123″ plain=”1″]
You can also specify a wrapper element:
[coaderhub id=”123″ wrapper=”section”]
Custom CSS classes can be added:
[coaderhub id=”123″ class=”homepage-cta”]