Saltar navegación

[Resuelto] Taxonomy link in Archive loop

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

Problem:
The customer asked how to add taxonomy term links in the WordPress Archive.

Solution:
Suggested to use the "Single Field" block, which supports showing the taxonomy terms, as the link to their respective archive pages.

Relevant Documentation:
n/a

100% of people find this useful.

This support ticket is created 3 years, 4 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por il-camelopardo-sasV 3 years, 4 months ago.

Asistido por: Waqar.

Autor
Mensajes
#2383693
Edit-WordPress-Archives-Block-“Archivio-prodotti-6”-‹-My-WordPress-—-WordPress.png
Prodotti-–-My-WordPress.png

Tell us what you are trying to do?
In the WordPress Archive editor, I want to show the Custom Taxonomies related to each post, with each taxonomy (Applicazioni, Tipologia) linked to its archive URL. For now I just can show the taxonomy list, but there is not the link. (see screenshot #1)

If I change the "display format" to "URL of term archive page" the text disappears (see screenshot #2)

What is the link to your site?
enlace oculto
For example:
"Dispersioni Poliuretaniche" should be linked to its archive enlace oculto
"Fondi base acrilica" should be linked to its archive enlace oculto
and so on.

Please note that the relation is many-to-many, so each post can have many "Tipologia" and many "Applicazioni" associated.

Can you please help me?
Ciao
Alessandra

#2384355
single-field-block-taxonomy.png

Hi Alessandra,

Thank you for contacting us and I'd be happy to assist.

From the screenshot, I understand that you're using the "paragraph" block for showing these taxonomy terms.

You can replace this, with a "Single Field" block, which supports showing the taxonomy terms, as the link to their respective archive pages.
( example screenshot attached )

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#2387151

My issue is resolved now. Thank you!