Only one result for certain types in members loop
Ok, so I have successfully created a custom members loop within a normal WordPress page. A weird issue is, if I set the type to something like ‘popular’ or ‘newest’ it might only return one result, when I had set the max to two. There are eleven test members so it there must be at least 2 newest members and 2 most popular.
Does anyone have any idea what is going wrong here?
<?php if ( bp_has_members(bp_ajax_querystring( 'members' ).'&include=1,2,3,4,5,6,7,8,9,10&max=2&type=newest' ) ) : ?>
- The topic ‘Only one result for certain types in members loop’ is closed to new replies.