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.

Assigning a Member Badge for a Membership Level

  1. Navigate to the Memberships > Membership Levels > Edit Level.
  2. Under “Member Badge” click “Upload Image” to set that level’s Member Badge image.
  3. Save the Level.
Screenshot of PMPro Assigning Member Badge for a Membership Level

Video: Member Badges Demo

The [pmpro_member_badges] Shortcode

You can display the member badge via the shortcode [pmpro_member_badges]. The shortcode has some parameters:

[pmpro_member_badges image_align="alignleft" title="My Member Badge"]
  • image_align: Optional; Accepts ‘alignleft’, ‘alignright’, and ‘aligncenter’ (or any class your theme includes for images) and inherits style for these classes via your theme’s CSS.
  • level_id: Optional; Accepts a single level ID to show the badge for a specific level only.
  • size: Optional; A single integer that will be used to constrain the Member Badge’s height and width.
  • title: Optional; Accepts any text you would like to display as a heading before the member badge (e.g. title=”My Member Badge”). If you define the title, the badges will display using the stylized card format for other PMPro frontend elements.
  • user_id: Optional; Show the Member Badge(s) for a specific user.

The pmpromb_show_badge() Function

You can display the member badge via the function pmpromb_show_badge(). The function has two optional parameters:

  • user_id: Display a specific user ID’s member badge.
  • echo: Set to ‘false’ to NOT echo the badge.
  • args: An array of accepted arguments, including an optional level_id (integer) and badge size (integer)

MMPU Environment Compatibility

The PMPro Member Badges Add On is designed for sites where members can hold one or more active membership levels. The shortcode or function will display the member badges for all active levels for the current or specified user.

Member Directory Compatibilty

To display member badges in your Directory or Profile pages, use the element name pmpro_member_badge in the elements attribute of the shortcode. For example:

[pmpro_member_directory elements="display_name;pmpro_member_badge"]

Screenshot

Screenshot of Paid Memberships Pro Members Badges on Membership Account page

Included Member Badge Images

You’ll likely want to create your own image badges, but the plugin includes a few built-in badges you can use royalty-free for your projects.

This is a Plus Add On.

Plus Add Ons are included in all Plus or higher premium membership plans.