Forums
-
- Forum
- Posts
-
- Installing BuddyPress
- 24,045
- How-to & Troubleshooting
- 129,742
- Creating & Extending
- 25,802
- Requests & Feedback
- 9,508
- Third Party Plugins
- 9,793
- Showcase
- 3,316
- Ideas
- 1,375
- Miscellaneous
- 9,181
-
If you want to get content from different blogs on a WPMU/WPMS installation on a single BuddyPress page, you’ll probably have to use the function switch_to_blog(), and its partner restore_current_blog(). For example, if you run switch_to_blog(5) from your BP blog (I’m assuming it’s blog #1), any blog-specific functions you run (such as query_posts) will be with reference to blog 5 instead of blog 1. Use restore_current_blog() to switch back to blog 1.
This method is pretty resource intensive, though, so it might not be the best choice if you’ve got a huge site.