Just looking at this advice for putting category-sensitive code in category.php.
http://codex.wordpress.org/Category_Templates#Different_Text_on_Some_Category_Pages
<?php if (is_category('Category A')) { ?>
This is the text to describe category A
<?php } elseif (is_category('Category B')) { ?>
This is the text to describe category B
Does anyone know if this could be used on single.php? For example, to run an advert beside all posts of a certain category?
Thanks in advance for any input!
`