I have tried numerous variations of shortcode on my members page, and can’t seem to get my list in alphabetical order. Here is my current shortcode. What’s wrong or missing?
[userpro template=memberlist list_sortby=member_name memberlist_v2_bio=0 memberlist_v2_fields=aircraft_model,n_number memberlist_verified=1 memberlist_v2_showbadges=0]
If you would help me with the shortcode it would be much appreciated.
To sort member directory in alphabetical order – you will need to include “sortby” field in the shortcode.
For e.g –
[userpro template=memberlist sortby=name order=asc]
For more details, please refer the docs here – http://userproplugin.com/userpro/docs/#shortcode_memberlist
This is my exact shortcode on my member page, its definitely not sorting alphabetically.
[userpro template=memberlist memberlist_v2_bio=0 memberlist_v2_fields=aircraft_model,n_number memberlist_verified=1 memberlist_v2_showbadges=0 sortby=name order=asc per_page=21]
If I go to the UserPro Admin, and then Fields. I don’t have a “name”. I have a “member_name”. But even if I use sort=member_name it doesn’t sort from A-Z.
This has been resolved. Thank you.
Glad to know that 🙂 Thanks4 years, 6 months ago felixwaParticipant
I have the same problem as “rtharden”. can you explain please how “This has been resolved”?
instead of opening new issue.
Hi felixwa, Please share the shortcode that you have tried. Have you added the “sortby” field in the shortcode ? For more please have a look at docs here – http://userproplugin.com/userpro/docs/#shortcode_memberlist
You must be logged in to reply to this topic.