Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #16734

    Is there a way to make the slider start with a random slide and not always the first on the list?

    I see the code where the slider is created. Is there any documentation that explains the Slider Options? For example what other options can I put for SetQueryNumber? Are there more available options that are not being set?


    Open up avisioframeworkclasseskclass_display_slideshow.php and replace following code:

    $this->slideshowLoop = new WP_Query("post_type=".$this->postType."&posts_per_page=".$this->postPerPage);


    $this->slideshowLoop = new WP_Query("post_type=".$this->postType."&orderby=rand&posts_per_page=".$this->postPerPage);


    thank you.

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Random Avisio Slider’ is closed to new replies.