Get taxonomy values based on wp_query results

Get taxonomy values based on wp_query results