Members have access to several frontend pages that allow them to manage their membership account and user profile.

In most cases, these shortcodes will be added to pages automatically generated via the setup wizard or in Step 2 of the initial plugin setup and do not need to be added manually.

This page covers the 9 frontend pages and the appropriate shortcode to place on each page. These shortcodes are designed for use on individual pages. If you are using the Block Editor, you can swap the shortcodes on these pages with their related block.

Membership Account

The Membership Account page is the primary login redirect page for most member activities on your site. The page shows sections based on shortcode attributes. You can use more than one shortcode per page to arrange sections in columns or between other page elements.

When using an individual Membership Account page’s shortcode, users can customize or remove the default title of the account section displayed (e.g. “My Profile” or “My Memberships”).

Admins can now tailor section titles to align with their site’s branding and design.

Shortcode attributes:

  • sections: a comma-separated list or single value for the sections to display. Accepts: membership, profile, invoices, links
  • section: a single value for the section to display.
  • title: customize or remove the title for the displayed section. This attribute only works if the section or sections attribute is a single item. Set to an empty string if you want to remove the built-in title.
[pmpro_account sections="membership,profile,invoices,links"]
[pmpro_account section="profile" title="Manage Your Profile"]

Note that the invoices section does not display if the member does not have any invoice history. Also note that by default there is no content in the “links” section. Links can be added via the methods in this post.

Screenshot demonstrating how the shortcode should be written to customize the section titles

There is also a block version of the Membership Account page shortcode.

Membership Billing

For members with an active subscription, this page shows the member’s billing information and allows them to update the payment method.

Shortcode attributes:

  • none
[pmpro_billing]

There is also a block version of the Membership Billing page shortcode.

Membership Cancel

This page shows links for a member to cancel their membership or a link to return to the Membership Account page.

Shortcode attributes:

  • none
[pmpro_cancel]

There is also a block version of the Membership Cancel page shortcode.

Membership Checkout

This page shows the checkout form. You can link directly to checkout for a specific level ID when this shortcode is present by adding the following parameter to the URL: ?level=ID where ID is the level ID you want to show a checkout form for.

Shortcode attributes:

  • none
[pmpro_checkout]

There is also a block version of the Membership Checkout page shortcode.

Membership Confirmation

This page shows the confirmation message and details that are displayed after membership checkout.

Shortcode attributes:

  • none
[pmpro_confirmation]

There is also a block version of the Membership Confirmation page shortcode.

Membership Invoice

This page shows a single membership invoice or a list of all membership invoices for the current user.

Shortcode attributes:

  • none
[pmpro_invoice]

There is also a block version of the Membership Invoice page shortcode.

Membership Levels

This page shows the membership level options available displayed in the order sorted via the Memberships > Membership Levels admin. If you would like more advanced styling options, see the Advanced Levels Page Shortcode Add On.

Shortcode attributes:

  • none
[pmpro_levels]

There is also a block version of the Membership Levels page shortcode.

Log In

Display a Log In Form and optional “Logged In” view with display name, log out link and the “Log In Widget” menu. The menu will be shown to all users and can be customized for members-only or per membership level using the Nav Menus Add On.

Shortcode attributes:

  • display_if_logged_in: set to “0” to hide the “welcome” content for logged-in users; accepts: 0 (false) or 1 (true); default: true
  • show_menu: set to “0” to hide the “Log In Widget” menu; accepts: 0 (false) or 1 (true); default: true
  • show_logout_link: set to “0” to hide the “Log Out” link that will display after the menu; accepts: 0 (false) or 1 (true); default: true
[pmpro_login show_menu="true" show_logout_link="true"]

There is also a block version of the Log In From shortcode.

Member Profile Edit

Displays a form that allows members to edit their user profile information on the frontend. Supports core WordPress User fields for First Name, Last Name, Display Name, and Email Address. Add Ons and other plugins can hook into this form by adding custom user fields or using the pmpro_show_user_profile action. This shortcode also handles password changes by including the URL parameter ?view=change-password when viewing the page.

Shortcode attributes:

  • none
[pmpro_member_profile_edit]

There is also a block version of the Member Profile Edit page shortcode

Was this article helpful?
YesNo