
內容簡介
Widgets Control 是一個工具箱,可以管理所有小工具、側邊欄、內容區域和內容區塊的可見度。
它允許根據條件顯示小工具和側邊欄 - 您可以選擇僅在某些頁面上顯示它們或將它們排除在外。
內容區域也可以使用此外掛的 [widgets_control] 短碼進行限制。
您還可以定義新的所見即所得內容區塊,可用於小工具、側邊欄和簡碼。
對於每個小工具和側邊欄,您可以決定它應該在哪裡顯示:
在所有頁面上顯示它
在某些頁面上顯示它
在某些頁面以外的頁面上顯示它
… 您可以針對小型、中型或大型屏幕為移動、平板和桌面用戶定位。
為了包含或排除頁面,該插件允許您指定頁面 ID、標題或縮略名和標記,以識別首頁、分類、標記等等。
除了頁面 ID、標題和縮略名外,這些標記可以用來確定小工具是否應顯示或不應顯示:
[home] [front] [single] [page] [category] ...
在使用 WPML 的站點上,可以根據查看的語言有條件地顯示小工具。
[widgets_control] 短碼用於嵌入內容並顯示條件,類似於用於小工具和側邊欄的可見度選項。
例如,[widgets_control conditions="{archive}"]只有在顯示內容於存檔頁面時才顯示此文本。[/widgets_control]。
Widgets Control 還提供靈活的所見即所得內容塊和可用於在側邊欄中放置它們的適當小工具,
[widgets_control_content] 短碼用於在任何頁面上嵌入自由創建的塊,以及
API 函数,允許在您的主題的 PHP 模板中包含這些塊。
為了實現更靈活的控制,使用 Widgets Control Pro ,它提供了自由定義的附加側邊欄。
使用顯示條件在具有小型、中型或大型顯示屏的設備上顯示或隱藏內容,有助於使顯示適應移動、平板和桌面觀眾。
有關更多詳細信息,請參見 文檔。
Widgets Control 適用於幾乎所有小工具。它與許多插件兼容,其中包括:
Groups
Affiliates
Decent Comments
WooCommerce
WooCommerce Product Search
Search Live
Documentation
Events Manager
BuddyPress
bbPress
Ninja Forms
Gravity Forms
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
Widgets Control is a toolbox that features visibility management for all widgets, sidebars, sections of content and content blocks.
It allows to show widgets and sidebars based on conditions – you can choose to show them only on certain pages or exclude them from being displayed.
Sections of content can also be restricted by using this plugin’s [widgets_control] shortcode.
You can also define new WYSIWYG Content Blocks that can be used in widgets, sidebars and with shortcodes.
For each widget and sidebar, you can decide where it should be displayed:
show it on all pages
show it on some pages
show it on all except some pages
… you can target small, medium or large screens for mobile, tablet and desktop users.
To include or exclude pages, the plugin allows you to indicate page ids, titles or slugs and tokens that identify the front page, categories, tags, etc.
In addition to page ids, titles and slugs, these tokens can be used to determine where a widget should or should not be displayed:
[home] [front] [single] [page] [category] ...
On sites using WPML, widgets can be shown conditionally based on the language viewed.
The [widgets_control] shortcode is used to embed content and show it conditionally similar to the visibility options used for widgets and sidebars.
For example, [widgets_control conditions="{archive}"]This text is shown only when the content is displayed on an archive page.[/widgets_control].
Widgets Control also provides flexible WYSIWYG Content Blocks and a proper widget that can be used to place them in sidebars,
the [widgets_control_content] shortcode to embed freely created blocks anywhere on your pages and
API functions that allow to include these blocks in PHP templates of your theme.
For even more flexible control, use Widgets Control Pro which provides freely definable additional sidebars.
Use display conditions to show or hide content on devices with small, medium or large displays, useful to adapt the display to mobile, tablet and desktop viewers.
See the documentation for more details.
Widgets Control works with virtually any widget. It is compatible with lots of plugins, among these it has been tested with:
Groups
Affiliates
Decent Comments
WooCommerce
WooCommerce Product Search
Search Live
Documentation
Events Manager
BuddyPress
bbPress
Ninja Forms
Gravity Forms
Jetpack
WPML
NextGEN Gallery
Image Widget
MailChimp for WordPress
The Events Calendar
MailPoet Newsletters
Elementor
Widgets Control Pro
Our Widgets Control Pro provides additional features:
Conditions based on the viewed post type. For example, show a widget only on posts with [type:post] or only on product pages with [type:product]
Show or hide widgets on full page hierarchies, where conditions are based on a parent page and all its child pages: some-page/*
Show or hide widgets based on user roles. For example, show a widget to subscribers and customers only: [role:subscriber,customer]
Show or hide widgets based on a user’s group membership with Groups. For example, show a widget only to registered users with [group:Registered] or show a widget only to users in a Premium group using [group:Premium]
Show or hide widgets for archive pages of a specific post type. For example, [archive:product] can be used to show widgets for the WooCommerce shop page and product archives only.
Allows to specify exclusions. For example, to show a widget only on pages, but exclude it from being shown on one or more specific pages.
Provides additional sidebar features that allow to define any number of custom sidebars, flexible placement based on common locations, including above and below content, the comment form, menus and other sidebars, the [widgets_control_sidebar] shortcode to embed them in content on your pages and API functions to use them in your theme’s templates.
Feedback
Feedback is welcome!
If you need help, have problems, want to leave feedback or want to provide constructive criticism, please do so here at the Widgets Control plugin page.
Please try to solve problems there before you rate this plugin or say it doesn’t work. There goes a lot of work into providing you with quality plugins!
Please help with your feedback and we’re also grateful if you help spread the word about this plugin.
Thanks!
Twitter
Follow @itthinx on Twitter for updates on this and other plugins.
