WordPress.org

Ready to get started?Download WordPress

Forums

Responsive Slider
Random (2 posts)

  1. Shriko
    Member
    Posted 1 year ago #

    Is there a way to make the slides go random? I have the "order" on all the slides set to 0, but it just goes by on the order the slides where added.

    http://wordpress.org/extend/plugins/responsive-slider/

  2. Hal Gatewood
    Member
    Posted 1 year ago #

    If you find the function 'responsive_slider()' in the file responsive-slider.php there is a line like this:

    $slides = new WP_Query( array( 'post_type' => 'slides', 'order' => 'ASC', 'orderby' => 'menu_order' ) );

    Change the 'orderby' to 'rand'

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.