Skip to content
Docs

BuddyBuilder with the SweetDate theme

On a SweetDate site you can build the members directory with BuddyBuilder and still use the SweetDate Elementor widgets, such as Profile Search, inside the same template. This page covers three common additions to the Members Directory template: a sort filter, a search form and an online members list.

SweetDate is a dating theme by SeventhQueen. The BuddyBuilder parts of this page (the Members Directory template and its widgets) work the same in any theme.

Every section below starts from the template in Elementor:

  1. Go to BuddyBuilder > Settings.
  2. In the Members Directory box, select your template and click Save. If you have no template yet, click Create new, or import the starter templates.
  3. Click Edit current.

The starter Members Directory template contains three BuddyBuilder widgets: Members Navigation, Members Filters and Members Listing. They are in the BuddyBuilder Members Directory category of the widget panel. The SweetDate widgets are in the SweetDate category.

The Members Filters widget shows the search box, the sort dropdown (Last Active, Newest Registered, Alphabetical) and the grid/list toggle. To show the sort dropdown:

  1. If the template has no Members Filters widget, drag one in above Members Listing.
  2. Select the widget. In the Content section, open Show & Order.
  3. Pick the combination you want. The option name lists the visible parts from left to right:
    • Sort: only the sort dropdown.
    • Search: only the search box.
    • Search > Sort or Sort > Search: both, in that order.
    • Options that include List Toggle also show the grid/list switch.
  4. Click Update.

The other sections of the widget style the search box, the sort dropdown and the toggle.

Members Filters widget settings with Show & Order set to Search > Sort, and the search box and sort dropdown above the members grid

The Members Filters search box is a single keyword search. To let members search by specific profile fields (for example gender, age or country), use a form from the BP Profile Search plugin, which SweetDate supports, and place it with the SweetDate Profile Search widget.

  1. Go to Users > Profile Search and click Add New.
  2. Enter a title for the form.
  3. Under Form Fields, add the profile fields to search by. The example uses “I am a”, “Looking for a”, “Birthday” (as an age range) and “Country”.
  4. In Form Settings, set Target Directory to the Members directory and Add Form to Directory to Yes.
  5. In Form Template, choose a template. The horizontal SweetDate template takes the least space.
  6. Click Publish.

BP Profile Search form editor with four form fields, the target directory set to Members and a horizontal form template selected

  1. Open the Members Directory template in Elementor.
  2. Optional: delete the Members Filters widget, so the page has one search form instead of two. Keep Members Navigation and Members Listing.
  3. From the SweetDate category, drag the Profile Search widget between Members Navigation and Members Listing.

SweetDate Profile Search widget dragged between the Members Navigation and Members Listing widgets

  1. In the widget’s Settings section, choose your form under Form. Until a form is selected, the widget shows a BP Profile Search error about an empty form ID.

Profile Search widget settings with the Form dropdown open and the new search form selected

  1. Adjust the rest of the widget:
Option What it does
Show Profiles Shows or hides the row of member avatars under the form
Details The text shown in the form header. Empty it for a compact form
Typography Font of the header text
Visibility Shows the widget to everyone, to logged-in users or to guests
  1. Click Update.

Members directory on the front end with the horizontal profile search form between the navigation and the members grid

The (BuddyPress) Who’s Online widget shows the avatars of the members who are online right now, in a compact row.

  1. Open the Members Directory template in Elementor.
  2. In the widget panel, search for “buddy”. The BuddyPress widgets are listed in the WordPress category.
  3. Drag (BuddyPress) Who’s Online between Members Navigation and Members Listing.

Elementor widget search listing the BuddyPress widgets, with Who’s Online placed above the members grid

  1. Set the Title and Max members to show (15 by default), then click Apply.
  2. Click Update.

Who’s Online widget settings with the Title and Max members to show fields