Home › Support Forums › Theme Support › Enlightenment › Feature Idea/Request: Random Content in Image Slider (aka Custom Query Setting) › Reply To: Feature Idea/Request: Random Content in Image Slider (aka Custom Query Setting)
Daniel Tara
Keymaster
I made a typo, here’s the correct code:
if( 'slider' == $instance['type'] ) { $loop_args['query_args']['orderby'] = 'rand'; }