[S2Member] Lock a post by date

2 replies
Hello Warriors,

I'm currently creating a membership site with the plugin
S2Member. There are a lot of options to lock your content,
but I don't know how to lock a post or page by the number
of days that someone has joined.

For example:
When someone joins on day 1, page 1 should be available on day 1,
page 2 should be available on day 3 etc.

Is this possible?

S2Member can use all the wordpress codes and looks like this (an example):

[s2If is_user_logged_in()]
Content for anyone that is logged in, regardless of their Membership Level.
[/s2If]

[s2If !is_user_logged_in()]
Some public content. They're NOT logged in.
A leading !exclamation means false.
[/s2If]

Thanks very much .
#date #lock #post #s2member
  • Profile picture of the author David V
    Originally Posted by Lebowski View Post

    Hello Warriors,

    I'm currently creating a membership site with the plugin
    S2Member. There are a lot of options to lock your content,
    but I don't know how to lock a post or page by the number
    of days that someone has joined.

    For example:
    When someone joins on day 1, page 1 should be available on day 1,
    page 2 should be available on day 3 etc.

    Is this possible?

    S2Member can use all the wordpress codes and looks like this (an example):

    [s2If is_user_logged_in()]
    Content for anyone that is logged in, regardless of their Membership Level.
    [/s2If]

    [s2If !is_user_logged_in()]
    Some public content. They're NOT logged in.
    A leading !exclamation means false.
    [/s2If]

    Thanks very much .
    The short answer will be to point you toward the s2 links that talk directly about dates/conditionals.
    Content Dripping based on Profile field
    Content dripping by date (calender date)

    There are also various links that fork off these which do give you what your looking for.
    Will take a little php likely.
    {{ DiscussionBoard.errors[7732157].message }}

Trending Topics