You can use the function wp_get_post_terms to retrieve the terms of the post you’re looping through.
$taxonomies = wp_get_post_terms(get_the_ID(), 'taxonomy-name');
You can use the function wp_get_post_terms to retrieve the terms of the post you’re looping through.
$taxonomies = wp_get_post_terms(get_the_ID(), 'taxonomy-name');