Statistics: Posted by Raam Dev — January 18th, 2012, 1:23 pm
Statistics: Posted by InfoKing — January 17th, 2012, 5:09 pm
<?php
$post_or_page_id = get_the_ID();
if(c_ws_plugin__s2member_sp_access::sp_access($post_or_page_id, "read-only"))
{
// The current visitor has Specific Post/Page Access to this Post/Page.
}
?>
<?php
if(c_ws_plugin__s2member_sp_access::sp_access(123, "read-only"))
{
// The current visitor has Specific Post/Page Access to Post ID #123.
}
?>
Statistics: Posted by Jason Caldwell — January 15th, 2012, 12:22 am
<?php if (current_user_can("access_s2member_ccap_1")){ ?>
Some content for Members who has bought this post. For example the_content
<?php } else { ?>
Some public content. For example the_excerpt
<?php } ?>
Statistics: Posted by InfoKing — January 11th, 2012, 4:18 pm
Statistics: Posted by Raam Dev — January 11th, 2012, 2:52 pm
<?php if (current_user_can("access_s2member_ccap_1")){ ?>
<?php the_content(); ?>
<?php } else { ?>
<?php the_excerpt(); ?>
<p>Bitte kauf diesen Artikel, um den Inhalt zu sehen</p>
<!-- PayPal BuyNow Button Code -->
<?php } ?>
Usage:
[paybutton]{Item Name*}|{Item Number*}|{Amount*}|{Currency Code}|{Subscription Days}|{Hidden Text}[/paybutton]*Required
Simple Pay Now (No Login Required)
http://www.voiceoftech.com/swhitley/?page_id=129
Statistics: Posted by InfoKing — January 10th, 2012, 5:33 pm