diff --git a/templates/loop/orderby.php b/templates/loop/orderby.php index c8fb3a94bfa..712c387ded1 100644 --- a/templates/loop/orderby.php +++ b/templates/loop/orderby.php @@ -36,7 +36,7 @@ if ( 1 == $wp_query->found_posts || ! woocommerce_products_will_display() ) $val ) { - if ( 'orderby' == $key ) + if ( 'orderby' === $key || 'submit' === $key ) continue; if ( is_array( $val ) ) {