Skip Navigation

[Resuelto] Tag Archive header

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

Problem:
How to output the current term of a taxonomy archive?

Solution:
Views doesn't have a shortcode for this currently, you would need to use a custom shortcode, 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 6 respuestas, tiene 2 mensajes.

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

Asistido por: Nigel.

Autor
Mensajes
#1131418

Hi nigel.

over here is my tag archive page : its a layout : enlace oculto

As you can see the header is fetching all the series of the tags,
i just need one tag thats from url.

the rest of the tags exluding the top need to be in the other cell.
How do i achive this pls. thanks .

#1131893

Nigel
Supporter

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

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

How are you outputting that list of tags currently?

You may want to use the custom taxonomy shortcode I provided in an earlier thread: https://toolset.com/forums/topic/displaying-view-by-taxonomies-url-in-the-archieve-loop/#post-1121600

Otherwise what is being output may be the tags belonging to the first post shown in the archive, rather than to the current archive tag itself.

#1131896

i'm outputting using layout , visual editor cell.

#1131903

Nigel
Supporter

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

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

Yes, but what is in the cell? 🙂

#1131905
Tag:[wpv-post-taxonomy type="blog-tag" format="name"]   
#1131953

Nigel
Supporter

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

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

Then that is what is being output (https://toolset.com/forums/topic/tag-archive-header/#post-1131893), the terms of the first post in the archive results.

We plan to update the wpv-taxonomy-* shortcodes so that the context where they can be used includes archives, but for the time being you would need to use the custom taxonomy shortcode I gave you earlier.

#1134286

My issue is resolved now. Thank you!