0
Lorenz
Hi,
On my site, I have a lot of team members. I would like to sort them alphabetically by last name. Currently, they are only sorted by first name, see http://www.lorenz-loesch.at/av/academy/meisterkurse/
Is there any way to achieve this?
Best,
Lorenz
2 Subscribers
Submit Answer
1 Answers
Best Answer
0
Welcome to our forum.
Have you added the custom fields for "First name" & "last Name" ?
you will need to customize the query orderby "meta_value" ,
Please see the codes,
https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
You can see the query team member on following file
team\templates\query.php
Regards
Hi @David
Can you please post new support question about your issue.
Regards