Saltar navegación

[Resuelto] Hide “Custom post type” slug from the URL

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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Este tema contiene 1 respuesta, tiene 1 mensaje.

Última actualización por Minesh 2 months, 4 weeks ago.

Asistido por: Minesh.

Autor
Mensajes
#2842218

Hey,

We are using Toolset types plugin. We created a custom post type called Grade Guide. I am wondering if we can remove "grade-guide" from the individual page URL.

enlace oculto

Can we change it to enlace oculto

#2842235

Minesh
Colaborador

Idiomas: Inglés (English )

Zona horaria: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

There is no native way to remove the post-type slug from the single post permalinks.

In order to achieve this - You'll have to rely on some custom rewrite rule workarounds, as discussed in the following resource:
- enlace oculto
- https://wordpress.stackexchange.com/questions/203951/remove-slug-from-custom-post-type-post-urls

Alternatively, you can check any of the following plugins that fulfills your requirement:
- https://wordpress.org/plugins/wp-better-permalinks/
- https://wordpress.org/plugins/permalink-manager/
- https://wordpress.org/plugins/custom-post-type-permalinks/