WP User Subscription Addon

Get Paid when users register or create account in your site. This user subscription addon plugin can be used with WP Register Profile PRO. This plugin will allow Paid user registration in your site. Page / Post contents can be Restricted from visitors of the site.

FREE

Enter KEY from WP Register Profile PRO and click on Download

If you need support please Email us at demoforafo@gmail.com

Current Plugin (Version 1.0.0)

This plugin is tested upto WordPress (Version 5.1.1)

Shortcodes and How to Use Them

1. Use this [subscription_view id="1" link="http://example.com/register/"] shortcode in your page to display individual subscription details. Here "id" is subscription id, which in this case is "1". "id" can be 1, 2, 3 etc ( "id" is required, "link" is optional ).

2. Use this [rp_register_subscription title="Subscribe"] shortcode in your page to display the subscription form. ( "title" is optional ).

3. Use this [rp_subscription_renew title="Renew Subscription"] shortcode in your page to display renew user subscription form ( "title" is optional ).

4. Use this [subscription_user_data title="Subscription Details"] shortcode in your page to display user's subscription status. This shortcode will display subscription status of the currently logged in user Active/ Inactive.( "title" is optional ).

Usage Details

Create a new page and put the shortcode [rp_register_subscription] in that page. Now go to plugin settings page and select this page as Subscription Page.

view 2

If you are using any of these plugins WP Register Profile With Shortcode or WP Register Profile PRO and you have enabled Subscription, then from the registration page users will be redirected to this page to make payment.

Subsctiption Payment Page

view 1

Subsctiption Renew Page

Create a new page and put the shortcode [rp_subscription_renew] in that page. Now go to plugin settings page and select this page as Renew Subscription Page.

view 3

Users will be able to renew their subscription and change their subscription plans from this page. Users must login first to renew their subscription.

User Subscription Status

view 4

Use this shortcode [subscription_user_data] in your page to display Subscription Status of currently logged in user. Here Subscription Name, Subscription End Date, Subscription Status will be shown. Subscribed users will be able to Review their subscription with this shortcode.

Subscription Packages

view 5

Use this shortcode [subscription_view id="1"][subscription_view id="2"][subscription_view id="3"] in your page to display subscription packages. There are two parameters available with this shortcode

1. id - Use id to display specific subscription package details.

2. link - Use link parameter to specify your prefered url so that users redirected to that url when clicking on "Subscribed" button. If link is not provided then user will be redirected to Supscription Page, from here users will be able to subscribe.

Check Subscription Status

Easily find out if a specific user has active subscription. Using this function user_has_active_subscription($USER_ID) and passing USER_ID as the parameter subscription status of the user can be easily verified. If USER_ID is not given then subscription status of currently logged in user will be returned.

Example

<?php
if (function_exists('user_has_active_subscription')) {
if(user_has_active_subscription(2)){
echo 'Subscription is Active';
} else {
echo 'Subscription is not Active';
}
}
?>
Restrict Pages or Posts

Content of pages & posts can be restricted from admin panel easily. But in occations you may have to restrict the whole page form non subscribers. For those occations you have to include this function sub_restrict_page() at the top of the page or post. You can use this function in custom template as well.

Example

<?php
sub_restrict_page();
get_header();
?>
<div id="main-content" class="main-content">
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<?php
while ( have_posts() ) : the_post();
get_template_part( 'content', 'page' );
endwhile;
?>
</div>
</div>
<?php get_sidebar( 'content' ); ?>
</div>
<?php
get_footer();
?>

Plugin Setup

Setting up this plugin is very simple. There are few steps that you need to follow for this plugin to work properly. A detailed explanation on how to setup this plugin is described below.

Plugin Setup Details

Multilingual Note *

WP User Subscription Addon is a multilingual plugin. To use this plugin in your native language you have to translate the plugin text in your language. Please click here for a sample wp-user-subscription-addon-da_DK.po Danish language file. Once the translation is done please mail the translated file to demoforafo@gmail.com and we will convert that file and mail you back with the translated .MO file, which you have to put in the languages directory inside the plugin.

support
Get Support Within 12 Hours
Please Create a Support Ticket or E-mail at demoforafo@gmail.com
Back to Top