[Plugin: WP Sidebars] Getting started
-
Hi,
I feel stupid asking this question but you said to change these parameters in the template…which template? I have been looking for it….
ai_dynamic_sidebar
$sidebar_id. Provide an ID to a specific sidebar. The default is NULL
$location. Provide a sidebar location, either: left, right, footer. The default is ‘left’
To display sidebars dynamically based on the selection for the given page, pass NULL to $sidebar_id.Also you mention this below…where do I check this?
You can also check if a given location has any sidebars. Use ai_has_sidebar and pass in the either ‘left’, ‘right’, or ‘footer’. Returns TRUE if given location has sidebars, FALSE if no sidebars.Thanks
- The topic ‘[Plugin: WP Sidebars] Getting started’ is closed to new replies.