I'm fairly new to WordPress (and Php programming) and I’m trying to call a category sidebar for single posts that are listed under that particular category. Lets say a single post ‘Diet Coke Is Awesome’ pulls a sidebar assigned to category ‘Cold Drinks’.
The other issue is what happens when single posts are listed under more than one category ? Lets say a single post ‘Diet Coke Is Awesome’ also happens to be listed under categories ‘Cold Drinks’ and 'Discount Supplies' where ‘Cold Drinks’ and 'Discount Supplies' are equal and separate in terms of hierarchy.
I have sidebar files and implemented them to Categories. I would like to do the same to single posts. Any Insights will be greatly appreciated.