Wordpress :: Divi Builder :: Fullwidth Portfolio Module :: Randomize projects
function et_divi_get_projects( $args = array() ) {
$default_args = array(
'post_type' => 'project',
'orderby' => 'rand'
);
$args = wp_parse_args( $args, $default_args );
return new WP_Query( $args );
}