Page 1 of 1

how to show free members that there is more content

PostPosted: May 11th, 2010, 4:05 pm
by itscbiz
I have free descriptions on my page and then code so only the logged in members can see the actual video.

How can I let free members know that there is more protected content to entice them to log in and join? If I write "there's more on the page" then that will still show once a member is logged in and that looks stupid.

Re: how to show free members that there is more content

PostPosted: May 11th, 2010, 11:02 pm
by Guest
look up is_logged_on in wordpress, it will become your friend

Re: how to show free members that there is more content

PostPosted: May 12th, 2010, 4:28 am
by itscbiz
is_logged_in
That works great thanks!

Re: how to show free members that there is more content

PostPosted: May 13th, 2010, 12:50 am
by Jason Caldwell
Documentation on the is_user_logged_in() function can be found here:
http://codex.wordpress.org/Function_Ref ... _logged_in

There is also a section inside s2Member -> API Scripting -> Advanced Conditionals, which covers this topic in much more detail, with 5 different code samples, some of which use s2Member API Constants.