At the moment I am using wp_user_query to loop users from a specific role(leden) on a webpage. For the overview page this is working fine, but on my homepage I want to feature one random user.
I was a little bit astonished to find out there is no random order parameter, nor a parameter to put a limit on the items looped. The maximum items looped (similar to posts_per_page) is not the problem, i can make this work by putting a $i=1 and if($i == 1) variable in my loop to make it stop after one user.
But for the random function.. Am I overviewing something ? ... :/
Does anyone have any idea how to make this work nicely?
Thanks in advance and sorry for my bad english.