Trying to create a sidebar with member_header.php info in a sidebar widget
Using WP 3.2.1
Using BP 3.2.1
I have created a sidebar widget calld “Your Profile” which has the code from member_header.php. All of the elements show fine in the sidebar when you are in buddypress pages, but I have noticed two glitches:
1. on other static pages on the site, outside of buddypress pages, the user info is not showing properly. The users avatar does not show up, and all of the Activity, profile, friends, and group links are broken.
2. When you are in a buddypress page, like say activity, and I click on another users avatar, the info in the sidebar widget then populates with that person’s info.
Is there anyway around these bugs?
This is the code in question:
EDIT – HD, please always wrap code posted here in backticks, the symbol you see between the parentheses (`) – mercime
- The topic ‘Trying to create a sidebar with member_header.php info in a sidebar widget’ is closed to new replies.