Help with Conditional for Ad Categories
I'm hoping someone can help with a conditional, or point me to thread if one exists. I have a website that's going to show a different sponsor ad in each ad category. The advertising system we're using for this supplies the bit of PHP code we need but I'm stuck on how to insert this in the sidebar to have it display the ad correctly. The code they provide is this:
<?php if( function_exists( 'displayAdzone' ) ) echo displayAdzone( 1 ); ?>
I need to alter it so that it looks in a specific ad category as well. So, if in a specific ad category display this ad zone, else if in this category display this ad zone, etc.
Any advice here appreciated.