I am trying to use a dynamic image (from taxonomy term) in a content template. I see I can use shortcode, but for that I need to use HTML in the content template. How could I continue to use Block and use a dynamic image taxonomy?
Toolset dynamic sources don't support term meta as sources, so if you have a template for some post type whose posts have terms of a taxonomy assigned, you can't dynamically output meta from those terms using blocks.
You could use legacy Views to create a taxonomy View that displays terms of your chosen taxonomy (and which includes a Query Filter to only return terms assigned to the post where the View is shown), use a Content Template for the output of the View (the Loop Wizard will create one for you). But you still won't be able to use the Image block to output the image, you will need to use markup where the src attribute of an img element is generated via shortcode.
The alternative would be a custom shortcode.
The topic ‘[Closed] Use term image taxonomy in content template created with Block’ is closed to new replies.