Membership Plugin

WordPress Membership Plugin

  • Home
  • Documentation
  • Addons
  • Support
    • Quick Setup
    • Documentation
    • Premium Addon Support
    • Paid Support
    • Support Forum
    • Support Forum Search
    • Forum Login
    • Forum Registration
  • Contact

[Resolved] Custom Content Type Archive Restriction

Simple Membership Plugin › Forums › Simple Membership Plugin › Custom Content Type Archive Restriction

  • This topic has 2 replies, 2 voices, and was last updated 1 month, 3 weeks ago by juwe81.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • October 12, 2026 at 7:03 am #32368
    juwe81
    Participant

    Hello, first of all, thank you for the amazing plug-in you’ve developed. I integrated it into my site, and it has worked amazingly so far. Before I get to the payments configuration, I bumped into a case that I’m not sure how to fix, and I’m not sure if it’s possible considering the current architecture.

    I installed a plugin to create custom content types (CPT UI) and created a post type called Resources. I already restricted access to the posts belonging to that type to a membership (Lifetime) level I created with Simple Membership. However, when I created the post type, I set has_archive to true, and that created an archive page which I can access via:

    https://mywebsite/resources

    I also want to restrict that URL to members only, but there’s no actual page in the dashboard where I can change the configuration, which I usually find at the bottom of the page I want to restrict.

    My question is: Is there a way to restrict pages that “don’t exist” in the dashboard UI but are generated dynamically like that?

    One more thing that might be relevant. To customize the UI in that URL, I’m using elementor through a template and then assigning it to the convention Resources Archive. I already tried to restrict membership access to the template, but it doesn’t work.

    I hope my question is not too confusing.
    Would appreciate any hints or suggestions.

    October 13, 2026 at 6:18 am #32374
    admin
    Keymaster

    Hi, A custom post type archive like /resources isn’t a regular page or post, so it doesn’t have the protection settings box in the editor. Protecting the Elementor template won’t work either, because the template is only a layout.

    You can protect it with the URL lockdown feature in the Full Page Protection addon. It works with the page URL, so it doesn’t need a page in the dashboard.
    https://simple-membership-plugin.com/full-page-protection-addon-simple-membership/

    • Install and activate the Full Page Protection addon.
    • Go to its settings page in the Simple Membership menu.
    • Check the Lockdown Specific Page URL option.
    • In the URLs field, enter the full archive URL, including https://. For example: https://yourdomain.com/resources
      If your archive has multiple pages, add /resources/page/ to the URL Patterns field so the paginated pages (/resources/page/2/, etc.) are protected too.
    • Save the settings, then test the archive in a private/incognito browser window.
    • Visitors who aren’t logged in, and members whose account has expired, will see the protection message instead of the archive.

    Please note this feature checks whether the visitor is a logged-in member with an active account. It doesn’t check a specific membership level. Since your site uses the Lifetime level, this should be exactly what you need. If you add more membership levels later and want only certain levels to see the archive, let us know and we can suggest a small code snippet for that.

    Hope this helps.

    October 13, 2026 at 6:51 am #32375
    juwe81
    Participant

    This is genius! I was about to create a plain page to replace the dynamyc page but with this feature you just saved me the trouble.

    Thank you so much! Amazing plugin! I’ll make sure to leave a good review.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Log In

Please read this message before using our plugin.

Search

Featured Addons and Extensions

  • Membership Form Builder Addon
  • Member Directory Listing Addon
  • WooCommerce Payment Integration
  • Member Data Exporter Addon

Documentation

  • Documentation Index Page

Copyright © 2026 | Simple Membership Plugin | Privacy Policy