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

Blocks

This plugin provides 3 blocks.

  • 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. 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

評價

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年9月3日 1 reply
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.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