跳到内容

Content Blocks (Custom Post Widget)

v3.4.4

Johan van der Wijk · 2010年11月15日 上架

This plugin enables you to edit and display Content Blocks in a sidebar widget or using a shortcode.

正在使用
1 万+
评分
4.9 / 5
累计下载
77 万
最近更新
2026年9月22日
80 条评价需要 WordPress 4.6+已测试到 7.1.5

截图

After activating the plugin a new post type called 'Content Blocks' is added.
After activating the plugin a new post type called 'Content Blocks' is added.
The widget has a select box to choose the content block. Click on the 'Edit Content Block' link to edit the selected Content Block custom post.
The widget has a select box to choose the content block. Click on the 'Edit Content Block' link to edit the selected Content Block custom post.
You will find a button above the WYSIWYG editor that allows you to insert the content block using the shortcode.
You will find a button above the WYSIWYG editor that allows you to insert the content block using the shortcode.
After clicking the 'Add Content Block' button you can select a content block and insert the shortcode in the content area.
After clicking the 'Add Content Block' button you can select a content block and insert the shortcode in the content area.

The Content Blocks allows you to display the contents of a custom post type in a sidebar widget or using a shortcode.

Even though you could use the text widget that comes with the default WordPress install, this plugin has some major benefits:

  • The Content Blocks plugin enables users to use the WYSIWYG editor for editing the content and adding images.
  • If you are using the standard WordPress text widgets to display content on various areas of your template, this content can only be edited by users with administrator access. If you would like to give content editors access without exposing them to the whole WordPress admin, this plugin solves that problem.
  • You can even use the featured image functionality to display them in a widget.
  • The Content Blocks plugin is compatible with the WPML Multi-Language plugin and automatically shows the correct language in the widget area.
  • The Content Blocks can be included in posts and pages using the built-in shortcode functionality.

This plugin creates a ‘content_block’ custom post type. You can choose to either display the title on the page or use it to describe the contents and widget position of the content block. Note that you can easily hide the title if you want a cleaner layout.

To add content to a widget, drag it to the required position in the sidebar and select the title of the custom post in the widget configuration.

Includes the following translations:

More translations are very welcome!

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums