diff --git a/templates/loop/orderby.php b/templates/loop/orderby.php index c8a1788a374..4cb9448ad78 100644 --- a/templates/loop/orderby.php +++ b/templates/loop/orderby.php @@ -38,7 +38,15 @@ if ( 1 == $wp_query->found_posts || ! woocommerce_products_will_display() ) foreach ( $_GET as $key => $val ) { if ( 'orderby' == $key ) continue; - echo ''; + + if (is_array($val)) { + foreach($val as $innerVal) { + echo ''; + } + + } else { + echo ''; + } } ?>