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.

Shortcode for wordpress user id

Home Forums Community Forum Shortcode for wordpress user id

This topic contains 2 replies, has 2 voices. Last updated by  Colleen McCarthy 4 years ago.

Topic Author Topic
Posted: Friday Jan 4th, 2013 at 2:12 pm #36183

Hi,

I am using the wordpress user id as a unique membership number and would like the members to see it on their profile.

The only short code I can find is:
Membership Number: [s2Get constant="S2MEMBER_CURRENT_USER_SUBSCR_OR_WP_ID" /]

Is there one that just calls the WP_ID without the SUBSCR number as the default? Not all members pay by paypal.

Thanks,
Colleen

oceancolleen.com

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Saturday Jan 5th, 2013 at 3:30 pm #36316
Bruce
Username: Bruce
Staff Member

Hi Colleen,

You should be able to just do [s2Get user_field="ID"/].

Posted: Saturday Jan 5th, 2013 at 6:37 pm #36350

Thanks – I knew it had to be something easy, but I looked for hours. You rock!

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