Skip Navigation

[Resuelto] CPT Menu url format

This support ticket is created hace 7 años, 1 mes. 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
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Este tema contiene 12 respuestas, tiene 2 mensajes.

Última actualización por Noman hace 7 años, 1 mes.

Asistido por: Noman.

Autor
Mensajes
#579272

Hello there, This ticket is for Noman ,

Hi Noman, you can see my menu :/landed-house but the main page is /listings

How do i format the menu to be /listings/landed-house please.

Please guide/advice.
thanks

#579489

Noman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Karachi (GMT+05:00)

CPT or custom archive Slug.png

Hi,

Ok I have checked this, as I can see /landed-house is the CPT slug and this page is using an Archive View right now. And you want to change the url for this CPT like this:

 <em><u>enlace oculto</u></em> 

We can do this by adding a custom archive slug for CPT.
Please go to Toolset >> Post Types >> Edit your Post type >> under the Options section we have an input box to change CPT archive slug (or rewrite it in other words) -- please see attached screenshot.

I hope it helps, thank you

#579597

Hi Noman,

Yes i am aware of this step.
My concern is that "Listings" is a WP Page that i intend to add in latest cpt listings.

2. if i were to add manually , is that common ?, note that all i ask was the archieve cpt url to follow the wp menu structure.

thanks.

#579609

Noman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Karachi (GMT+05:00)

My concern is that "Listings" is a WP Page that i intend to add in latest cpt listings.
==> Ok but this won't be possible, that is not a standard approach and Toolset does not offer it. WordPress also does not offer anything like this as I know.

And yes, the method I have told you above is very much realistic and recommended way, there is no issue in doing it like this, instead of making relationship between pages and posts just for one archive only.

#579610

Hi Noman,

1. using layout with content template inside ?
2. i have 6 archieves, if its manual the best method then i will just go ahead.

thanks.

#579615

another concern is the detail page / template url back to /landed-house which is not inline with the archieve.
looking at /listings/landed-house/post-title format.

thanks!

#579617

ok found out : Rewrite

Rewrite permalinks with this format. False to prevent rewrite. Default: true and use post type as slug.
Use the normal WordPress URL logic
Use a custom URL format

#579809

Noman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Karachi (GMT+05:00)

Hello,

Sorry I went off yesterday, just seeing your messages. Is it all set now or would you like to know something further in this?

Please let me know, Thank you

#579834

Hi Noman, its all good if this is the only way to achieve custom url .

thank you.

#579846

Hi Noman, pls accept this tickett : https://toolset.com/forums/topic/noman-few-issue-to-solve-please/

thanks !

#579869

Noman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Karachi (GMT+05:00)

Hi,

Okay I will check those tickets, and update you accordingly. Since those have ongoing details in them, this may take sometime for me to understand and get back to you.

Thank you for your cooperation & patience.

#580843

keeping it active for other similar cpts.

#581031

Noman
Supporter

Idiomas: Inglés (English )

Zona horaria: Asia/Karachi (GMT+05:00)

[ changing ticket status as = Waiting ].

Working on your other tickets. Thanks