The Ad Codes widget supports embedded PHP code. If you know a little PHP scripting, you could add conditionals to the code that you place into this widget. For example, if you wanted to show different ads based on the category that is currently being displayed on your blog, you could do something like this:
<?php if(is_category("green-lizards")): ?> insert green lizard ad campaign here <?php elseif(is_category("purple-socks")): ?> insert purple socks ad here <?php else: ?> insert default ad code here <?php endif; ?>
Requires: 3.1 or higher
Compatible up to: 3.2.1
Last Updated: 2011-7-9
0 of 3 support threads in the last two months have been resolved.
Got something to say? Need help?