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.

Display Username (using shortcodes?)

Home Forums Community Forum Display Username (using shortcodes?)

This topic contains 2 replies, has 2 voices. Last updated by  Benjamin Gill 4 years ago.

Topic Author Topic
Posted: Sunday Dec 30th, 2012 at 7:30 pm #35831

Hello,

I want to personalize the welcome page by displaying the username of the person logged in (regardless of level).

Something like: “Hey [username]! Great to see you here.”

But I don’t know what to use as the short code? Is it even possible? If not with shortcodes, maybe some other way.

List Of Topic Replies

Viewing 2 replies - 1 through 2 (of 2 total)
Author Replies
Author Replies
Posted: Sunday Dec 30th, 2012 at 9:38 pm #35835
David Welch
Username: dwbiz05

I think it’s…

[s2Get constant="S2MEMBER_CURRENT_USER_DISPLAY_NAME" /] for Display Name

or

[s2Get constant="S2MEMBER_CURRENT_USER_LOGIN" /] for Username

Hope that helps.

Dave

Posted: Sunday Dec 30th, 2012 at 10:16 pm #35836

Yup, worked like charm!

Thanks :)

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.