diff --git a/classes/class-get-portfolio.php b/classes/class-get-portfolio.php index fe22390c..24eb883c 100644 --- a/classes/class-get-portfolio.php +++ b/classes/class-get-portfolio.php @@ -1454,8 +1454,10 @@ public static function get_query_params( $options, $for_filter = false, $layout_ if ( 'desc' === $custom_order_direction && - 'rand' === $custom_order && - 'default' === $custom_order + ( + 'rand' === $custom_order || + 'default' === $custom_order + ) ) { $images = array_reverse( $images ); }