Forums

JS Banner Rotate
Randomize first picture? (2 posts)

  1. egarmo
    Member
    Posted 5 months ago #

    Hello!

    I just started using your plugin and it works great. I was just wondering if it's possible to randomize which picture appears first somehow? Right now when people use my navigation to click to different static pages it always defaults back to the first picture, making that picture shown a lot more than the other if the user does browse the page.

    I guess I could up the speed between transitions, but some way to randomize would be great.

    I tried to add my previous solution which was a rand php function as a picture, but since that code wasn't a picture it didn't really work. (I'm quite new to php)

    http://wordpress.org/extend/plugins/js-banner-rotate/

  2. Eric Mann
    Member
    Posted 5 months ago #

    At the moment, no. The order if the images is the order you place them in the shortcode. This is because their written in the markup in the same order you placed them when you wrote the tag.

    But randomizing the order is an interesting idea and would make a great feature in a future version. If you want to throw an issue on GitHub so I remember later, feel free!

Reply

You must log in to post.

About this Plugin

About this Topic