Tell us what you are trying to do?
I need to create a Category Archive about a specific CPT only displaying the category lists with relative custom field image.
Now I can display only Taxonomies Title and Description.
Is there any documentation that you are following?
I'm following this documentation:
https://toolset.com/documentation/user-guides/term-fields/
https://toolset.com/documentation/user-guides/displaying-wordpress-term-fields/
I have created an Image Custom Field for the taxonomy, and I'm trying to display it with the shordcode
[types termmeta='img_prog'][/types]
Is there a similar example that we can see?
This it could be an exemple what I want to do hidden link
What is the link to your site?
The link to my site where I need to have the category lists is hidden link
It seems the URL cannot be resolved in the HTML.
Please see the attached screenshot.
These are the steps to display a Term Meta Field on a Taxonomy Archive:
1. Create a Term Meta Field
2. Populate this Field in your Taxonomy by adding Terms which have as well values saved for this Field
3. Create a WordPress Archive for this Taxonomy and insert the Field's ShortCode in the Loop Editor using the GUI "Fields and Views. It will produce, for an image field as example:
[types termmeta='image-field' alt='%%ALT%%' title='%%TITLE%%' size='full' align='none'][/types]
This then displays the image when the single Term is viewed on the Front end as in this URL:
<em><u>hidden link</u></em>
This works fine on a Toolset Install.
Can you re-try with this new informations?
If this does not work, can you check how you are building the Loop (It seems to me you use a Builder) and confirm the issue persist as well when you only use Toolset and a Native WordPress Theme
I suggest to test this on a staging site or after a good backup.
Please let me know the results.
Hi, I have do all steps but the shortcode don't work... I think because I'm trying to build the Taxonomy Archive with the Term Archive links...
I'don't what could be the issue...
Yes I use the Divi Builder Theme, and into the Toolset specifics the Divi Builder and Toolset are compatible at 100%...
So, I think to use other construction logic using not taxonomy terms but the Types Relationship between two CPT and relative posts. It is possible to do that?
Can you elaborate what you mean with "I'm trying to build the Taxonomy Archive with the Term Archive links"?
WordPress Taxonomy Archives are built in Toolset > WordPress Archives.
You add an archive, and choose what it applies to.
In this case you choose a taxonomy of choice.
Then, in the Loop, you insert the exact ShortCode I shared, after adjusting it's slug for the "termmeta" attribute to your own field.
I suggest to do that always with the GUI, which will not produce a ShortCode as shared here:
https://toolset.com/forums/topic/i-need-to-create-a-category-archive-about-a-cpt-only-with-a-category-lists/#post-616832
It should instead produce a ShortCode with some attributes, as I shared above.
Can you confirm that this is what you are trying to do?
Can I log in somewhere and follow your lead to understand how you are building this?
Thank you!
It seems you try to show a term Meta Field on a Post Archive.
That won't work.
You can only display them on Taxonomy Archives and Taxonomy Views.
You cannot display those fields there.
Ok thanks, now I delete what I'm trying to do, and use other construction logic.
OK.
Please let me know if you have any more questions related to the initial issue here - which is not supposed to work, or let us know thru a new ticket if the topic changes.
Thank you