Controlling my single category sidebar
-
Here’s my problem I have a category page (Category) which has a listing of all pages contained in that category in the sidebar.
But when I click on an entry the list disappears.
I would like to have the listing of categories in the sidebar change per post depending on what category that post is in.
So, if you visit a page in the about category, a listing of about’s entry appears in the sidebar.
I assume I have to write an <?php if (belongs to this category()) { ?> tag for each category name? is there anyway to get the category type from the post then relay that to the sidebar?
Am I on the wrong trail?
Help, my template is taunting me!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Controlling my single category sidebar’ is closed to new replies.