612-293-8629 [email protected]

Today I wanted to make my BuddyPress “All Groups” page order groups alphabetically rather than by most recently updated. It turns out the solution was quite simple, provided you are comfortable editing theme code.

To change the order of the groups, open “your-child-theme/groups/groups-loop.php” in a text editor, and swap out line #16 as follows:

Replace this:

<?php if ( bp_has_groups( bp_ajax_querystring( 'groups' ) ) ) : ?>

with this:

<?php if ( bp_has_groups( 'type=alphabetical', bp_ajax_querystring( 'groups' ) ) ) : ?>

That’s it!

Looking to have more fun? Check out a list of all sorts of parameters you can change on the “All Groups” page.


We love to communicate: phone, email, text, Facebook, Twitter, LinkedIn, you name it.



Call Now

Enroll in Our Free Beginner WordPress Class by Email

Never feel powerless in WordPress again!  Become a WordPress superstar for free in only minutes a day!

Our Beginner WordPress Email Class is delivered to your inbox!

Learn More 

You Have Successfully Enrolled! Prepare For Amazing!