Skip Navigation

[Resuelto] Dynamically change slug based on parent CPT

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 – 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)

Etiquetado: 

Este tema contiene 1 respuesta, tiene 2 mensajes.

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

Asistido por: Shane.

Autor
Mensajes
#1360617

Hello there,

We have CPT "A" with its archive at "www.site.com/creators/" and individual posts at "www.site.com/creator/john-doe"

We then have CPT "B" with its archive at "www.site.com/collections/" and we would like individual posts at "www.site.com/collection/john-doe/winter-2019-collection"

Is that possible without creating pages manually?

Thank you!

#1360629

Shane
Supporter

Idiomas: Inglés (English )

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

Hi Bastien,

Thank you for getting in touch.

Unfortunately this is not possible to do unless some custom coding is involved. A similar ticket to this was handled by a colleague and he had found a plugin that might be able to help you .

Take a look at his post below.
https://toolset.com/forums/topic/relationship-and-hierarchical-url-parent-child/

In any case for us to provide a solution it would be custom coding and custom coding is out of our support scope.

Thanks,
Shane