Title: AMP Sidebar Chooser
Author: amp343
Published: <strong>April 30, 2011</strong>
Last modified: June 7, 2011

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/amp-sidebar-chooser.svg)

# AMP Sidebar Chooser

 By [amp343](https://profiles.wordpress.org/amp343/)

[Download](https://downloads.wordpress.org/plugin/amp-sidebar-chooser.0.2.1.zip)

 * [Details](https://test.wordpress.org/plugins/amp-sidebar-chooser/#description)
 * [Reviews](https://test.wordpress.org/plugins/amp-sidebar-chooser/#reviews)
 *  [Installation](https://test.wordpress.org/plugins/amp-sidebar-chooser/#installation)
 * [Development](https://test.wordpress.org/plugins/amp-sidebar-chooser/#developers)

 [Support](https://wordpress.org/support/plugin/amp-sidebar-chooser/)

## Description

AMP Sidebar Chooser allows users to associate sidebars to posts, pages, or any custom
post type through the WordPress post editor.

## Installation

 1. Upload the ‘amp_sidebar_chooser’ folder to your `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Replace `<?php get_sidebar(); ?>` with `<?php amp_get_sidebar(); ?>` in your templates
 4. Log into the WordPress admin area, and select a post, page, or custom post type
    to edit.
 5. Choose from one of the available sidebars in the AMP Sidebar Chooser meta box to
    assign a sidebar to this post.

## FAQ

  Why does this plugin use an arbitrary tag rather than hooking into the existing
function `get_sidebar()` ?

At this time, no filters exist that can manipulate the native function `get_sidebar()`
sufficiently. Rather than offer a compromised solution with `get_sidebar()`, we’ve
opted to create an arbitrary function (`amp_get_sidebar()`) until better manipulation
of the native function is possible.

  Where does the list of available sidebars in the post editor meta box come from?

The plugin browses your active theme file to get a list of all available sidebar
files that exist. Sidebars must be named with the common convention “sidebar-(sidebarname).
php”. The display name that shows up in the sidebar chooser is the parsed filename—
ie, sidebar-right.php becomes “Right”.

  What happens if a sidebar is not defined for a particular post? In other words,
what is the default functionality?

At this time, if not sidebar is selected for each post, the option “(None)” is selected,
and no sidebar will be shown. We are working on a global setting for the next release
that will allow you to choose what you want the default sidebar to be.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“AMP Sidebar Chooser” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ amp343 ](https://profiles.wordpress.org/amp343/)

[Translate “AMP Sidebar Chooser” into your language.](https://translate.wordpress.org/projects/wp-plugins/amp-sidebar-chooser)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/amp-sidebar-chooser/),
check out the [SVN repository](https://plugins.svn.wordpress.org/amp-sidebar-chooser/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/amp-sidebar-chooser/)
by [RSS](https://plugins.trac.wordpress.org/log/amp-sidebar-chooser/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.1

 * First version of AMP Sidebar Chooser released
 * Custom post type support added
 * Support for Default and (None) sidebars added

#### 0.2

 * Bad notation fixed in functions/functions.php

## Meta

 *  Version **0.2.1**
 *  Last updated **15 years ago**
 *  Active installations **10+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **3.1.4**
 *  Language
 * [English (US)](https://wordpress.org/plugins/amp-sidebar-chooser/)
 * Tags
 * [sidebar](https://test.wordpress.org/plugins/tags/sidebar/)[sidebars](https://test.wordpress.org/plugins/tags/sidebars/)
 *  [Advanced View](https://test.wordpress.org/plugins/amp-sidebar-chooser/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/amp-sidebar-chooser/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/amp-sidebar-chooser/reviews/)

## Contributors

 *   [ amp343 ](https://profiles.wordpress.org/amp343/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/amp-sidebar-chooser/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.andrewmpeters.com/wordpress-plugins/amp-sidebar-chooser/)