Skip Navigation

[Resuelto] 3 different types relationship and views based on one of them Dep – Name – Role

This support ticket is created hace 8 años, 2 meses. 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

Este tema contiene 15 respuestas, tiene 3 mensajes.

Última actualización por Shane hace 8 años, 1 mes.

Asistido por: Shane.

Autor
Mensajes
#381406

Shane
Supporter

Idiomas: Inglés (English )

Zona horaria: America/Jamaica (GMT-05:00)

Hi Johan,

Great so you just need to create a taxonomy a separate taxonomy for each department.

Note then you will need multiple
Role: [wpv-post-taxonomy type="role" separator=", " format="link" show="name" order="asc"]

Shortcodes in order to display a roles of each employee, granted that they have multiple Roles accross multiple departments.

For Example we have Josh. Josh is apart of the IT department and Marketing department.

In IT josh is a Software Project Manager and in Marketing he is the Marketing Manager.

So we have 2 taxonomies. IT Roles and Marketing Roles.

So to display the Roles for Josh you will need to use this.

IT Roles  [wpv-post-taxonomy type="it-role" separator=", " format="link" show="name" order="asc"]
Marketing Roles  [wpv-post-taxonomy type="marketing-role" separator=", " format="link" show="name" order="asc"]

I can see this getting a bit complex given that you only want each role to display under the relevant department. So if Josh name appears under IT department you want to show his roles there and not his roles under Marketing department.

In a case like this we will need a wpv-conditional to check but I would need to think on this a bit more.

Thanks,
Shane

Este ticket ya está cerrado. Si eres cliente de Toolset y necesitas ayuda relacionada, abre un nuevo ticket de soporte.