- This topic has 2 replies, 3 voices, and was last updated 9 years, 3 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
WordPress Membership Plugin
Simple Membership Plugin › Forums › Simple Membership Plugin › how to protect an archive page ?
Tagged: archive
Hello,
Is there a way or a shortcode to insert in the theme page to protect an archive page ? (An archive page (archive.php) or a custom post type archive page (archive-CPT.php))
Thanks,
Delvasse
Hi, that option is not currently available in the plugin. I have submitted a message to the plugin developers to investigate further your issue.
Thank you
Archive pages will simply show a list of other pages. If the post itself is protected then the users still can’t see the content. Your visitors can’t just go to a page and see the content of a protected post.
You can add checks in your archive page using the functions explained in the following documentation:
https://simple-membership-plugin.com/simple-membership-miscellaneous-php-tweaks/