diff --git a/includes/Rewrites.php b/includes/Rewrites.php index b51beb7947..1bc8c0e419 100755 --- a/includes/Rewrites.php +++ b/includes/Rewrites.php @@ -330,7 +330,7 @@ public function store_query_filter( $query ) { foreach ( $attributes as $key => $attribute ) { $tax_query[] = [ 'taxonomy' => $key, - 'field' => 'name', + 'field' => 'slug', 'terms' => $attribute['terms'], ]; }