Displaying a different sidebar
Hi,
Not sure if I'm going about this the right way but I'd like to display a different dynamic sidebar that I've created when viewing posts in a specific category.
Currently, when you click on a category link (within a custom menu widget) I can see all the posts within that category but the theme always defaults to the 'sidebar_blog' sidebar layout.
I'd like to put in a condition that says if a category is being viewed it will display my new sidebar (which I've called 'sidebar_health').
Currently, the code I think I need to alter is this which is in the sidebar_blog.php file:
<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar_blog')) : else : ?>
Is this possible?
Thanks