Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved] Hide BP Search Bar

@danbp

Participant

This filter will remove any members count everywhere. Goes into bp-custom.php or theme’s functions.php

add_filter ('bp_get_total_member_count', '__return_false');

Now you see a count with zero. But this count is hardcoded in a span. So you can hide this with css:

#activity-all span, 
#members-all span{
	display:none;	
}

See html/css details in index.php of each folder in bp-templates/bp-legacy/buddypress/

Skip to toolbar