説明
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.
スクリーンショット
ブロック
このプラグインは3個のブロックを提供します。
- Widget
- Widget
- Widget
インストール
- Upload the
dynamic-widget-content
directory (directory included) to the/wp-content/plugins/
directory - WordPress の「プラグイン」メニューからプラグインを有効化してください
- Add the ‘Dynamic Widget Content’ widget
- Add content in the ‘Dynamic Widget Content’ meta box for posts or pages
FAQ
-
Who made this?
評価
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 reply
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年11月6日
1 reply
Does what it says, super useful plugin!
2016年9月3日
1 reply
Love this plugin 🙂
Only downside is that you cannot use it in more than one “place”.
貢献者と開発者
“Dynamic Widget Content” をあなたの言語に翻訳しましょう。
開発に興味がありますか ?
変更履歴
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