Navigation überspringen

[Gelöst] How to display a custom term field on a toolset content template?

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

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 vor 4 years, 7 months. 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 -

Zeitzone des Unterstützers: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 2 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von kai-peterW vor 4 years, 7 months.

Assistiert von: Minesh.

Author
Artikel
#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
Unterstützer

Sprachen: Englisch (English )

Zeitzone: 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!