Title: Multiple Sidebars appears
Last modified: August 21, 2016

---

# Multiple Sidebars appears

 *  Resolved [nareshpatial](https://wordpress.org/support/users/nareshpatial/)
 * (@nareshpatial)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/)
 * Hi,
 * I’m using the sidebar plugin and i am having a issue that i selected it on category
   basis. But when i select two or more categories on a single post then it’s showing
   the two or more sidebars. But i didn’t want two show the multiple sidebars on
   selecting the multiple category. I want it will show only one as same as when
   i am selecting the one category. Here is the reference url
 * [http://www.propertynewsindia.in/2013/11/best-property-near-golf-course-extension-road-gurgaon/](http://www.propertynewsindia.in/2013/11/best-property-near-golf-course-extension-road-gurgaon/)
 * [http://wordpress.org/plugins/content-aware-sidebars/](http://wordpress.org/plugins/content-aware-sidebars/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4396941)
 * Thanks for your feedback. That indeed looks weird. Does it only happen if you
   select 2 categories for a post? Will 3 sidebars show up if you select 3 categories?
 * Can you give me the list of activated plugins on your site?
 *  Thread Starter [nareshpatial](https://wordpress.org/support/users/nareshpatial/)
 * (@nareshpatial)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4396978)
 * Yes, it’s showing 3,4 sidebar when i select 3,4 categories respectively. I can’t
   tell publically about the plugin i used.
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397058)
 * The number of categories ought not to be the issue for Content Aware Sidebars,
   as it only pulls one sidebar from the database no matter if the current page 
   has 1 or 3 categories.
 * My guess is that some external mechanism is dupliating either the widgets or 
   the sidebar, but it is hard to say without more information.
 *  [paraskumar](https://wordpress.org/support/users/paraskumar/)
 * (@paraskumar)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397109)
 * I am also facing the same problem.
    Following is the link to the website for 
   your reference so that you can have a look at the problem. [http://demo.mediaonepr.com/](http://demo.mediaonepr.com/)
 * Please suggest a solution for the same asap.
 * Thanks.
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397110)
 * What are the exact settings for your sidebar?
 *  [Ailicec](https://wordpress.org/support/users/ailicec/)
 * (@ailicec)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397112)
 * I also have issues with one of my post sidebars: [http://zity.se/ltdl/behandlingar/](http://zity.se/ltdl/behandlingar/)
 * I only have issue with this sidebar. Before the update I hade “Automatic post”
   update checked. When I unchecked it after the update it disappeared from my list,
   but the issues remains. Any ideas?
 * Thanks.
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397114)
 * Can you please tell me the exact settings for your sidebar? Also, can you explain
   in more detail what you mean about “Before the update I hade “Automatic post”
   update checked.”?
 *  [Ailicec](https://wordpress.org/support/users/ailicec/)
 * (@ailicec)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397115)
 * If you mean by settings what my options are:
    Handle: Replace, Post sidebar Merge
   Position: Top
 * You released an update last week I think and before the update there was an option
   to check where child pages could automatically be added in the menu.
 * When I installed the last update, this option regarding adding child pages automatically,
   was removed. When I edited the sidebar, I could see this option in my list “Display
   sidebar with:”, when I unchecked it was removed from the list.
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397120)
 * The option to let the plugin automatically select children should still be there,
   but this ought not be the problem.
 * This problem seems to be related: [http://wordpress.org/support/topic/sidebars-for-posts-with-multiple-terms](http://wordpress.org/support/topic/sidebars-for-posts-with-multiple-terms)
   
   Please read my answer in there. If this is not the same as your problem, I need
   the exact settings for your sidebar including what content you have selected 
   it to be displayed with.
 *  [Ailicec](https://wordpress.org/support/users/ailicec/)
 * (@ailicec)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397123)
 * Thank you so much for your help Joachim! I solved my issue with the following
   steps:
 * ..go to content-aware-sidebars.php line 602 and change:
    if ($post->handle ||
   isset($handled_already[$host])) {
 * to
 * if ($post->handle) {
 * Could this re-occur or is this an issue I don’t need to think about anymore?
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [12 years, 3 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397125)
 * Unless I change it in the next update, you will have to alter the code after 
   updating. I will think about what the best solution will be.
 *  [eleena100](https://wordpress.org/support/users/eleena100/)
 * (@eleena100)
 * [12 years ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397155)
 * Thanks for the solution. I was getting each sidebar repeating exactly 4 times
   on every page till I too followed this replacement –
 * ——————————————–
    if ($post->handle || isset($handled_already[$host])) {
 * to
 * if ($post->handle) {
    ——————————————–
 * I hope this doesn’t break again if I update it!
 *  Plugin Author [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * (@intoxstudio)
 * [11 years, 12 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397156)
 * This will break when you update, however, in version 2.2 I have introduced a 
   new handle “Forced replace” that should suit your needs.
 * If you have any questions or problems, please open a new support thread.

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘Multiple Sidebars appears’ is closed to new replies.

 * ![](https://ps.w.org/content-aware-sidebars/assets/icon-256x256.png?rev=1815877)
 * [Content Aware Sidebars - Fastest Widget Area Plugin](https://wordpress.org/plugins/content-aware-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-aware-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-aware-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/content-aware-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-aware-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-aware-sidebars/reviews/)

 * 13 replies
 * 5 participants
 * Last reply from: [Joachim Jensen](https://wordpress.org/support/users/intoxstudio/)
 * Last activity: [11 years, 12 months ago](https://wordpress.org/support/topic/multiple-sidebars-appears/#post-4397156)
 * Status: resolved