Linux 软件免费装
Banner图

Coaderhub Reusable Blocks

开发者 coaderhub
更新时间 2026年9月28日 14:37
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

shortcode content management content blocks reusable blocks WordPress editor

下载

详情介绍:

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.

安装:

  1. Upload the coaderhub-reusable-blocks folder to /wp-content/plugins/.
  2. Activate the plugin from the WordPress Plugins screen.
  3. Open Coaderhub Reusable Blocks from the WordPress admin menu.
  4. Create and publish a reusable content block.
  5. Copy the shortcode and add it where needed.

屏幕截图:

  • Create and edit a reusable content block with categories, featured image, custom CSS class, and usage information.
  • Display reusable content blocks using shortcodes and PHP.
  • Organize reusable content blocks with categories and use preview and duplicate actions.

常见问题:

How do I create a reusable content block?

Go to Coaderhub Reusable Blocks > Add New Reusable Block, add your content, and publish it.

How do I display a reusable content block?

Use: [coaderhub id="123"] Replace 123 with your reusable content block ID.

Can I use a slug?

Yes. [coaderhub id="homepage-cta"] The slug can be used instead of the numeric content block ID.

Can I use PHP?

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.

Can I organize reusable content blocks?

Yes. You can organize reusable content blocks using categories.

Can I duplicate a reusable content block?

Yes. Use the Duplicate action from the Coaderhub Reusable Blocks list.

Does the plugin change my theme design?

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.

Does the plugin allow custom JavaScript or PHP code in content blocks?

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.

Can I add custom CSS to 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.

Can I use iframe embeds?

Supported iframe embeds are sanitized and restricted to approved HTTPS embed providers. Unsupported iframe sources are removed from the content.

更新日志:

1.0.1