Thanks for the excellent question.
Starting with s2Member v3.3.2+, it is now possible to modify your Shortcode in the following way.
- Code:
[s2Member-PayPal-Button ... output="anchor" /]
This would result in an anchor tag, instead of the traditional <form> tag that is output by default.
( i.e. <a href="https://www.paypal.com/..."><img /></a> )
Another output format is available ( url ), which provides even more flexibility:
- Code:
[s2Member-PayPal-Button .... output="url" /]
This will output just the raw URL, giving you the ability to incorporate your Shortcode into other HTML that you've generated on your own. For example, if you want to create a PayPal Button that opens in a new window, you could do something like this. * The Shortcode is abbreviated here; just to improve clarity on this topic.
- Code:
<a href="[s2Member-PayPal-Button ... output="url" /]" target="_blank">Checkout</a>
You will find further details covering all Shortcode Attributes in your Dashboard, under:
s2Member -> PayPal® Buttons -> Shortcode Attributes ExplainedStatistics: Posted by Jason Caldwell — March 22nd, 2011, 7:31 pm
]]>