Reply To: Feature Idea/Request: Random Content in Image Slider (aka Custom Query Setting)

#20438
Daniel Tara
Keymaster

I made a typo, here’s the correct code:

if( 'slider' == $instance['type'] ) {
	$loop_args['query_args']['orderby'] = 'rand';
}