Add profile field to 'Order By' drop down menu
I am new to BuddyPress and i have been looking for a tutorial that will show me how to add a custom profile field to the order by drop down menu on the members page.
What i have is a organisation with different members, i have created custom profile fields for each user to select which type of member they are. they can select Contractor or Training organisation. I want users to be able to filter the members page by Contractor or Training organisation so they can easily see all the contractors.
So far the only thing iv been able to do is add a member loop in my child theme to make my custom profile fields show up on the members page, after reading add custom filters to loops, im totally lost as to how to achieve this because i can only just kind of understand what this tutorial is trying to do, but i dont think it helps me.
If anyone could link me to a tutorial on how to just give users the ability to filter members by member profile field using a drop down menu or something that would be awesome thanks
(I actually have 4 member types, but used 2 here for simplicity sake.)
- The topic ‘Add profile field to 'Order By' drop down menu’ is closed to new replies.