Blog Slider

How can I get random posts for the Blog Slider?

Comments

  • Hi,

    we are sorry but we do not have such possibility included.

    Thanks!
  • Can you add this into an update please?
  • You can add it on your own. 

    In the theme-shortcodes.php you have to search the Blog Slider part and add  'orderby' => 'rand'.

    (functions/theme-shortcodes.php,
    line 1050): 



            $args = array(

                'post_type' =>
    'testimonial',

                'posts_per_page' =>
    -1,

                //'orderby' =>
    $orderby,

                'orderby' => 'rand',

                'order' => $order,

                'ignore_sticky_posts'
    =>1,

            );

Sign In or Register to comment.