Effata Widget Areas
Want to display different widgets on a particular page only?
If you install this plugin, you can create a widget area(sidebar) and replace or concatenate it with an existing widget area.
You can create a new widget area without touching the theme. You can display the created widget area by specifying a specific page, category, or tag.
How To Use
- Create a widget area in
Appearance > Widget Areas
- Put the widget in the created widget area through
Appearance > Widgetsmenu in WordPress
Description of settings
A description of the widget area post type settings.
Each corresponds to the argument of the register_sidebar().
register_sidebar(array( 'name' => Name 'description' => Description 'class' => Class 'before_widget' => Before/After Widget 'after_widget' => Before/After Widget 'before_title' => Before/After Widget Title, Title Class 'after_title' => Before/After Widget Title ));
Manual, Merge, Replace There are three options for setting the display position: Manual, Merge, Replace.
If you select Merge or Replace in the Action, it is the setting for which widget area to perform the action.
If you select Merge in the Action, it is the setting to display before or after the widget area.
Example 1 Action: Merge Target widget: Home page Position: After Then, this widget area will be displayed after the home page widget area.
Example 2 Action: Replace Target Widget: Sidebar Then this widget area will be displayed instead of the sidebar widget area.
However, if you keep Example 2, the sidebar will be replaced on all pages. Therefore, set the condition in the Conditions meta box.
It is a condition that the widget area is displayed. You can specify the post ID on the “Post” tab and the category on the “Term” tab.
For example, under the condition of Example 2, further Visibility Range: Select Pages Posts & Pages: 98765 Then, only the sidebar of the post with post ID 98765 can display this widget area instead of the sidebar widget area.
Also, under the conditions of Example 2. Visibility Range: Select Pages Term: Uncategorized Then, only articles belonging to the uncategorized category can display this widget area instead of the sidebar widget area.
The other two are for the action “Manual”.
This widget area will be displayed where this code is located. It is supposed to be used by pasting it on the theme.
This widget area will be displayed where this code is located. You can use it anywhere, such as articles and custom HTML for widgets.