The Ad Squares widget supports embedded PHP code too. 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
Active Installs: 10,000+
Got something to say? Need help?