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
  • Add widget content to any of your pages or posts
  • The widget will show up for that page/post only
  • A few settings are available for your convenience

区块

该插件提供了3个区块.

  • Dynamic Widget Content
  • Dynamic Widget Content
  • Dynamic Widget Content

安装

  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

评价

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!
2020年9月24日
Very useful
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).
2016年9月3日 1 回复
Love this plugin 🙂 Only downside is that you cannot use it in more than one "place".
阅读所有7条评价

贡献者及开发者

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

贡献者

将“Dynamic Widget Content”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

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