Skip Navigation

[Resolved] Trying to display (custom) term field on a custom taxonomy archive

This support ticket is created 3 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by EdwinK1906 3 years, 10 months ago.

Assisted by: Shane.

Author
Posts
#2026471

I am trying to display term field fields and custom term fields on a custom taxonomy archive. It seems they are displaying in the editor but not on the front end.
I have tried to show them by adding a text and field block. When choosing a field I cannot choose the term fields. With a search on "taxo"I can can findby "post-taxonomy iterator. But they are only showing in the editor.

hidden link

What am I doing wrong?

Kind regards

Edwin

#2026703

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Edwin,

Thank you for getting in touch. To display the taxonomy term meta in a taxonomy archive you will need to add the following shortcode outside of the post loop area.

[types termmeta='my-field-slug'][/types]

Replace my-field-slug with the slug of your custom field and you should now see the field value showing on the frontend.

Please let me know if this helps.
Thanks,
Shane

#2027253

Hi Shane,
This works fine.
I also found the [wpv-taxonomy-archive info="name/description/etc"] shortcode which can display some info within the taxonomy.

Do you have a link for me with some extra reading about these shortcodes? For example is there a difference between the use of the
[wpv-] and the [types] shortcode.

Furthermore I noticed I cannot write/submit a reply to you in my chrome browser. The blue and red buttons are missing. Edge works fine.

Kind regards,

Edwin

#2027457

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Edwin,


Do you have a link for me with some extra reading about these shortcodes? For example is there a difference between the use of the
[wpv-] and the [types] shortcode.

We do have documentation on both the [wpv-taxonomy-archive ] shortcode and [types] shortcode.
https://toolset.com/documentation/programmer-reference/views/views-shortcodes/#vf-154477

https://toolset.com/documentation/customizing-sites-using-php/functions/

Furthermore I noticed I cannot write/submit a reply to you in my chrome browser. The blue and red buttons are missing. Edge works fine.

Strange as i'm using chrome to post my responses and it works fine on my end. Perhaps try clearing your browsers cache to see if the button shows up ?

Thanks,
Shane

#2027579

My issue is resolved now. Thanks Shane!