Reply To: Personal + Friends activity = ‘All’ activity tab?
@sharmavishal Thanks for the suggestion! “BuddyPress Wall” goes beyond what I’m looking for and seems to have quite a few unhappy users (Even most of the 5 star reviews are issues). So, I’m afraid it will cause more issues than it would solve.
I’ve found a tutorial here using bp_parse_args() to create an activity loop with ‘Personal’ and ‘Friends Activity’ only, but not a way to isolate the loop into its own subnav tab “All” (The code currently effects all activity loops universally [i.e. Friends, Personal, Mentions, Favorites, Site wide, all become Friends+Personal loops]).
Here’s the code to filter the activity loop into Friends+Personal,
function my_filter_activity( $loop ) {
$loop['scope'] = 'just-me,friends';
return $loop;
}
add_filter( 'bp_after_has_activities_parse_args', 'my_filter_activity' );
The next step would be isolating the loop into an ‘All’ activity subnav tab/button.
Any ideas?