Tell us what you are trying to do?
I want to know how to create a VIEW or SHORTCODE or PHP that will output the ICONS from the Taxonomy of a CPT that is currently being displayed.
Is there any documentation that you are following?
I can't find any documentation.
Is there a similar example that we can see?
What is the link to your site? hidden link
This is all I have so far.
I have a CPT called Flowers with a taxonomy called Terpene.
I have a Custom Field Group called Terpene Identifiers
Terpene Identifiers appears on the Taxonomy Terpenes.
The Custom Field Group "Terpene Identifiers" has an Image field type, named Icon.
I'm trying to display Flower and show all of the terpene icons for that flower on a page.
Does that make sense?
To display the term field, you will require a view.
Please create a taxonomy view to display the term fields.
if you are using blocks, you need to navigate to "Editing Experience" section available at:
=> Toolset => settings => General tab => Editing Experience section and select the option " Show both the legacy and Blocks interface and let me choose which to use for each item I build"
Then, you will find the "Views" menu under Toolset Menu. So, go to: Toolset => views
- Create a taxonomy view and add a "Query Filter" for "Taxonomy term" and select the option " Set by the current post" and then navigate to "Loop Editor" section and using "Fields and Views" button add your term fields within the loop.
Then save your view and add this taxonomy view at your desired place of your single flower post template.