Blog

How to Display User Groups Directory in WordPress

User Groups List

Displaying a user groups directory in WordPress can help you organize and showcase different user communities on your site. Whether you’re managing a membership site, an online community, or a team-based project, having a user groups directory makes it easy for visitors to explore and interact with various groups. With the ProfileGrid plugin, setting up and displaying a user groups directory is simple and requires no coding. In this guide, we’ll walk you through the steps to create and display a user groups directory in WordPress, making it easier for users to find and join groups.

Shortcodes

Here are the shortcodes relevant to User Groups.

[profilegrid_group gid=”x”]
[profilegrid_groups]
[profilegrid_new_group]

Today, we’ll be using the All Groups shortcode, which serves as the Multi Group Page shortcode.

[profilegrid_groups]

To create the Group Directory page, simply paste the [profilegrid_groups] shortcode onto a new page. Start by clicking on “Add New” under the Pages section of your WordPress dashboard, then paste the shortcode.

In this example, the page is named “All Groups,” and the [profilegrid_groups] shortcode has been added. Once you’ve done that, click “Publish” to view your group directory on the frontend.

Display Group Directory frontend

As shown in the image above, we successfully displayed the group directory in WordPress simply by pasting a shortcode. Additionally, each group icon includes a ‘Detail’ tab that displays its members. This is the Single Group Page, which can also be created using shortcodes in a similar way.

Assigning Multi Group Page

After creating any page with ProfileGrid, there’s an important step to follow. The plugin includes several predefined pages, such as the Multi Group Page, Profile Page, and Login Page. You’ll find a list of these pages under the General option in the Global Settings. To display these pages on the frontend and the menu bar, users need to assign them appropriately.

Display Group Directory general settings


The image above shows part of the General Settings page. From the dropdown menu next to the All Groups option, select the page you created for your group directory. Any page you publish that matches one of the predefined pages will appear in this list. Once you’ve made your selection, click the ‘Save’ button to complete the process.

Displaying a group directory in WordPress opens up many possibilities. For schools and institutions, it allows the creation of groups for individual classes or clubs, enabling students to interact and communicate through a shared platform. The group directory will also display members, making it easier for the whole school to stay connected.

This approach works equally well for offices or organizations, where different departments or teams can have their own groups. The group directory page allows easy communication between group members, making it simple for teams to interact without the need for formal emails.

Summary

In this article, we learned how to display a user groups directory in WordPress using ProfileGrid. This feature allows you to organize and showcase groups, whether for schools, organizations, or online communities, making it easy for users to interact and connect. By simply adding a shortcode and assigning the right pages, you can create a fully functional group directory.

Give this feature a try, and let us know in the comments how it works for you or if you have any questions!

Leave a Comment

Your email address will not be published. Required fields are marked *