Problem:
How to show a term meta field when listing posts.
Solution:
Term custom fields can only be shown when querying terms. When displaying posts which have taxonomy terms assigned, to output term fields for the taxonomy terms it is necessary to create a taxonomy View to list the terms belonging to the current post (that condition specified as a Query Filter) and then to output the term field in the Loop Output section of that View.
It may make sense to use the option to display the View without any wrapper div (and possibly to remove unnecessary whitespace from the Loop Output).
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.
Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.
Este tema deriva de https://toolset.com/es/forums/topic/tax-term-field-in-archive-page/
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
---|---|---|---|---|---|---|
- | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | 7:00 – 14:00 | - |
- | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | 15:00 – 16:00 | - |
Supporter timezone: Europe/London (GMT+00:00)
Este tema contiene 9 respuestas, tiene 2 mensajes.
Última actualización por hace 6 años, 1 mes.
Asistido por: Nigel.