Show random user of a specific user type
I have created a study website where user can access online courses. I am using the buddyboss theme with WordPress 5.7.2 version. I want to add a feature called “Study-Buddy” which shows a random user from only the student user type. If the user hits the ‘Find Study-Buddy’ button it shows a random student. If the student doesn’t like the random choice then he/she can find another one. Can anyone please suggest how can I implement this feature.
- You must be logged in to reply to this topic.