-2

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

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 – user9167536 Jan 31 '18 at 9:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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