I want to add filter on my data. I am using BuddyPress there is a default filter on page but I want to add some custom filter. How can I add and get result?

This is the page where I want to use the filter: http://hobbytour.club/groups/

In that there is order by and by name global filter.

There are also two drop downs I want to do filter by that value also.

1 Answer 1


BuddyPress allows you to add custom filters for members, groups, blogs, and activities.

There's a thorough documentation on how to add custom filters to loops and I'd recommend you to check it out. There's a lot of example code that should help you get started.

  • i didn't find any custom code to add custom filter.i want to add filter on groups page.can you please help me Commented Jan 31, 2018 at 9:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.