Create the “Swap members” page

Note that the BP Search Profile plugin is needed to create this page.

Create a page

To create a page visit Pages > Add New. On the right side of your screen assign the Minimal Template in the Page Attributes area.

Add the shortcode

The “member Swap” view is driven by a shortcode available with the BP Search Profile plugin.
This is the shortcode (where index-swap” is the custom view):

[bps_directory template="members/index-swap"]

Advanced shortcode attributes

You can filter the members returned by the shortcode (eg. display only male members).

[bps_directory template="members/index-swap" field_35="male"]

Warning! field_35 depend on the ID of your field.

The full documentation to extend this shortcode is available here