I see BuddyPress has a member-type creating feature but I want to arrange people based on its member type, I mean all the members with member-type x in one place and members with member-type Y in one place, any help will be greatly appreciated.
Also, I am using nouveau template
Thank you for the questions.
Are you using a custom BuddyPress theme? Most of the BuddyPress theme support member types as tab. Otherwise, you can use our BuddyPress Member Types Pro to add member types as a separate tab on the members directory.
Brajesh, thank you for your reply.
No, I don’t want to show member types in a separate tab, I just want to fetch all the users who belong to the certain member type with the help of a code.
Like in the All member(which is the default) tab, the first row has all the members which belong to X type, and then after the second-row Y type and like that.
I am sorry, I regret our inability to assist you with it as it will need more than 30 mins and we do not provide free support for anything taking more than 15 mins.
Here is a tip though. The member types are taxonomy terms and the user objects are added to the member types just like posts.
so, if you are able to find the code for sorting posts by taxonomy terms, you can apply the same for users with slight modification.
You must be logged in to reply to this topic.