Paid Memberships Pro – Member Directory Add On

Description

Adds a public or members-only searchable directory to your WordPress site. Customize the directory or member profile with user fields and other content.

Add value to your membership, foster community, and build connections through member directories and listings. This Add On allows you to create a customizable Member Directory and individual Member Profile pages.

  • Member Directory Page: Dynamically lists members, presents essential profile information, avatars, and direct links to the individual Member Profile pages.
  • Member Profile Page: Highlights a specific member’s information. Customize the profile display with no-code User Fields to create a useful resource for each member that encourages exploration, interaction, and even generates business opportunities.
  • Customization Options: Build your Member Directory to fit your unique vision and set up specific visibility and access rules. Use the built-in WordPress blocks or shortcodes to arrange and display the directory, member profiles, and included user profile data based on membership level.

Installation

You must have the Paid Memberships Pro plugin installed and activated with a valid license type to use this Add On.

  1. Navigate to Memberships > Add Ons in the WordPress admin.
  2. Locate the Add On and click “Install Now”.
    • To install this plugin manually, download the .zip file above, then upload the compressed directory via the Plugins > Add New > Upload Plugin screen in the WordPress admin.
  3. Activate the plugin through the Plugins screen in the WordPress admin.

Initial Directory and Profile Page Setup

  1. Navigate to Memberships > Settings > Pages in the WordPress admin.
  2. Locate the Additional Page Settings section.
  3. Click the Generate Page button to create a new page for your Member Directory and Member Profile.
    • Note that these pages can also be created manually and then assigned to these Page Settings after they are published.
  4. Save Settings.

Edit Your Member Directory

A directory can be inserted in any page or post via the Members Directory Block or Shortcode ([pmpro_member_directory]).

  1. Navigate to Memberships > Settings > Pages in the WordPress admin.
  2. Locate the Additional Page Settings section.
  3. In the Member Directory page setting row, click Edit to edit your directory.
  4. The generated Member Directory page should have automatically inserted the following shortcode: [pmpro_member_directory]
  5. You can swap this shortcode for a more user-friendly block option with visual settings. To do this, use the Block inserter to locate the Members Directory block.
  6. Remove the shortcode if you choose to use the block option.
Example of the Member Directory in the Table Layout
Paid Memberships Pro – Member Directory Add On 3

Block Settings and Attributes

The Members Directory Block options appear in Settings side panel when you select the block.

  • avatar_size: The square pixel dimensions of the avatar to display. Requires the “show_avatar” attribute to be set to ‘true’. default: ‘128’ (accepts any numerical value).
  • fields: Display additional user meta fields. default: none (accepts a list of label names and field IDs, i.e. fields="Company,company;Website,user_url"). You can also display user fields captured at checkout, such as the member’s billing information. See a list of payment fields stored in usermeta here.
  • layout: The format of the directory. default: div (accepts ‘table’, ‘div’, ‘2col’, ‘3col’, and ‘4col’).
  • levels: The level ID or a comma-separated list of level IDs to include in the directory. default: all levels (accepts a single level ID or a comma-separated list of IDs).
  • limit: the number of members to display per page
  • link: Optionally link the member directory item to the single member profile page. default: true (accepts ‘true’ or ‘false’).
  • order: Sort the results based on the order_by attribute in ascending or descending order. default: ASC (accepts ‘DESC’ or ‘ASC’).
  • order_by: The sort order for the results. default: ‘u.display_name’ (accepts ‘u.user_email’, ‘u.display_name’, ‘u.user_login’, ‘u.user_registered’, ‘mu.membership_id’, ‘mu.startdate’, ‘joindate’)
  • show_avatar: Display the user’s avatar generated via Gravatar or user-submitted using a plugin like Basic User Avatars; default: true (accepts ‘true’ or ‘false’).
  • show_email: Display the user’s email address; default: true (accepts ‘true’ or ‘false’).
  • show_level: Display the user’s membership level; default: true (accepts ‘true’ or ‘false’).
  • show_search: Display a search form (searches on member display name or email address); default: true (accepts ‘true’ or ‘false’).
  • show_startdate: Display the user’s membership start date for their current level; default: true (accepts ‘true’ or ‘false’).

We have a list of shortcode examples at the bottom of this documentation page if you are using the shortcode method instead of the block.

Edit Your Individual Member Profile

A profile can be inserted in any page or post via the Member Profile Block or Shortcode ([pmpro_member_profile]).

  1. Navigate to Memberships > Settings > Pages in the WordPress admin.
  2. Locate the Additional Page Settings section.
  3. In the Member Profile page setting row, click Edit to edit the individual profile.
  4. The generated Member Profile page should have automatically inserted the following shortcode: [[pmpro_member_profile]]
  5. You can swap this shortcode for a more user-friendly block option with visual settings. To do this, use the Block inserter to locate the Member Profile block.
  6. Remove the shortcode if you choose to use the block option.
Screenshot of sample member profile
Paid Memberships Pro – Member Directory Add On 4

Block Settings and Attributes

The Member Profile Block options appear in Settings side panel when you select the block.

  • avatar_size: The square pixel dimensions of the avatar to display. Requires the “show_avatar” attribute to be set to ‘true’. default: ‘128’ (accepts any numerical value).
  • fields: Display additional user meta fields. default: none (accepts a list of label names and field IDs, i.e. fields="Company,company;Website,user_url"). You can also display user fields captured at checkout, such as the member’s billing information. See a list of payment fields stored in usermeta here.
  • levels: The level ID or a comma-separated list of level IDs that allow profiles. default: all levels (accepts a single level ID or a comma-separated list of IDs).
  • show_avatar: Display the user’s avatar generated via Gravatar or user-submitted using a plugin like Basic User Avatars; default: true (accepts ‘true’ or ‘false’).
  • show_bio: Display the user’s bio (if available); default: true (accepts ‘true’ or ‘false’).
  • show_billing: Display the user’s billing address (if available); default: true (accepts ‘true’ or ‘false’).
  • show_email: Display the user’s email address; default: true (accepts ‘true’ or ‘false’).
  • show_name: Display the user’s display name; default: true (accepts ‘true’ or ‘false’). Use our Force First Last plugin to batch update display names.
  • show_level: Display the user’s membership level; default: true (accepts ‘true’ or ‘false’).
  • show_phone: Display the user’s billing phone (if available); default: true (accepts ‘true’ or ‘false’).
  • show_search: Display a search form (searches on member display name or email address); default: true (accepts ‘true’ or ‘false’).
  • show_startdate: Display the user’s membership start date for their current level; default: true (accepts ‘true’ or ‘false’).
  • user_id: Show a specific member’s profile; default: none (accepts any numeric uesr id, i.e. user_id=”125″).

Members can opt out of the member directory by checking the “Hide from Directory?” field on the “Edit Profile” page.

There are no reviews yet.

Write a review

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.