latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Clickbank Button Generated w/PHP NOT Wordress

Home Forums Community Forum Clickbank Button Generated w/PHP NOT Wordress

This topic contains 3 replies, has 3 voices. Last updated by  Aleksander Evdakov 3 years, 8 months ago.

Topic Author Topic
Posted: Friday May 3rd, 2013 at 9:26 am #49118

I have a short code that was generated with Clickbank from S2member –

[s2Member-Pro-ClickBank-Button cbp="1" level="1" ccaps="" desc="Blog To $100K Disks + Membership Access" custom="blogto100k.com" tp="0" tt="D" rp="1" rt="L" rr="0" image="default" output="anchor" /]

However I am using a very custom template that I have to manually insert it INSIDE the page.php file – which with paypal I was able to do that to generate the PHP code (so I am trying to do the same with Clickbank)….

I am basically using the membership of s2member and wordpress but manually adding the template in the page.php file. So i need to know the RAW code to input into my PHP pages to output that clickbank button that is on this page http://blogto100k.com/atest/ with all the anchor tags, IP address, etc…

Any help would be appreciated.

Thank you sooooo much.

P.S. I am trying to integrate it on this page: http://blogto100k.com/live-365-video/ as you can see the template is pretty intense and not wordpressy but still have to do the membership via s2member.

List Of Topic Replies

Viewing 3 replies - 1 through 3 (of 3 total)
Author Replies
Author Replies
Posted: Friday May 3rd, 2013 at 6:27 pm #49154
Bruce
Username: Bruce
Staff Member

However I am using a very custom template that I have to manually insert it INSIDE the page.php file – which with paypal I was able to do that to generate the PHP code (so I am trying to do the same with Clickbank)….

The best way to do this is to use the do_shortcode() function.

See: http://codex.wordpress.org/Function_Reference/do_shortcode

Posted: Friday May 3rd, 2013 at 6:49 pm #49161

Example:

[hilite pre_code]
echo do_shortcode('[[s2Member-Pro-ClickBank-Button cbp="1" level="1" ccaps="" desc="Blog To $100K Disks + Membership Access" custom="blogto100k.com" tp="0" tt="D" rp="1" rt="L" rr="0" image="default" output="anchor" /]]');
[/hilite]
Posted: Saturday May 4th, 2013 at 9:14 pm #49226

Thank you both so much! This worked beautifully ! I really appreciate it your knowledge and expertise.

Viewing 3 replies - 1 through 3 (of 3 total)

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.