There are many plugins out there that let you order Pages and/or Posts with drag and drop.
Is there something similar to order users?
Or if not, is it possible to create a plugin for that (i.e. are there sufficient filters, actions etc. in place?
There are many plugins out there that let you order Pages and/or Posts with drag and drop.
Is there something similar to order users?
Or if not, is it possible to create a plugin for that (i.e. are there sufficient filters, actions etc. in place?
Comments are closed.
Quite a specific feature, never seen any plugin. But it’s a matter of taking a drag’n’drop plugin and adapting it.
Here, a stripped and adapted version of My Link Order.
Description and to-do:
orderUsers()
in your browser console, you’ll see the current order as an array. Drag and drop and execute again, the array shows the new order.It seems there is no such plugin…
So I created my own: https://github.com/cek125i/simple-user-ordering
(~300 php lines, too long to post here)
Influenced a lot by “Simple Page Ordering” plugin, but created from scratch.
The lousy truth about this problem is that there seems to be no built-in way to sort users by meta-value. Luckily I have only 10-20 users so hopefully it won’t be too performance-expensive to sort them manually after fetching (that means one additional query per user to fetch meta value).