Hi guys,
I’ve noticed S2member is great at restricting access to content based on the length of time someone has been a member, but seemingly not so great at restricting based on the length of time a post has been published (i.e. the age of a post).
Does anyone have any tips on how to create some custom PHP to manage this? Essentially, I want to restrict access to all posts for member level 0 for 7 days only. After that, I want them to be able to see the posts.
Any help would be much appreciated as I’m new to PHP and I keep messing it up.
Andrew