If you need to verify that a Member’s age is greater than 18. Then use the script below.
I like pasting scripts like this into the free Code Snippets plugin. Paste it into the Code Snippets plugin and select “Run Everywhere” as the Snippet Type.
Continue reading How to Verify MemberPress Age 18+ Years Old
I’ve gotten a few questions about what PHP extensions to have enabled for WordPress sites, and more specifically for WordPress + MemberPress.
MemberPress doesn’t necessarily need anything specific that WordPress itself doesn’t already make use of.
But here’s what I’ve found works best for me with my WordPress, MemberPress, WooCommerce etc.
Currently I run PHP 7.2 FPM via nginx on most sites. The PHP extensions enabled on all of them are:
- opcache (not really required but makes PHP faster)
Did I miss something you’ve found you can’t live without on your WordPress site, if so let me know in the comments.
The other day I needed a way to limit coupon use to one per customer.
I thought I would share the code snippet I found and explain how it works below. You can copy the PHP below and paste it into a plugin like Code Snippets.
Continue reading Coupons – One use per Member
One of the more common questions I get about how MemberPress works is, “What gives members on my site access?” or “How do I give members access on my site?”.
Many other membership plugins base access off of some kind of WordPress User Role, or some metadata stored about the member etc. But with MemberPress, that’s not the case, so it can be a bit of a learning curve if you’re coming from something else like WooSubscriptions, or S2 Member etc.
Continue reading What Gives? How do I Give Members Access on my Site?