WordPress.org

Ready to get started?Download WordPress

Forums

Cnhk Slideshow
display order (2 posts)

  1. jamesleefirth
    Member
    Posted 8 months ago #

    Is there any way to make the images in your slideshow display randomly? For example, every time a user visits my page that contains the slideshow, it should start on a different picture.

    Thanks for any help.

    http://wordpress.org/plugins/cnhk-slideshow/

  2. Rija Rajaonah
    Member
    Plugin Author

    Posted 8 months ago #

    You can possibly edit the "front.js" file and add an extra option (between line 37 and 46).

    {
        fx : cnhkOptions['slideshows'][this.slug]['fx'],
        timeout : cnhkOptions['slideshows'][this.slug]['timeout'],
        speed : transSpeed,
        manualTrump : false,
        slides : ' .cnhk-slide',
        log : false,
        swipe : true,
    };

    add random : true, below the 'swipe' option.

    But note that all slideshows (using this plugin) will display their slides randomly.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.