Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Sidu_88 on "Category sidebar for single posts belonging to their category"

$
0
0

Hi everyone

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.

http://www.espenvogel.com
Thanks


Viewing all articles
Browse latest Browse all 8245

Trending Articles