Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 23,917
- How-to & Troubleshooting
- 129,136
- Creating & Extending
- 25,779
- Requests & Feedback
- 9,463
- Third Party Plugins
- 9,782
- Showcase
- 3,317
- Ideas
- 1,399
- Miscellaneous
- 9,162
-
Well, it should work. What’s the exact code you were using?
Also, it’s worth noting that the `$bp` global behaves a bit differently when on a member page. Take this for example:
https://buddypress.org/community/members/username/settings/
`$bp->current_component` wouldn’t be members, as you might expect, but settings. In that case you could check for `$bp->displayed_user->id`.
See also: WordPress.org • bbPress.org • BuddyPress.org • Matt • Blog RSS