Re: s2Member and Facebook – Issue when pages are restricted
Hey everyone,
I abandoned this idea because I can’t waste too much time on that.
As I really need the content of the post to be restricted to members only I decided to use API Scripting.
It’s a little more time consuming (and now I need to go through all my posts to add the script), but definitely worth the effort.
PROS : Both share and like works, no additional code necessary.
CONS : More time consuming.
Method : Here is how I start my posts to block post content to logged in users only (regardless to level)…
[s2If !is_user_logged_in()]
You must login to read this post and access download link
[/s2If]
[s2If is_user_logged_in()]
[…]Content[…]
[/s2If]
Hope that helps a couple of peoples out there!
Regards,
BBC