| 开发者 | coaderhub |
|---|---|
| 更新时间 | 2026年9月28日 14:37 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
coaderhub-reusable-blocks folder to /wp-content/plugins/.Go to Coaderhub Reusable Blocks > Add New Reusable Block, add your content, and publish it.
Use:
[coaderhub id="123"]
Replace 123 with your reusable content block ID.
Yes. [coaderhub id="homepage-cta"] The slug can be used instead of the numeric content block ID.
Developers can display a reusable content block from their theme or plugin code using the provided PHP function: echo coaderhub_show_content_block( 123 ); PHP code entered into a content block is not executed by the plugin.
Yes. You can organize reusable content blocks using categories.
Yes. Use the Duplicate action from the Coaderhub Reusable Blocks list.
The plugin uses minimal frontend styling and does not attempt to replace your theme's design. Your active theme or custom CSS can control the appearance of the reusable content.
No. Content blocks are intended for reusable content. The plugin does not provide a mechanism for executing arbitrary PHP or JavaScript code entered into a content block.
The plugin allows custom CSS class names to be assigned to a reusable content block. It does not provide a mechanism for entering and executing arbitrary CSS code.
Supported iframe embeds are sanitized and restricted to approved HTTPS embed providers. Unsupported iframe sources are removed from the content.