Supports AdSense®, Javascript, XHTML and PHP code. The Ad Codes widget allows you to place ANY size banner ( ad, ads, advertisements ) into a widget-
The Ad Codes widget allows you to place ANY size banner into a widget-ready bar for WordPress®. You can paste HTML, JavaScript, an IFrame, or even PHP code into this widget without any problem at all. The Ad Codes widget also supports multi-widget options, so you can add more than one banner to your sidebar, or even more than one size if you’'d like. This widget also supports shuffle-rotations, allowing you to place more than one ad code into a single widget box. All you do is separate each code block using a special <!--rotate--> tag.
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
Downloads: 54,630
0 of 3 support threads in the last two months have been resolved.
Got something to say? Need help?