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 個可供 Gutenberg/區塊編輯器使用的區塊。

  • Widget
  • Widget
  • Widget

安裝方式

  1. Upload the dynamic-widget-content directory (directory included) to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in 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