Skip Navigation

[Gelöst] Use dash in the custom post type slug

This support ticket is created vor 5 Jahre, 4 Monate. There's a good chance that you are reading advice that it now obsolete.
Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 0 Antworten, has 1 Stimme.

Last updated by Glenn vor 5 Jahre, 4 Monate.

Assisted by: Christian Cox.

Author
Artikel
#1160873

Tell us what you are trying to do?
I'm trying to format the URL for my custom post type, using the custom URL format.
By default, it would be cpt/slug
Putting / in the box would give /slug
What I'd like to achieve is cpt-slug (so with dash).
When putting cpt- into the text field, the url would become cpt-/slug.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.