This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WP Sidebars

Description

WP Sidebars allows you to generated dynamic sidebars (widget areas) on-the-fly. Quickly generate sidebars for your site. Use the sidebar selector on the page edit screen to select a sidebar for any page. Custom post types are supported.

Usage

  1. Create a sidebar
  2. Add widgets to the sidebar
  3. In your templates, use ai_dynamic_sidebar in place of dynamic_sidebar
  4. Configure options in Settings > Sidebars

Function Reference

ai_dynamic_sidebar takes two optional parameters:
  1. $sidebar_id. Provide an ID to a specific sidebar. The default is NULL
  2. $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.

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.

Screenshots

  • Manage sidebars
  • Adding widgets to your sidebars
  • Sidebar options

Installation

Install

  1. Unzip the wp-sidebars.zip file.
  2. Upload the the wp-sidebars folder to your wp-contents/plugins folder.

Activate

  1. In your WordPress administration, go to the Plugins page
  2. Activate the Sidebars plugin
  3. Go to Appearance > Sidebars to create and manage your sidebars

If you find any bugs or have any ideas, please email us.

Requirements

  • PHP 5.1 or above
  • WordPress 3.0 or above

Contributors & Developers

“WP Sidebars” is open source software. The following people have contributed to this plugin.

Contributors

Translate “WP Sidebars” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.