Skip Navigation

[Resuelto] tax term field in archive page

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

Problem:
How to output the taxonomy term name or slug on a taxonomy archive page.

Solution:
Views doesn't have a shortcode for this (the context for the wpv-taxonomy- shortcodes are taxonomy Views and the wpv-post-taxonomy shortcode used on an archive will output the terms of the first post shown in the archive, not of the archive itself).

You can register a custom shortcode to display the taxonomy name (or slug, or various other fields), as described here: https://toolset.com/forums/topic/displaying-view-by-taxonomies-url-in-the-archieve-loop/#post-1121600

This support ticket is created hace 6 años, 1 mes. 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.

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.

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 17 respuestas, tiene 2 mensajes.

Última actualización por Akhil hace 6 años, 1 mes.

Asistido por: Nigel.

Autor
Mensajes
#1133524

wow! . how did this work without even mentioning which tax term we are targeting for ?
is it because this is 'tag' archive page

ok this seems to be solved, pls if you have time look into this too : i need the tax-color-code raw value to be next to the category , pls look here at line 25
enlace oculto

ps: if no trouble pls remove my branding R.I.S.E from the previous reply and rename it to XXXX /SITE . many thanks !

Los hilos nuevos creados por Nigel y vinculados a este se encuentran a continuación:

https://toolset.com/es/forums/topic/split-taxonomy-term-question/

#1133611

Nigel
Supporter

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+00:00)

OK, I've split off the last question into a new thread, I think we are done with this particular issue. (Yes, btw, you don't need to specify the taxonomy or term because it is determined by the URL.)

I'll follow up there. (I edited the earlier reply to remove mention of your site name.)

#1133632

My issue is resolved now. Thank you!