API Scripting for "Teaser"
Posted: July 18th, 2010, 9:15 pm
Hi, I am new to writing on this forum, however I've read through it for a few weeks now.
First of, want to say s2Member is an amazing plugin... you guys have done a lot for the community!
I have a question that is related to this topic (http://www.primothemes.com/forums/viewtopic.php?f=4&t=103&p=500&hilit=post+teaser#p500), however I can't seem to figure it out exactly.
I've looked at the code samples and they are exactly what I need, however where do I add them in so that I only show a snippet of my post and they have to register/login to see the rest?
I have Exec-PHP, but don't know exactly how to use it in conjunction with my post.
Here is an example of what I'm trying to do:
When a customer selects http://www.unbreakablewarrior.com, and navigates to the "Blog" section, I want them to only be able to see the following:
"Unbreakable Warrior has recently released a press release:"
Then they would have to login to be able to view the link.
How do I place the PHP code?
First of, want to say s2Member is an amazing plugin... you guys have done a lot for the community!
I have a question that is related to this topic (http://www.primothemes.com/forums/viewtopic.php?f=4&t=103&p=500&hilit=post+teaser#p500), however I can't seem to figure it out exactly.
I've looked at the code samples and they are exactly what I need, however where do I add them in so that I only show a snippet of my post and they have to register/login to see the rest?
I have Exec-PHP, but don't know exactly how to use it in conjunction with my post.
Here is an example of what I'm trying to do:
When a customer selects http://www.unbreakablewarrior.com, and navigates to the "Blog" section, I want them to only be able to see the following:
"Unbreakable Warrior has recently released a press release:"
Then they would have to login to be able to view the link.
How do I place the PHP code?