diff --git a/web/wp-content/themes/cncf-twenty-two/components/project-single.php b/web/wp-content/themes/cncf-twenty-two/components/project-single.php index 6f0b5411..8292ab07 100644 --- a/web/wp-content/themes/cncf-twenty-two/components/project-single.php +++ b/web/wp-content/themes/cncf-twenty-two/components/project-single.php @@ -303,7 +303,13 @@ class="wp-block-spacer is-style-20-40"> 'order' => 'DESC', 'orderby' => 'date', 'no_found_rows' => true, - 's' => $project_slug, + 'tax_query' => array( + array( + 'taxonomy' => 'lf-project', + 'field' => 'slug', + 'terms' => $project_slug, + ), + ), ); $related_query = new WP_Query( $related_args );