• Resolved Stokie Worm

    (@chris_wareham)


    Hello Joachim

    I seem to be experiencing a small issue, i have added multiple sidebars for multiple categories which works great, i have tried to create another sidebar exactly the same for another category but this one will not show any of the widgets i add. The settings are the same as the others except obviously the category it points to, i even tried removing and adding a new sidebar for the same task but still no success.

    It does however point to a tag sidebar i created and displays the same settings. I have checked over and over to make sure im adding the right items to the group.

    Forgot to mention i have not added or modified any plugin etc,

    Is there s cutoff to how many sidebars will work or is it unlimited?

    Regards Chris

    https://wordpress.org/plugins/content-aware-sidebars/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Joachim Jensen

    (@intoxstudio)

    You should be able to create unlimited sidebars with an unlimited number of conditions.

    If the settings of the sidebars are exactly the same, but just with different taxonomies, then the first that comes to my mind is that there might be something in your theme or other plugins that cause the problem.

    Most often it is a database query that is not “reset” correctly, making WordPress think that the user is viewing another context. It could be a widget showing a list of posts.

    Is the template used for this specific category the same as you use for your other categories?

    Thread Starter Stokie Worm

    (@chris_wareham)

    Hi Joachim

    The tempalate is the same for all categories.

    Ihave tested the following,

    Adding the category to a group within another sidebar and this works fine, it displays the sidebar as it should do.

    Deleting the sidebar in question completely and creating a new category and adding a product to that category followed by adding that category to a new sidebar. This showed the same issue.

    I have created new categories and sidebars since which also work fine

    Strange how its just this one and i dont know for the life of me what could be the issue.

    All plugins dissabled etc with the problem

    Regards

    Thread Starter Stokie Worm

    (@chris_wareham)

    Hi Joachim

    Further to my message above, i have tested the following also

    I have removed the product tag from the sidebar which this sidebar also displayed and the result is that then displays the next sidebar created so by the looks of it, it displayed the following id.

    I then tested changing the forced replace to replace and this now displays the widgets from the sidebar i need but also displays the widgets of the other sidebar.

    For some reason it appears that the forced replace on this particular sidebar wont override

    Regards Chris

    Plugin Author Joachim Jensen

    (@intoxstudio)

    Yes it does sound like there is an issue with the Forced replace/replace option. Is it possible for you to give me access to your site so I can take a look at it?

    Thread Starter Stokie Worm

    (@chris_wareham)

    Hi Joachim

    I have sent a message via your website contact form with details for login

    Regards Chris

    Thread Starter Stokie Worm

    (@chris_wareham)

    ***Resolved Thanks Joachim*** Great support as per usal!!!

    Hi Chris,

    I took at quick look at your site and did a small change that seems to fix it. I have rolled the change back as I do not want to change anything without permission.

    What you need to do is go to the edit screen of the Category Body Exhaust sidebar and change the “Order” option to any number higher than 0.

    The problem is in the way sidebars are being fetched from the database and because you have sidebars with overlapping conditions.
    “Forced Replace” means that if 2 sidebars have overlapping conditions, only (the last) one will be displayed.

    In your case, Category Body Exhaust sidebar would replace the main sidebar, but would then be replaced by the Tags Alfa Romeo sidebar.
    By changing “Order”, you make sure that this order is reversed.

    Let me know if you have any questions.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘A particular sidebar will not work’ is closed to new replies.