Skip to content

Themezly/Assign-Widgets

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assign Widgets

Did you find this plugin helpful? Please consider leaving a 5-star review.

Assign Widgets WordPress Plugin in Action

Assign Widgets plugin for WordPress will help you assign widgets to specific pages or create custom widget areas. Plugin options are located under every WordPress widget area and they will help you control following settings;

Settings

Option Type Default Description
Widget visibility type string hide ( not applicable if no assigned pages ) From predefined select options Hide on selected pages/types and Show only on selected pages/types choose if the widget should be shown or hidden on selected pages.
Assigned pages or view types array null Use predefined page types to assign your widget. Start typing the page name to activate page search utility that will help you assign widget to a specific page.
New widget area name string empty Input box that will generate your widget area once you click on Add new widget area button and will generate the widget are position code that you can use in your theme or plugin template files.

Example usage for custom widget areas

In your theme or plugin template files add;

<?php dynamic_sidebar( 'replace_with_position_found_under_generated_widget_title' ); ?>