Title: Page restrict subscriptions
Last modified: April 8, 2023

---

# Page restrict subscriptions

 *  Resolved [saskiaherm](https://wordpress.org/support/users/saskiaherm/)
 * (@saskiaherm)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/page-restrict-subscriptions/)
 * I have a stie with restricted content. Currently a few blocks are restricted 
   to logged in users. I want to change this.
    1. When a user registers, I want to give him or her one week free access to my 
       entire site
    2. After one week the user can buy a one year’s access to the restricted areas 
       on my site.
 * I have defined two subscription plans:
    1. one week for free
    2. one year access.
 * I have defined a wo commerce product to buy the second one.
 * My first question is: how can I connect users who register for my website to 
   the one-wee-for-free-plan?
 * How can I restrict blocks on my website to users who have one of those plans?
   Restricting to logged in users is not an issue, but won’t suffice in near future.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpage-restrict-subscriptions%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Mary Mojisola Job](https://wordpress.org/support/users/mariaojob/)
 * (@mariaojob)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/page-restrict-subscriptions/#post-16644790)
 * Hi [@saskiaherm](https://wordpress.org/support/users/saskiaherm/),
 * Thank you for using Paid Memberships Pro.
 * `My first question is: how can I connect users who register for my website to
   the one-wee-for-free-plan?`
   For users who register outside of PMPro, you can 
   auto-assign a membership level on default WordPress user registration, please
   see our guide on this here: [https://www.paidmembershipspro.com/give-users-a-default-membership-level-at-registration/](https://www.paidmembershipspro.com/give-users-a-default-membership-level-at-registration/)(
   note that the one-week expiry date set for the level would not apply following
   this method).
 * `How can I restrict blocks on my website to users who have one of those plans?
   Restricting to logged in users is not an issue, but won’t suffice in near future.`
 * This is possible by using the shortcode for restricting content to non-members,
   for example, using this shortcode:
 * `[membership level="0"] Will show up for non-members and non-logged in site visitors.[/
   membership]`
 * Kindly read more on using this here: [https://www.paidmembershipspro.com/documentation/content-controls/with-shortcodes](https://www.paidmembershipspro.com/documentation/content-controls/with-shortcodes)
 * Kind regards.
    -  This reply was modified 3 years, 1 month ago by [Mary Mojisola Job](https://wordpress.org/support/users/mariaojob/).
 *  Plugin Author [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * (@andrewza)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/page-restrict-subscriptions/#post-16671743)
 * Because there have not been any recent updates to this topic, we will be changing
   the status to resolved. If you have any new questions or if your issue persists,
   please feel free to create a new topic.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Page restrict subscriptions’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/paid-memberships-pro_f1dacb.svg)
 * [Paid Memberships Pro - Content Restriction, User Registration, & Paid Subscriptions](https://wordpress.org/plugins/paid-memberships-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-memberships-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-memberships-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-memberships-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-memberships-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-memberships-pro/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Andrew Lima](https://wordpress.org/support/users/andrewza/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/page-restrict-subscriptions/#post-16671743)
 * Status: resolved