Hi @bnowthen,
this is one of the most common thing you can do with BuddyPress. 😉 .
To do that, you have to read the Codex, about members loop.
First, you will create a child-theme of 2014.
Than you add a folder called buddypress to it.
In this folder, you add a sub folder called members.
You than make a copy of members-loop.php.
This file is in wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/
Now, you open the copied file and replace the content of line 16.
Replace this:
<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) ) ) : ?>
with this:
<?php if ( bp_has_members( bp_ajax_querystring( 'members' ) . '&type=alphabetical' ) ) : ?>
Save and enjoy.
References
https://codex.wordpress.org/Child_Themes
Members Loop
Thanks, but I have one correction for those not familiar with php. Delete the comment “//” marks just before the “if” statement, or you come up with no list at all.
So <?php //if ( bp_has_members( bp_ajax_querystring( ‘members’ ) . ‘&type=alphabetical’ ) ) : ?>
Should be:
<?php if ( bp_has_members( bp_ajax_querystring( ‘members’ ) . ‘&type=alphabetical’ ) ) : ?>
Thanks again. This was very helpful, especially the instruction to put the buddypress code in the child theme folder.
You’re welcome, and thank you for the advice. I corrected the snippet accordingly.