Thank you for your nice words and your review.
Currently, your use case is not supported, but a new version of the plugin will most likely make it easier for me to implement it in the future.
I am trying to figure if there is a way to mimic such behaviour without changing the code, but at the moment I cannot think of it.
Perhaps if you create a sidebar for Category_A that replaces your main sidebar, and then create a sidebar for Category_B that force replaces Category_A sidebar?
Perhaps if you create a sidebar for Category_A that replaces your main sidebar, and then create a sidebar for Category_B that force replaces Category_A sidebar?
In some cases it might be a workaround but in my particular case I think it is not, as I am not adding more sidebar content per category, I am simply placing different content (when I have a singular with 2 categories simultaneously). For example:
- Category_A —> Sidebar_Content_A
- Category_B —> Sidebar_Content_B
- Category_A AND Category_B —> Sidebar_Content_C
If I understood well, your suggestion would work in case I needed:
- Category_A AND Category_B —> Sidebar_Content_A + Sidebar_Content_B
While this feature is not available I will adapt my content site architecture strategies and won’t be so ambitious 🙂
I am looking forward to the new version, hoping it will include this feature. No pressure :). Until then I will be enjoying working with your fantastic plugin.
Thank you for your prompt response, for showing interest on this matter and, above all, for this plugin, an absolute gem!
Regards,
—
Diego
Category_A AND Category_B —> Sidebar_Content_A + Sidebar_Content_B
would be the result if Sidebar_Content_A and Sidebar_Content_B both replace your main sidebar.
However, if you make this setup:
Category_A, Forced Replace: Main Sidebar —> Sidebar_Content_A
Category_B, Forced Replace: Main Sidebar —> Sidebar_Content_B
Category_B, Forced Replace: Sidebar_Content_A —> Sidebar_Content_C
I think it could work as it says that for category B Sidebar_Content_C will replace Sidebar_Content_A. And Sidebar_Content_A is only displayed for category A.
“Forced Replace” makes sure that the sidebars do not merge with overlapping conditions.
Thank you again for your kind words, it is great to hear that the plugin can be used and good motivation for me to keep developing it.