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
Sorry, apparently the filter runs too early for the function I described. You’ll have to do a manual edit.
Open core/functions/custom-queries.php and find this line:
echo enlightenment_custom_loop( $loop_args );
Right before it add this code:
if( 'slider' == $instance['type'] ) { $loop_args['query_args']['orderby'] = 'rand'; }