fetching specfic role users
i’m trying to fetch specific users of role “expert” with this code, but its giving some random 3 users.
<?php if ( bp_has_members( bp_ajax_querystring( 'expert' ) ) ) : while ( bp_members() ) : bp_the_member(); ?>
also, how do i increase the users from 3 to all available in that specific role. I am building a slider.
- You must be logged in to reply to this topic.