Tagged Questions
0
votes
1answer
834 views
Order users by custom user meta
I'm showing a list of users like so:
<ul>
<?php $directors = get_users('role=director');
foreach ($directors as $director) {
$dir_id = $director->ID;
...
0
votes
3answers
1k views
Order by first name
I'm trying to order the member list by display_name or first name ASC.
http://sim.is/sim/felagatal-sim/
This doesn't seem to work. Any pointers out there? :/
$users = get_users(array(
'role' ...