Got Banners – My First Wordpress Plugin

I’m very happy and proud to announce the release of my first wordpress plugin called “Got Banners”. It is a simple banner rotation plugin. Let me tell you a little about how i went to create this plugin.

I wanted to run 125 x 125 banners on the right sidebar of this blog. But, i wanted them to be put in a random order each time the page loads as seen on TechCrunch. I searched a lot for a script like this. But, no luck. So, i created my own PHP script and started using it. Then, i emailed John Chow, telling him about this script and that it might also be useful on JohnChow.com for rotating the 125 x 125 banners. He appreciated it and suggested me that i develop this into a wordpress plugin and that was very nice idea and inspired me to make this plugin today.

This is the first stage of this plugin and i’d like to hear some comments, suggestions etc.. from you. You can find more information about the plugin on its own page : Got Banners.

24 Responses to “Got Banners – My First Wordpress Plugin”

MyBlogCotest says:

What a great wordpress plugin!

Thank you

This is definitely going to be a useful plugin for me once I start to monetize my blog. Great job Shrihari!

Hari says:

Thanks for those comments guys. Feel free to let me know if you have any suggestions…

papa says:

Great plugg in i been looking for long time thanks again

Very useful plugin for putting affiliate badges. I will soon review your plugin on my blog. Watch for it!

Deddy says:

Wow! I searched like crazy for plugin like this. Great job!

Dave says:

Do you have a similiar script that works on a non-blog website? I really could use something like this. Thanks.

Hari says:

I originally coded this as a raw php script. But the converted it into a Wordpress plugin. If you’d really want it, i can release the original one, that can be used on any wedbsite(PHP). Although, i have to tweak it a little so that it is easy to use.

Dave says:

Hari – That would be great. Please email me if and when you release it. Thanks! Dave

SL Lindens says:

it’s a great plugin. thanks for this. gonna use it now

Hi

Anyway to make this plugin work for 2 columns of 125×125 banners?
If I use , some of the ads may appear in both columns at the same time.

See my site for example.

Hope you can make this work.

thks!

oops..the div tag didn’t appear…sorry.

It should be “If I use the div tag, some of the ads…”

Hari says:

The plugin automatically adds 5px margin to each banner.
So to have two columns of 125×125px banners, you have to have 290px space.

If you don’t have that much and want to reduce the margin around each banner, alter this line in gotbanners.php
echo "<style>.gotbanners { text-align: center; } .gotbanners img { margin: 5px; } </style>";
Change 5px to something else.

[...] am o sugestie mai buna. Cu ajutorul GotBanners pot vinde prima pozitie la toti. GB e un plugin de wordpress care roteste aleator bannerele. De ce [...]

Cool job on a WP plug in. Going to check it out now…but can it be adjusted to work with other size banners? I can see alot of potential with a banner rotator like this!-Matt

Arti says:

Hey great plugin. I will surely use on my site….
Thanks……….

james says:

Can you provide more information on this?

Ahoola says:

I donwloaded and installed the plugin. It’s working very well on my site.

GSchneider says:

Good work! Will be reading more from you!

ENT Doctor says:

You’re cool. It’s not easy creating your own plugin.

As a UK-based Red Sox fan, I found your blog on google and read a few of your other Bosox posts. I just added you to my Google News Reader. Keep up the good work. Look forward to reading more from you in the future.

As a UK-based Polly Pocket collector, I found your blog on google and read a few of your other doll posts. I just added you to my Google News Reader. Keep up the good work. Look forward to reading more from you in the future.

Jame White says:

I was wondering if you have other posts on this topics.