Saltar navegación

[Resuelto] How to display a custom term field on a toolset content template?

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

Problem:
How to display a custom term field on a toolset content template?

Solution:
To display the custom term field information you will have to create a taxonomy view in classic view mode (as Toolset Blocks does not support term fields as of now) that should be set to query your desired taxonomy and then you should display the term field.

Relevant Documentation:
=> https://toolset.com/documentation/user-guides/views/displaying-wordpress-term-fields/

This support ticket is created 4 years, 7 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zona horaria del colaborador: Asia/Kolkata (GMT+05:30)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por kai-peterW 4 years, 7 months ago.

Asistido por: Minesh.

Autor
Mensajes
#2206273

I just want to display on the front end a custom term field (an image) inserting it on a toolset content template using the block editor.

Why is this so hard to achieve?

I found the solution to create a taxonomy view, then adding a filter to display only the terms of the current page and insert this view in the content template. But trying to insert the view in the content template "using an existing view" it could not be found ...
Using a code block in the content template only displays the code but not the image....

How to fetch/get easily a custom term field and insert it into a content template?

#2206835

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

To display the custom term field information you will have to create a taxonomy view in classic view mode (as Toolset Blocks does not support term fields as of now) that should be set to query your desired taxonomy and then you should display the term field.

More info:
https://toolset.com/documentation/user-guides/views/displaying-wordpress-term-fields/

#2209869

My issue is resolved now. Thank you!