Hi,
I've created a CPT "Movies".
I'd like to create a few Movie items and have an archive page to list all of the available movies. But I want to disable the single pages.
Is that possible ?
Or do I need to disable "public queryable" and "has archive" and create a normal page with a "view" ?
thanks for your help.
Hi there,
Please follow the steps mentioned here to disable the single post view of the custom post type:
https://toolset.com/forums/topic/how-to-i-disable-the-single-page-for-a-post-type/
Thanks.
Hi Christopher.
Thanks for your help. Doing that disable the single page, that's what I wanted but it seems disabling also the archive page.
Is it what to expect ?
To have a page with all my "movies" should I do a page with a custom view or is it possible to have an archive page ?
Hi there,
If you enable the Has Archive option the archive should show and you can create an archive using Toolset:
https://toolset.com/course-lesson/creating-a-custom-archive-page/
But if you have an issue there yes you can use a normal view to create an archive page.
Thanks.