Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

A simple Ad randomizer script or plugin?

Featured Replies

Hi, I was wondering if anyone could help me.

 

I've got a wordpress site. I'm looking to add several company logos to the homepage. About 12. Ideally 3 across and 4 rows. They will be smallish box jpegs or gifs that once clicked, will open up a new window to the site. I want these to appear randomly within the rows so that advertisers get equal time at the top as they do at the bottom. Promonews.tv is a site that seem to do it. Even though there's go down the page and I want mine to go across.

 

This seems to me to be something that isn't that difficult or should be out there, but I don't seem to be able to find a script, plugin or anything for it. All the advertising programs I can find seem to be banners with fading or click across images. I want the adverts to always be showing, just to randomize in terms of placement on the rows.

 

I hope that kinda makes sense?

 

I don't know if anyone know any software or plugins that will allow me to do this?

 

Thanks so much,

Dave.

If you want to randomize and at the same time give your advertiser equal time at top/bottom rows, you would probably need to record each logo position somewhere, so you know how many times logo X, Y, Z ... appeared in first, second or 3rd row and column.

 

If you store those details in your database, you could easily use sql query to order your logos.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.