Installation #
- Firstly, you need to purchase the User Registration Premium Plan.
- After the successful purchase, you will get the plugin zip file under your WPEverest account page.
- Now, you can download the User Registration Pro plugin and Membership add-on from there.
- Through your WordPress Dashboard, visit Plugins -> Add New -> Upload and then choose the downloaded zip file, and then install and activate it.
- Now you are ready to use this add-on for your site.
Alternative Method:
- Once you have entered the User Registration Pro license on your site, go to User Registration > Dashboard > All Features.
- Search for the ‘Membership‘ add-on.
- Click on ‘Activate‘.
Creating a Membership #
Once you have installed and activated the Membership add-on, go to the following location to create your first Membership.
User Registration > Membership
- Click on the Create new Membership button.
- Membership Name: Give a name to the membership you are creating.
- Membership Description: Describe the nature of the membership or any other details you want to add.
- Membership Status: Enable or Disable the status of the Membership
Membership Type & Price #
This is where you can set the type of membership and the price for it. You can choose any one of the following membership types.
Free #
If you want the membership to be free, you can choose this option. This option doesn’t require setting up the price or payment methods.
Paid #
This is the type of membership where the users will have to pay the amount that you set once to get registered. You will need to set the price and payment method.
For the cancellation, the default value, i.e. cancel immediately is enabled. Set the amount for the membership from the Amount option. Make sure you enable the payment gateway to let the users pay for the membership via Bank Transfer.
Subscription Based #
This plan requires the user to renew their membership after the allocated time.
Set the amount for the subscription from the Amount option. In the Duration option, you will need to set the time in which the subscription ends so that the users will have to pay to renew it.
Trial Period #
You can also enable Trial Period to let the users subscribe to the membership for the allocated trial period without having to pay for it.
Once the trial is over, the users will have to pay for the subscription.
Payment with PayPal #
To enable the PayPal payment gateway in the membership plan, you will need to activate the User Registration PayPal payment feature from User Registration > Extensions > Features. Once done, go to the Membership editor. Now, you can set the PayPal payment as the payment method for the membership.
- Paypal Email: The Paypal email address to receive the payment.
- Mode: Choose whether the account is a sandbox account or a production one.
- Cancel URL: Set a URL to redirect the users when the payment process is canceled.
- Return URL: Set a URL to redirect the users after successful payment.
Setting up Membership Registration and Thank You pages #
To set the registration page for the members, go to All Pages > Add New. Now, add the following shortcode via the desired page editor.
[user_registration_membership_member_registration_form]
Also, you can set up a Thank You page. The users will be redirected to this page once they successfully register. For this, create a new page and add the following shortcode.
[user_registration_membership_thank_you]
Once you have created the required pages, you will need to assign them to their respective options. For this, go to the following location.
User Registration > Settings > Membership
Content Management for Membership #
Once you have created the Membership/s, you will then need to set content rules using the Content Restriction feature of the User Registration Pro plugin.
For example, we created a Free Membership plan. Now, we need to restrict certain contents to the user who subscribes to this Membership. This way, the contents can be visible to the paid members only. Let us see how to achieve this.
- Activate the Content Restriction module.
- Go to User Registration > Content Rules.
- Click on the Add New button to add a content rule.
- Give a name to the rule and select either ‘Access‘ or ‘Restrict‘ on the Access Control option. The ‘Access’ option is used to provide access to the content for the designated users and the ‘Restrict’ option will restrict the content. For this example, we will select ‘Restrict’.
- On the CONDITIONS & LOGICS section, you will need to choose ‘Membership’ from the ‘Add Field’ option. This will then give you the list of the Memberships you have created. We chose ‘Free’.
- On the TARGET CONTENTS, you will need to select the contents on your site that you want to restrict to the chosen Membership.
You can choose either Post Types, Taxonomy, Pick specific Posts, Pick specific Pages, or the Whole Site.
- On the ACTION, choose what you want to show or where they will be redirected if they try to access the restricted content.
- Click on Create Rule, to create and save the rule. If you want to pause the rule-making and continue it later, click on the Save as Draft button.
Now, the members with the Free Membership(Membership name used as an example) will be restricted from viewing the content selected in the Target Content section.
Showcase the available Memberships on frontend #
You can use the following shortcode on a page/post where you want to display the list of the available Memberships.
[user_registration_membership_listing]