{"id":13095,"date":"2011-04-30T14:55:20","date_gmt":"2011-04-30T14:55:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/amp-sidebar-chooser\/"},"modified":"2011-06-07T05:32:35","modified_gmt":"2011-06-07T05:32:35","slug":"amp-sidebar-chooser","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/amp-sidebar-chooser\/","author":1266951,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.2.1","stable_tag":"0.2.1","tested":"3.1.4","requires":"3.0","requires_php":"","requires_plugins":"","header_name":"AMP Sidebar Chooser","header_author":"Andrew M. Peters","header_description":"","assets_banners_color":"","last_updated":"2011-06-07 05:32:35","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/www.andrewmpeters.com\/wordpress-plugins\/amp-sidebar-chooser\/","header_plugin_uri":"http:\/\/www.andrewmpeters.com","header_author_uri":"http:\/\/www.andrewmpeters.com","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3375,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1","0.2.1"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[168,2696],"plugin_category":[43],"plugin_contributors":[94641],"plugin_business_model":[],"class_list":["post-13095","plugin","type-plugin","status-publish","hentry","plugin_tags-sidebar","plugin_tags-sidebars","plugin_category-customization","plugin_contributors-amp343","plugin_committers-amp343"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/amp-sidebar-chooser.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>AMP Sidebar Chooser allows users to associate sidebars to posts, pages, or any custom post type through the WordPress post editor.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the 'amp_sidebar_chooser' folder to your <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<li>Replace <code>&lt;?php get_sidebar(); ?&gt;<\/code> with <code>&lt;?php amp_get_sidebar(); ?&gt;<\/code> in your templates<\/li>\n<li>Log into the Wordpress admin area, and select a post, page, or custom post type to edit.<\/li>\n<li>Choose from one of the available sidebars in the AMP Sidebar Chooser meta box to assign a sidebar to this post.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Why does this plugin use an arbitrary tag rather than hooking into the existing function `get_sidebar()` ?<\/dt>\n<dd><p>At this time, no filters exist that can manipulate the native function <code>get_sidebar()<\/code> sufficiently. Rather than offer a compromised solution with <code>get_sidebar()<\/code>, we've opted to create an arbitrary function (<code>amp_get_sidebar()<\/code>) until better manipulation of the native function is possible.<\/p><\/dd>\n<dt>Where does the list of available sidebars in the post editor meta box come from?<\/dt>\n<dd><p>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\".<\/p><\/dd>\n<dt>What happens if a sidebar is not defined for a particular post? In other words, what is the default functionality?<\/dt>\n<dd><p>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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1<\/h4>\n\n<ul>\n<li>First version of AMP Sidebar Chooser released<\/li>\n<li>Custom post type support added<\/li>\n<li>Support for Default and (None) sidebars added<\/li>\n<\/ul>\n\n<h4>0.2<\/h4>\n\n<ul>\n<li>Bad notation fixed in functions\/functions.php<\/li>\n<\/ul>","raw_excerpt":"AMP Sidebar Chooser allows users to associate sidebars to posts, pages, or any custom post type through the WordPress post editor.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/13095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=13095"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/amp343"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=13095"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=13095"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=13095"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=13095"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=13095"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=13095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}