WordPress.org

Ready to get started?Download WordPress

Plugin Directory

!This plugin hasn't been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Ad Squares Widget

Supports AdSense®, Javascript, XHTML and PHP code. This widget makes it possible for you to display 125x125 ad squares ( or some other configurable s

This widget makes it possible for you to display 125x125 ad squares ( or some other configurable size ) into a widget-ready bar for WordPress®. You can have just 2 squares, or as many as 8 running together. It also supports multi-widget options. So technically you could have even more than 8 if you add it to a bar more than once. Each ad square accepts any HTML/JavaScript code, so it will work with standard affiliate ads, or even with ad network codes. You can also configure the widget to shuffle the positioning of your squares if you like.

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
Downloads: 99,715

Ratings

4 stars
4.8 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1
100,1,1
100,1,1 100,1,1
100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
100,1,1
100,2,2 50,2,1 100,1,1 100,1,1
100,1,1
100,1,1
100,1,1
0,1,0
50,2,1
100,2,2
100,2,2