Hi,
I want to build a staff directory for my company’s Intranet site. I use the Buddypress groups for our departments. I want to have a page that displays all groups and a list of members of a selected group.
The group names should always be visible on top (like a menu). By clicking on a group (e.g. “Department A”) only members of “Department A” shall be listed under the group names. By clicking on another group (e.g. “Department B”) only members of “Department B” shall be listed under the group names.
I already found out how to copy and edit the groups-loop.php in my child theme. But I don’t know how to go on.
I use WordPress 4.2.2 with Buddypress Version 2.3.2.1.