Hey everyone,
I have two custom post types (CPTs) that I need to restrict, and I will gate content with the “Patron Pro” plugin. Patrons with tier A will get access to CPT A posts, and patrons with tier B will get access to both CPT A and B posts.
My issue is that I also have existing customers who need to have lifetime access to certain CPT B categories. Each group of customers must access freely a certain category in CPT B.
I could easily give these customers roles where each role allows access to a certain CPT B category, but Patron Pro will still disallow them from accessing the content (as they don’t have any Patreon subscription) .
So how can I solve this?
I guess one way would be to create lifetime “Paid Membership PRO (PMP)” subscriptions for these customers, each one providing access to a certain CPT B category.
But reading this post https://www.patreondevelopers.com/t/patreon-wordpress-is-now-compatible-with-paid-memberships-pro/2823 , I see that compatibility between Patreon and PMP only works for monthly subscriptions for now.
So what If I:
- Create several Patreon tiers and hide them from Patreon frontend
- Create several monthly memberships in PMP (same price as the Patreon tiers I hid); assign them to the existing users and then hide them from WordPress frontend
These clients don’t need to paid monthly, they already have lifetime access. I guess there is a way to assign a PMP membership and renew it automatically without the client having to pay or receive any notification.
A last issue is that Patron PRO plugin allows access for Patron tier and for all the tiers above it, but I need to create segregated accesses instead in most cases…
Thanks for any suggestion on this!
UPDATE
by re-reading this I am starting to think the easiest solution would be to create a custom plugin that checks the user role and overwrites Patron PRO plugin if the user role matches the one assigned to the CPT category. I am not a coder but I guess this would not be too complicated to do?