VV Content Restriction self-updates
WordPress plugin to restrict content using shortcodes and membership system.
by Vishal Verma · github.com/setupgit/vv-content-restriction
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/setupgit/vv-content-restriction/archive/refs/heads/main.zipShips its own WordPress updater (built-in updater), so new versions show up under Dashboard → Updates.
Restrict premium content using shortcodes and allow membership access.
vv-content-restriction/ │ ├── assets/ │ ├── css/ │ │ └── style.css # UI styling (login form, signup, locked message, payment div) │ └── js/ │ └── script.js # Password toggle + AJAX login handling │ ├── includes/ │ ├── class-auth.php # Login + Registration (AJAX) + block wp-login.php │ ├── class-handler.php # Free views (3 articles) + signup form (POST handler) │ ├── class-membership.php # Membership activation (manual form) │ ├── class-razorpay.php # Razorpay integration (create order, verify payment) │ ├── class-shortcodes.php # Shortcodes ([pre], [signup_form], etc.) │ ├── install.php # Plugin activation → create DB tables │ └── razorpay/ # Razorpay SDK library │ ├── templates/ │ ├── locked-message.php # UI shown when content locked │ ├── login-form.php # Login form (AJAX) │ ├── membership-form.php # Membership purchase button + Razorpay checkout │ ├── signup-form.php # (Not shared yet – but expected similar to login form) │ └── my-account.php # (Not shared yet – user dashboard page) │ ├── vv-content-restriction.php # (Main plugin bootstrap file – not shared yet) └── uninstall.php # (uninstall file)