Navigation überspringen

[Gelöst] How does this field work? Allow to have custom archive slug for CPT.

This support ticket is created vor 1 Jahr, 5 Monaten. 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
- 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 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Dieses Thema enthält 1 Antwort, hat 2 Stimmen.

Zuletzt aktualisiert von Minesh vor 1 Jahr, 5 Monaten.

Assistiert von: Minesh.

Author
Artikel
#2642271
Screenshot 2023-09-08 at 3.43.34 PM.jpg

Please explain when you would use this and what are ramifications for using.

Allow to have custom archive slug for CPT.

#2642629

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Normally, the post type archive slug will be the same as post type slug.

For instance, if you created post type "Books" with post type slug "book" then the post type archive to access all book post type posts will be: versteckter Link

Now, if you want to change the archive slug something else instead of "book" then you can use that feature where in the input box you can add your desired slug to access your book post type archive.

You will have to make sure that the slug should be unique and should not be used before with any of post type, posts, taxonomy, terms etc..etc..

#2642703

Thank you!!