Community Support Forums — WordPress® ( Users Helping Users ) — 2011-09-02T21:36:13-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=14823 2011-09-02T21:36:13-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14823&p=33817#p33817 <![CDATA[Re: Setting Shortcode Attributes Dynamically]]> viewtopic.php?f=36&t=1604 :)

Statistics: Posted by Cristián Lávaque — September 2nd, 2011, 9:36 pm


]]>
2011-09-02T12:05:21-05:00 http://www.primothemes.com/forums/viewtopic.php?t=14823&p=33749#p33749 <![CDATA[Setting Shortcode Attributes Dynamically]]>
I am working with the latest edition of s2member pro with PayPal Pro integration, and I would like to have certain attributes of the s2member_pro_paypal_form shortcode i.e.

[s2member_pro_paypal_form <<attr...>>]

Particularly, I need to pass PHP $_POST['-#-'] variables into some of the attributes. I have attempted to use the Custom Capabilities framework, but haven't been successful at all. I have also tried to find the scrip where the shortcode attributes and defined and set, but I cannot find that, either.

Ultimately what I need is to adjust the shortcode such that I can pass my $_POST varialble values to them before they are parsed.

What is the best and easiest way to do that? And I really need help fast, if at all possible...

Thanks!!!

Statistics: Posted by bware — September 2nd, 2011, 12:05 pm


]]>