I’ve set up a custom field which appears in a taxonomy terms page. I am trying pull an image associated with the custom taxonomy term directly
However the page in which it is being displayed is a template page. I think I need to pass the post ID before pulling the specific image, but how do you do that for a custom taxonomy?
The custom taxonomy is ‘manufacture’, and the term id is e.g 1, the image field id is ‘image_toc’ and I have set ACF to image url. I’ve read the page on “how-to/how-to-get-values-from-a-taxonomy-term/” but I don’t really understand what I’m supposed to replace with what. I am using things along the lines of:
<img src="https://wordpress.stackexchange.com/questions/151877/<?php the_field("image_toc', 'I am giving term id here'); ?>" />
But nothing is happening. No image and no path in the source code.