I am creating a website where there are multiple amounts and levels of categories. I would want to have the ability to customize the sidebar (either by not displaying the sidebar in certain categories, or changing its content depending on there categories)
So my questions are,
1. How do i not display the sidebar depending on a certain category.
2. How do i change content of the sidebar depending on a certain category.
Would really appreciate any help as i am not very strong with PHP. i know that for the 2nd question i will need to create a file called sidebar2.php. but how do i link that to the main files?
Thanks for reading.