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.

Use s2Member button code in custom template.

Home Forums Community Forum Use s2Member button code in custom template.

This topic contains 1 reply, has 2 voices. Last updated by  Jason (Lead Developer) 4 years, 10 months ago.

Topic Author Topic
Posted: Wednesday Feb 22nd, 2012 at 4:15 pm #6012
Adam
Username: b4thestreet

I have created a custom wordpress template under my theme root and identified it as a WP page template option. I used the s2Member ClickBank Button Code Generator to create the code snippet for my buy now button. Example:

[s2Member-Pro-ClickBank-Button cbp="b4lvl1" level="1" ccaps="" desc="Level 1 Membership" custom="b4thestreet.com" tp="0" tt="D" rp="1" rt="M" rr="1" image="http://b4thestreet.com/cb/images/Join_Now-Lvl1.png" output="anchor" /]

I need to know what code to include above the head tag in order for s2Member plugin to read and execute in the custom template I have created. Current result can be viewed at the bottom of the following page: http://b4thestreet.com/main/cb/. You will note I have entered the s2Member generated code into my custom template. Instead of loading the code, only the text is displayed.

I feel as if this item would be highly sought after and I could not find any other reference to this question on the old/new forum. Any help would be greatly appreciated. I have privately emailed support log in credentials.

Thanks in advance for your help!

  • This topic was modified 4 years, 10 months ago by  Adam.

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Thursday Feb 23rd, 2012 at 3:39 pm #6163
Staff Member

Hi Adam. Thanks for your inquiry.

I have created a custom wordpress template under my theme root and identified it as a WP page template option. I used the s2Member ClickBank Button Code Generator to create the code snippet for my buy now button.

If you create a WordPress template file, that template file should be loaded by WordPress, and any plugins that are active on the installation will be available also. Please make sure that you’re pulling the content for the Page using the <?php the_content(); ?>

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

Viewing 1 replies (of 1 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.