Hi,
I have a CPT called "Uno di noi". I created a taxonomy called "Categorie di attività", with different taxonomy terms, which has an image custom field so that each taxonomy term features a different image.
So, I've built a custom template to display the CPT and I would like to add the taxonomy term image at the top. I've tried but the taxonomy custom fields don't show up in any way when I try to assign dynamic content to an image block.
Is there a way that I can achieve that?
This can only be done by using the classic view editor.
If the classic view hasn't been enabled you can enable it by going to Toolset -> Settings and scrolling to Editing Experience. From there I recommend that you select " Show both the legacy and Blocks interface and let me choose which to use for each item I build".
This will allow you to have access to the classic editor as well as the block editor. From there refresh the page and go to Toolset -> Views.
From there you will create a view for your taxonomy. Under the Query Filter section you will add a query filter for Taxonomy Term.
Then set the filter to get the term of the current page.
Next you will need to go to the Loop wizard and using the Loop wizard insert the custom fields.
Finally just go back to your page template and add the view's shortcode to the page.