How do I Orderby User Role?
-
Hi,
I would like to organise posts by a custom User Role if possible?
Eg; 2 or 3 custom user roles which would be: User, Premium User, Super Premium User
So a “super premium user” role’s posts would appear first, then “premium user”, then “users” after that…
I have managed to do this manually through separate loops, however this means all the posts would have to be displayed on one page, so having 2 seperate loops would mean pagination wouldnt work as great.
I hope this makes sense?
Thanks in advance!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘How do I Orderby User Role?’ is closed to new replies.