Hi Brajesh,
Hope you’re well.
We’re using BuddyBoss theme, and we’d like to display 24 Members Per Page on the Members Directory. Currently it displays 20 by Default.
Many thanks,
JamesHi James,
Thank you for the question.Since BuddyBoss theme and the BuddyPress have similar loop, Here is a code that works for both.
add_filter( 'bp_after_has_members_parse_args', function ( $args ){ if( ! bp_is_members_directory() ) { return $args; } $args['per_page'] = 20; return $args; });
Regards
BrajeshHi James,
Thank you for confirming. I am glad it worked.Regards
Brajesh
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘ [Resolved] Number of Members Displayed – Member Directory’ is closed to new replies.
This topic is: resolved