Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #9818

    How can I change the order of the (featured post) crossfade slideshow to random?

    #65951

    can anybody help me with this?

    #65952

    Hi,

    Open up index.php and replace:

    $additional_loop = new WP_Query("cat=".$k_option['mainpage']['feature_cats_final']."&posts_per_page=".$k_option['mainpage']['feature_count']);

    with:

    $additional_loop = new WP_Query("cat=".$k_option['mainpage']['feature_cats_final']."&orderby=rand&posts_per_page=".$k_option['mainpage']['feature_count']);

    #65953

    super, that did the trick.

    Thanks!

    #65954

    Hey!

    Glad that I could help you :)

    Regards,

    Peter

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

The topic ‘Change slider order to random’ is closed to new replies.