Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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?

    #92672

    Open up avisioframeworkclasseskclass_display_slideshow.php and replace following code:

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

    with:

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

    #92673

    thank you.

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

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