Skip Navigation

[Resolved] Access – custom template for cpt archive

This support ticket is created 3 years, 9 months ago. 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

Author
Posts
#1966881
access view post archive.png

I have a cpt with access restricted to logged-in users. A non logged-in user sees a content template instead. But the cpt archive is still visible to non logged-in users, though I set Access to show post archive instead. But it doesn't: it still shows the cpt archive. How can I hide the cpt archive as well, not just the single cpt posts?

Is there any documentation that you are following?
https://toolset.com/course-lesson/setting-access-control/#choosing-what-to-display-when-read-access-is-denied
https://toolset.com/forums/topic/non-logged-in-users-can-access-a-category-page-though-the-cpt-is-set-to-private/
https://toolset.com/forums/topic/access-custom-404-page/

#1967677

Hi,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot why Access post type restrictions are not applying to the post type archive, I'll need to see how these items are set up in the admin area.

Can you please share temporary admin login details in reply to this message?

Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.

regards,
Waqar

#1968025

Thanks for writing back.

I tried to log in using the access details, but I'm getting an incorrect password message.

Can you please check the username and password?

I've set your next reply as private again.

#1968969

My issue is resolved now. Thank you!