WordPress.org

Forums

Cnhk Slideshow
display order (2 posts)

  1. jamesleefirth
    Member
    Posted 1 year 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 1 year 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Cnhk Slideshow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.