Title: Dynamic Widget Content
Author: Brecht
Published: <strong>2015 年 3 月 23 日</strong>
Last modified: 2026 年 5 月 19 日

---

搜索插件

![](https://ps.w.org/dynamic-widget-content/assets/icon-256x256.png?rev=1121245)

# Dynamic Widget Content

 作者：[Brecht](https://profiles.wordpress.org/brechtvds/)

[下载](https://downloads.wordpress.org/plugin/dynamic-widget-content.1.4.0.zip)

 * [详情](https://cn.wordpress.org/plugins/dynamic-widget-content/#description)
 * [评价](https://cn.wordpress.org/plugins/dynamic-widget-content/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/dynamic-widget-content/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/dynamic-widget-content/#developers)

 [支持](https://wordpress.org/support/plugin/dynamic-widget-content/)

## 描述

The widget will only show if you have set some content for it on the current page.
Perfect for creating dynamic widgets that only appear when you need it. Works with
any custom post type as well and you can use shortcodes in the widget content!

Usage examples:

 * Post summaries
 * Positive and negative points for reviews
 * Index with links for long pages
 * Call to action links
 * …

Let us know what you think! Any feedback is welcome.

## 屏幕截图

[⌊Start by adding our widget to your website⌉⌊Start by adding our widget to your
website⌉[

Start by adding our widget to your website

[⌊Add widget content to any of your pages or posts⌉⌊Add widget content to any of
your pages or posts⌉[

Add widget content to any of your pages or posts

[⌊The widget will show up for that page/post only⌉⌊The widget will show up for that
page/post only⌉[

The widget will show up for that page/post only

[⌊A few settings are available for your convenience⌉⌊A few settings are available
for your convenience⌉[

A few settings are available for your convenience

## 区块

该插件提供了 3 个区块.

 *   Widget
 *   Widget
 *   Widget

## 安装

 1. Upload the `dynamic-widget-content` directory (directory included) to the `/wp-
    content/plugins/` directory
 2. 通过WordPress的“插件”菜单激活插件
 3. Add the ‘Dynamic Widget Content’ widget
 4. Add content in the ‘Dynamic Widget Content’ meta box for posts or pages

## 常见问题

### Who made this?

[Bootstrapped Ventures](http://bootstrapped.ventures)

## 评价

![](https://secure.gravatar.com/avatar/796663e9c1a69400dc8affe7c9789245e1a04c0e0e487e29e8d221a088967650?
s=60&d=retro&r=g)

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-9767/)󠁿

 [captaincrank](https://profiles.wordpress.org/captaincrank/) 2023 年 2 月 16 日

We are using Dynamic Widget Content plugin to replace a different discontinued plugin
that had security vulnerabilities. This Dynamic Widget Content plugin is lightweight
and much easier to use then the plugin it replaced. Highly flexible, maintained 
and recommended!

![](https://secure.gravatar.com/avatar/82411b400b54106f45a4483484c1a08b34eb11612ff84390eee4a96990e92b16?
s=60&d=retro&r=g)

### 󠀁[Great](https://wordpress.org/support/topic/great-12085/)󠁿

 [pnt](https://profiles.wordpress.org/pnt/) 2020 年 9 月 24 日

Very useful

![](https://secure.gravatar.com/avatar/0572f9cecd29b88c132f5f128928c31fdf46b0e8105a5eb7b8362c905e29baea?
s=60&d=retro&r=g)

### 󠀁[Must have!](https://wordpress.org/support/topic/must-have-422/)󠁿

 [argosmedia](https://profiles.wordpress.org/argosmedia/) 2019 年 2 月 5 日 1 回复

This is a great little plugin! By default WP is rather rigid and treats post/page
content and widget content as unrelated content blocks, offering no way of simply
adding content to a widget area from within the post/page editor page itself, and
only relevant to that particular post/page. As a workaround I usually create some
content blocks in Advanced Custom Fields, take their shortcodes and put those in
text widgets, adding show conditions using widget logic. Rather cumbersome, but 
it works. Your plugin relieves me of all that and just offers exactly what I need:
a simple way for me and my clients to add a content block into a widget area. Super!!
The only requests I have is being able to use more than just 3 blocks, and to be
able to add a title to the widgets (only for backend ease of use, not to be shown
on the frontend).

![](https://secure.gravatar.com/avatar/fa8b088217a57182228a0b65a14060146c634786752fced8f415e2579cce2e09?
s=60&d=retro&r=g)

### 󠀁[Great plugin to simplify content updates](https://wordpress.org/support/topic/great-plugin-to-simplify-content-updates/)󠁿

 [dilusionz](https://profiles.wordpress.org/dilusionz/) 2016 年 11 月 6 日 1 回复

Does what it says, super useful plugin!

![](https://secure.gravatar.com/avatar/de152ddf284c931d9c8993de47e107326466a7b4bb7b7a4162eba3833959e591?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-8596/)󠁿

 [divachrismai](https://profiles.wordpress.org/divachrismai/) 2016 年 9 月 3 日 
1 回复

Love this plugin 🙂 Only downside is that you cannot use it in more than one “place”.

 [ 阅读所有7条评价 ](https://wordpress.org/support/plugin/dynamic-widget-content/reviews/)

## 贡献者及开发者

「Dynamic Widget Content」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Brecht ](https://profiles.wordpress.org/brechtvds/)

[帮助将「Dynamic Widget Content」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/dynamic-widget-content)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/dynamic-widget-content/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/dynamic-widget-content/)，或通过
[RSS](https://plugins.trac.wordpress.org/log/dynamic-widget-content/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/dynamic-widget-content/)。

## 更新日志

#### 1.4.0

 * Improvement: Modernized settings page

#### 1.3.8

 * Fix: Block not selectable in block editor

#### 1.3.7

 * Fix: Sanitize widget content upon save if user does not have unfiltered_html 
   capability
 * Fix: Prevent block editor deprecation warnings

#### 1.3.6

 * Fix: PHP 8.2 deprecations

#### 1.3.5

 * Fix: PHP 8 deprecation warnings
 * Fix: Gutenberg deprecations

#### 1.3.4

 * Fix: Settings page WordPress 5.5 compatibility

#### 1.3.3

 * Fix: Gutenberg 3.9 compatibility

#### 1.3.2

 * Fix: Gutenberg 3.3 compatibility

#### 1.3.1

 * Fix: Gutenberg 2.7 compatibility

#### 1.3.0

 * Feature: Gutenberg compatible, including new blocks
 * Improvement: Update VafPress library
 * Fix: Prevent PHP 7 deprecated warning

#### 1.2.2

 * Fix: PHP 7 compatibility

#### 1.2.1

 * Bootstrapped Venture Giveaway

#### 1.2

 * Feature: Enable up to 3 dynamic widgets in the settings. Useful for multiple 
   sidebars, for example.

#### 1.1

 * Feature: Ability to set a default title and content (leave blank to hide)

#### 0.0.2

 * Added a basic settings page
 * New ‘dwc_widget_output’ plugin hook to alter the output with code

#### 0.0.1

 * Very first version of this plugin

## 额外信息

 *  版本 **1.4.0**
 *  最后更新：**3 周前**
 *  活跃安装数量 **300+**
 *  WordPress 版本 ** 3.5 或更高版本 **
 *  已测试的最高版本为 **7.0**
 *  语言
 * [English (US)](https://wordpress.org/plugins/dynamic-widget-content/)
 * 标签
 * [dynamic content](https://cn.wordpress.org/plugins/tags/dynamic-content/)[widgets](https://cn.wordpress.org/plugins/tags/widgets/)
 *  [高级视图](https://cn.wordpress.org/plugins/dynamic-widget-content/advanced/)

## 评级

 4.9 星（最高 5 星）。

 *  [  7 条 5 星评价     ](https://wordpress.org/support/plugin/dynamic-widget-content/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/dynamic-widget-content/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/dynamic-widget-content/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/dynamic-widget-content/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/dynamic-widget-content/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/dynamic-widget-content/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/dynamic-widget-content/reviews/)

## 贡献者

 *   [ Brecht ](https://profiles.wordpress.org/brechtvds/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/dynamic-widget-content/)

## 捐助

您愿意支持这个插件的发展吗?

 [ 捐助此插件 ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QG7KZMGFU325Y)