Comments on: Building A Basic WP Membership / Paywall Feature Without A Plugin https://codewp.ai/blog/building-a-basic-wp-memebership-paywall-feature-without-a-plugin/ AI For WordPress Creators Mon, 27 Mar 2023 12:58:24 +0000 hourly 1 https://wordpress.org/?v=6.6.1 By: bf42c2a26faf1884e7024d28d8815fc2 https://codewp.ai/blog/building-a-basic-wp-memebership-paywall-feature-without-a-plugin/#comment-16 Mon, 27 Mar 2023 12:58:24 +0000 https://codewp.ai/?p=1196#comment-16 I am using a normal wordpress theme (not woocommerce) and am selling a digital product. How do I link these actions:
User buys product > user is added as "member" > an email is sent to the user with his "member" credentials?

]]>
By: James LePage https://codewp.ai/blog/building-a-basic-wp-memebership-paywall-feature-without-a-plugin/#comment-13 Fri, 16 Dec 2022 17:03:44 +0000 https://codewp.ai/?p=1196#comment-13 In reply to Linda Michael.

Hey Linda - When it comes to payments on a production site, it probably makes more sense to use something like RCP. They also have a lot for devs: https://restrictcontentpro.com/developer-docs/
The code above is complete and would work for oneoff purchases, but doesn't come with things important things built in like per post/user/role restrictions. It also won't support recurring payments. Of course, all of this could be built, so it's really up to you.
I'd suggest trying this out for the exercise and if it works for your use case, rolling with it.

]]>
By: Linda Michael https://codewp.ai/blog/building-a-basic-wp-memebership-paywall-feature-without-a-plugin/#comment-12 Fri, 16 Dec 2022 04:36:58 +0000 https://codewp.ai/?p=1196#comment-12 Thank you for this great piece. I think this is exactly what I need. I have a content board and would like to put a paywall. But, I am not sure if this code is all what I need. Please what do you mean by- "Keep in mind, this is a bit simple for paid membership system, but it gets the point across!"? Are you saying that this code is not complete? I just want to build a simple system that allows subscribers to have access to my content after making payments via PayPal or Stripe. Please how best do I go about this?
I am comfortable with working with codes.
Thank you for your response.
I look forward to hearing from you.

]]>
By: Douglas Marzean https://codewp.ai/blog/building-a-basic-wp-memebership-paywall-feature-without-a-plugin/#comment-11 Tue, 13 Dec 2022 20:44:29 +0000 https://codewp.ai/?p=1196#comment-11 In reply to Bert van der Meer.

Grab a snippet manager like wp codebox.

]]>
By: Bert van der Meer https://codewp.ai/blog/building-a-basic-wp-memebership-paywall-feature-without-a-plugin/#comment-10 Tue, 13 Dec 2022 18:59:33 +0000 https://codewp.ai/?p=1196#comment-10 In reply to James LePage.

where do i add the code in WordPress. Still trying to get my head around this.

]]>
By: James LePage https://codewp.ai/blog/building-a-basic-wp-memebership-paywall-feature-without-a-plugin/#comment-9 Mon, 28 Nov 2022 04:06:21 +0000 https://codewp.ai/?p=1196#comment-9 Questions? Don't hesitate to leave them here!

]]>
By: WP Weekly 124 - Tracking - New Tools, Builders Bloat, Matt Says https://codewp.ai/blog/building-a-basic-wp-memebership-paywall-feature-without-a-plugin/#comment-8 Mon, 28 Nov 2022 02:51:21 +0000 https://codewp.ai/?p=1196#comment-8 […] code to build a membership/paywall site without […]

]]>