[ad_1]
Hi,
A client wants to ringfence 9 pages of their website and only make them accessible to users who register an account (would be a custom account type). Users will not have backend access, just access to these 9 pages and potentially more as they get added.
In the future, the client may want to add tiers of membership so some accounts have access to a few exclusive pages so we would need to be able to modify existing accounts.
There are so many membership plugins, all offering same same but different.
What do you think would best fit the job here?
Many thanks 🙂
[ad_2]
Just add a conditional statement to hide access unless users match your user role.
Example: if ( current_user_can( ‘custom_role’ ) || !is_user_logged_in())