Force use BuddyPress displayed user instead of user logged with shortcodes
-
I am using the the Shortcodes on the sidebar and they work for the current logged in user, but I would like them to work for the displayed user, instead.
I found this snippet from gamipress / buddypress integration that allows you do exactly what I’m looking for!
So far the the snippet works perfectly for most of the shortcodes, including “bpps_profile_avatar” shortcode. However, it won’t work at all for either of the
“[bpps_profile_username]” OR the “[bpps_profile_displayname]” shortcode.This is very important for my BuddyBoss website, so would you have any idea why those two wouldn’t work in particular??
Any ideas of help at all would be MUCH appreciated.
Thanks so much
- The topic ‘Force use BuddyPress displayed user instead of user logged with shortcodes’ is closed to new replies.