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?
Yes, it’s showing 3,4 sidebar when i select 3,4 categories respectively. I can’t tell publically about the plugin i used.
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.
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/
Please suggest a solution for the same asap.
Thanks.
What are the exact settings for your sidebar?
I also have issues with one of my post sidebars: 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.
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.”?
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.
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
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.
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?
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.
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!
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.