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.

Membership Options Page – Setup

Home Forums Community Forum Membership Options Page – Setup

This topic contains 1 reply, has 2 voices. Last updated by  Cristián Lávaque 3 years, 7 months ago.

Topic Author Topic
Posted: Tuesday Jun 4th, 2013 at 12:25 pm #51335
Doug Wilds
Username: dougwilds

After Reviewing this link
http://www.s2member.com/forums/topic/using-the-membership-options-page-variables/

I am still unsure of how/where to implement.
Should I insert the sample code in a php file somewhere? Better prctice to use a file that is seldom updated? Or try to use the theme? Any help would be greatly appreciated.. Ihave been trying to use the PHP Exec plugin(s) with no luck.

Still a bit of WP newbie, but I am getting there

Best Regards,

List Of Topic Replies

Viewing 1 replies (of 1 total)
Author Replies
Author Replies
Posted: Thursday Jun 6th, 2013 at 12:27 am #51451

You can leave Bruce a question regarding his tutorial there, but you can put the functions he gives in a must-use plugin. http://codex.wordpress.org/Must_Use_Plugins

Basically put the PHP file with your code in the the /wp-content/mu-plugins/ directory and it’ll be loaded automatically by WordPress.

You can use the vars directly in your Membership Options Page, though. See the documentation here: [hilite path]Dashboard -› s2Member® -› API / Scripting -› Membership Options Page Variables (MOP Vars)[/hilite]

ou will need a PHP execution plugin, there are several available: http://wordpress.org/plugins/search.php?q=php+execution

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.