Saltar navegación

[Resuelto] how to create endpoints for a CPT

This support ticket is created 4 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/Hong_Kong (GMT+08:00)

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Luo Yang 4 years, 4 months ago.

Asistido por: Luo Yang.

Autor
Mensajes
#2297597
Capture4.PNG
Capture3.PNG
Capture2.PNG

I want to create 5 CPT like in capture 4 which are (programs, staff, services, schedules, gallery)
--------------------------------------------------
the question is how to make the (programs) as a parent post for others (staff, services, schedules, gallery)
as you see in other screenshots the link (enlace oculto) opens to the program home
and if I added (/gallery) then it opens an archive of all galleries that are linked to this program and if I added (/?gid=4408) it opens this one gallery in the same page.
and also want to know how to make the menu on the side.
please help me with this use case.
thanks

#2298475

Hello,

There isn't such kind of built-in feature within Toolset plugins, I suggest you try these:
1) Edit custom post type "programs", enable options "Page Attributes" and "hierarchical"
2) Add 4 sub pages "staff, services, schedules, gallery" for each "programs" post, in each sub page, display related posts by following our document:
https://toolset.com/course-lesson/displaying-related-posts/