Skip Navigation

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

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)

This topic contains 1 reply, has 2 voices.

Last updated by Minesh 1 year, 2 months ago.

Assisted by: Minesh.

Author
Posts
#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

Languages: English (English )

Timezone: 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: hidden 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!!