So I got this custom field added to a taxonomy and via the insert buttons I was able to display the term name in a single custom post type 'project'. But I can't seem to figure out how to display the corresponding image I set via the custom field to that taxonomy. Any help would be greatly appreciated.
Here's my code to output the title::
{% for item in post.taxonomy_award %}
<a href="{{ item.url }}">{{ item.name }}</a>
{% endfor %}
But I added a custom field to the taxonomy_award. Namely
Label Award logo
ID*. single_image_awards
Type Single Image
I tried the following examples but failed:
{% set image = mb.rwmb_meta( 'single_image_awards', '', post.ID ) %}
<img src="{{ term.single_image_awards.thumbnail.url }}" width="{{ term.single_image_awards.thumbnail.width }}" height="{{ term.single_image_awards.thumbnail.height }}" alt="{{ term.single_image_awards.thumbnail.alt }}" />