Skip Navigation

[Resuelto] Sorting my taxonomy not available under Views.

This support ticket is created hace 5 años. 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
- 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 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Etiquetado: ,

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Luo Yang hace 5 años.

Asistido por: Luo Yang.

Autor
Mensajes
#1376795
Sample.png

I am trying to: Sort by taxonomy in a view and I don't have the option. I created a custom shortcode that takes the department taxonomy a person belongs to and adds it as a header so it only appears once. The issue is it appears more than once since I'm not able to sort by the department taxonomy.

Link to a page where the issue can be seen: enlace oculto

I expected to see:

Instead, I got:

#1376893

Hello,

I suggest you try with a nested view, for example:
1) Parent taxonomy view
- Query terms of "department" taxonomy
- Display below child post view

2) Child post view:
- Query "person" posts
- Filter by:
Select posts with taxonomy:
"department" set by the parent Taxonomy View

See our document:
https://toolset.com/documentation/user-guides/using-a-child-view-in-a-taxonomy-view-layout/
Views Inside Views – Display Nested Multidimensional Lists