-
Roger Coathup posted on the forum topic How to Exclude a Group From the Groups Loop in the group How-To and Troubleshooting: 14 years, 3 months ago
@ch8rt – rather than write that long nested if structure, put your group names into an array, and then check if the bp_get_group_name is in that array, using the PHP in_array() function: http://php.net/manual/en/function.in-array.php
@pollyplummer – Yes, an exclude parameter would be very useful – it came up in another forum thread recently as well
-
Roger Coathup posted on the forum topic Combine Activity stream with WordPress posts in the group How-To and Troubleshooting: 14 years, 4 months ago
The BuddyPress activity loop fetches blog post activity, so yes – you can get the latest blog posts from within the activity loop.
https://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
@ch8rt
Not recently active