Echo buddypress profile header contents in sidebar
-
What is the best way to to echo the currently logged in users avatar, profile name, recent activity, and cover image that is usually found on the buddypress profile and put it in a sidebar created in the \activity\index.php?
Simply copying and pasting the contents from the memeber-header.php does not seem to work.
also how would I then be able to echo the same profile info but then place it on wordpress post pages and instead of using the currently logged in user use the profile info of the posts author?
I have searched everywhere for this info online and there is zero mention of how to do this o the internet.
ANyway would be awesome if got this to work.
- You must be logged in to reply to this topic.