• Hi everyone,

    I need a bit of help. I have created a wedding supplier directory website. I sent it off to be coded into a WordPress theme (I am more a designer than a coder!). All is great apart from one thing:

    On one of the pages, there are multiple banner ads:

    monaghanweddings.com/supplier-post-category/hotels-venues

    I need to have the ads displaying randomly each time the page is landed on so that everyone who advertises on the site gets a chance to be at the top of the list.

    I am really struggling with this and can’t seem to figure out what to do. I can only find rotating banner scripts on the internet which displays one banner but loads a different image within it each time it is loaded so that is not exactly what I am looking for.

    I have found shuffling scripts on this forum but they use an array which I am not sure how to put that into my site!

    My code looks like this:

    [code moderated - please follow the forum guidelines for posting code]

    I'd really appreciate any help! Thanks so much in advance!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Shuffling Ads on Website’ is closed to new replies.