WordPress.org

Ready to get started?Download WordPress

Forums

need rotating 125x125 image for sponsors (12 posts)

  1. motherhuddle
    Member
    Posted 5 years ago #

    Hi, I have just recently joined the wordpress club and would like to know if anyone knows how to put a sponsor column on my left sidebar with 125x125 rotating images. I have found a plugin that supports 125x125, WP125, but I don't believe it allows multiple images for the same 125 window. I know it is possible because I have seen it on other WP blogs, and the original theme does not support it. So do they do it in the code?

  2. motherhuddle
    Member
    Posted 5 years ago #

    Anyone know? I know there is probably an easy answer, I just don't know anything about code!

  3. redwallhp
    Member
    Posted 5 years ago #

    What exactly are you trying to do? Something like the ads on http://nettuts.com? A block of several ads that change order? WP125 can do that without any problem? Can you explain what it is you want a little clearer?

  4. motherhuddle
    Member
    Posted 5 years ago #

    thanks for your help! I would like my sponsors to appear in a column on my left sidebar, each having the ability to have 2 or 3 images rotate for their ad. thanks.
    p.s. I went to the link and did not see any 125x125 ads

  5. motherhuddle
    Member
    Posted 5 years ago #

    I have now downloaded wp125. What a fun plugin! I guess now what I need to know is there some way that I can make each ad have 2 or 3 images that rotate. The reason I want this is because some of my sponsors names are not very descriptive in what they offer so an image of their product and maybe an image of text would help with that.
    thank for a great plugin and any help!

  6. brainycat
    Member
    Posted 5 years ago #

    http://wordpress.org/extend/plugins/random-ads/ looks like it does what you're looking for.

  7. motherhuddle
    Member
    Posted 5 years ago #

    Thanks brainycat, I did look at that plugin and it is close to what I need, except I want one ad to have the same 125x125 rotating it's own products, rather than different sponsors sharing the same window. I do like how easy the WP125 plugin is too. thanks for your help

  8. redwallhp
    Member
    Posted 5 years ago #

    What you're looking for is a little out of the ordinary...

    You could try animated GIFs? That way you assign an animated image to a slot, and the image will cycle through it's animation, displaying the information built into it...

    Just a thought.

  9. motherhuddle
    Member
    Posted 5 years ago #

    Thanks for all your time, I will have to look into that

  10. brandonflorkey
    Member
    Posted 5 years ago #

    I'm using this plugin for a school newspaper website I am working on. They also needed the ability for ads to rotate because they sell the same advertising space to multiple advertisers.

    This will randomize the ad when the page is loaded, not a live rotation while the site is open. It will pick a random ad each time the page is refreshed, so users will see different ads as the changes pages on the site but it will not rotate through like an animation.

    I'm not using it as a widget, I placed code in my sidebar to call a certain ad slot.

    If you have for example 4 advertisers with 3 ads each you could change the settings to have 12 ad slots. Advertiser #1 will use slots 1-3, Advertiser #2 will use 4-6 and so on.

    The default way to place a specific ad block into the code is <?php wp125_single_ad(num); ?> or <?php wp125_single_ad(1); ?>

    Using php's rand() function you can generate a random number for the slot number. The rand() function allows a min and max number and returns an integer in the range you specify.

    The code to place Advertiser #1's rotating ads would be:
    <?php $num = rand(1,3); wp125_single_ad($num); ?>

    This will display a random ad slot in that position choosing from ad slots 1, 2, and 3. Hope this helps out. It won't be wigetized but it gives you more control and you can still easily add the ads into the ad manager.

  11. brandonflorkey
    Member
    Posted 5 years ago #

    Also a quick note for people looking at this plugin, although it is designed around 125x125 ads you can use it with any size. The ads on my site are 300x250 block ads and 120x600 skyscraper ads and the plugin handles them perfectly fine.

  12. maxwell_pink
    Member
    Posted 5 years ago #

    Does anyone know how to put ads such as those from Linkshare into WP125? I'm looking at 3 URLs but only 2 slots to put info in. :)

Topic Closed

This topic has been closed to new replies.

About this Topic