S2member Coding example

Lead
Test content test content Free free free.
Example Free Conten

last line you se before paywall.

You can put this [s2If current_user_can(access_s2member_level2)] mid sentence
Then the content after this code will be behind the paywall Some content for Members who are logged in with an s2Member Level >= 2.
Paid article content. this is for level 2’s and higher.

test test test

last line of paid article
[/s2If]

[s2If !current_user_can(access_s2member_level2)]

Click To Be An Insider

Read the inside story…

You’re reading our premium content and is available now to you as a HornsIllustrated.com Insider.

The rest of this article is available to Digital Subscribers only. Login or Subscribe to continue reading.

[/s2If]


Discover more from Horns Illustrated

Subscribe to get the latest posts sent to your email.

Discover more from Horns Illustrated

Subscribe now to keep reading and get access to the full archive.

Continue reading