---
title: Shortcodes reference
description: "Every Ultimate Membership Pro shortcode in one place: forms, Member Portal sections, purchase links, member data, popups and lists, with their attributes and examples."
url: "https://ultimatemembershippro.com/docs/shortcodes-reference/"
updated: "2026-10-18"
category: Developers
---

# Shortcodes reference

ReferenceAll levelsUltimate Membership Pro 14.2+

Ultimate Membership Pro places its forms, account area, purchase links and member data on your pages with shortcodes. This page lists all of them, what each one shows and the attributes it accepts.

The same list, with a copy button for every shortcode, is in Ultimate Membership Pro*›*Shortcodes. Paste a shortcode into a [Shortcode block](https://wordpress.org/documentation/article/shortcode-block/), a classic editor, a widget or a page builder's shortcode element.

Before you start

- The main shortcodes are already on the pages the plugin created. See [Set up the membership pages](https://ultimatemembershippro.com/docs/step-1-set-default-pages/).
- Shortcodes marked Module work only while that module is on, in Modules.

[![Shortcodes screen, Main Shortcodes: cards for Register Form, Login Form, Logout Button, Password Recovery, Member Portal, Subscriptions Plan, Checkout Page, Thank You Page and Public Individual Page, each with its shortcode and a copy icon](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-shortcodes-01-main-shortcodes.png)](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-shortcodes-01-main-shortcodes.png)
Ultimate Membership Pro › Shortcodes. Click a shortcode to copy it.

## Main shortcodes

 `[ihc-register]`

Registration form. Shown to logged-out visitors only.
**Attributes:** `template` registration template, for example ihc-register-9; `level` Membership ID to register for

`[ihc-login-form]`

Login form. See [Set up the login form](https://ultimatemembershippro.com/docs/set-up-the-login-form/).
**Attributes:** `template` for example ihc-login-template-3; `remember` 1 or 0, Remember Me box; `register` 1 or 0, link to the Register page; `lost_pass` 1 or 0, lost password link; `social` 1 or 0, social login buttons; `captcha` 1 or 0, reCAPTCHA

`[ihc-logout-link]`

Logout link. See [Add a logout link to your menu](https://ultimatemembershippro.com/docs/add-logout-link-menu/).
**Attributes:** `template` login template whose style it uses

`[ihc-pass-reset]`

Password recovery form.

`[ihc-user-page]`

The Member Portal (account page). See [Set up the Member Portal](https://ultimatemembershippro.com/docs/set-up-the-member-portal/).

`[ihc-select-level]`

Subscriptions Plan: the list of Memberships with their buttons.
**Attributes:** `id` Membership IDs to show, comma-separated, for example 2,3; `template` plan template; `css` extra CSS for this list

`[ihc-checkout-page]`

Checkout page: payment method, coupon, taxes and the purchase button.

`[ihc-thank-you-page]`

Thank you page shown after a purchase.

`[ihc-visitor-inside-user-page]`

Public profile of a member. See [Show public member profiles](https://ultimatemembershippro.com/docs/visitor-inside-user-page/).

## Member Portal sections

Build your own account pages from single sections of the Member Portal. They show the logged-in member's data.

 `[ihc-account-page-overview]`

Dashboard default content.

`[ihc-edit-profile-form]`

Profile form. See [Customize the profile form](https://ultimatemembershippro.com/docs/customize-the-profile-form/).

`[ihc-change-password-form]`

Change password form.

`[ihc-account-page-subscriptions-table]`

The member's subscriptions with their actions. See [Customize the Subscriptions and Payments tables](https://ultimatemembershippro.com/docs/customize-the-subscriptions-and-payments-tables/).

`[ihc-account-page-orders-table]`

The member's orders.

`[ihc-social-links-profile]`

Buttons to link the account with social accounts for social login.

`[ihc-user-banner]`

The member's banner image.
**Attributes:** `width` CSS width, default 100%; `height` CSS height, default 300px

`[ihc-user field="ihc_avatar"]`

The member's avatar.

`[ihc-account-page-pushover-form]`Module: Pushover Notifications

[Pushover settings form](https://ultimatemembershippro.com/docs/pushover-notifications/).

`[ihc-user-sites-table]`Module: MultiSite Subscriptions

The member's [sites](https://ultimatemembershippro.com/docs/multisite-subscriptions/).
**Attributes:** `add_new_url` link of the page with the add-site form

`[ihc-user-sites-add-new-form]`Module: MultiSite Subscriptions

Form to add a site.

`[ihc-list-gifts]`Module: Membership Gifts

[Membership gifts](https://ultimatemembershippro.com/docs/membership-gifts/) received by the member.

`[ihc-membership-card]`Module: Membership Card

The member's Membership cards.
**Attributes:** `template` card template; `size` card size; `exclude_levels` Membership IDs to leave out

## Purchase links and restriction

[![Memberships Shortcodes table: for free_community, pro_monthly and annual_pass, a direct purchase link shortcode [ihc-purchase-link id=1] SignUp [/ihc-purchase-link] and a direct restriction shortcode [ihc-hide-content membership=1] Your Content Here [/ihc-hide-content]](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-shortcodes-02-membership-shortcodes.png)](https://ultimatemembershippro.com/wp-content/uploads/2026/10/ump-shortcodes-02-membership-shortcodes.png)
The Shortcodes screen lists both shortcodes for each of your Memberships.

 `[ihc-purchase-link id=3]Get the pass[/ihc-purchase-link]`

A link that starts the purchase of one Membership. Logged-out visitors go to the Register page, members go to the checkout. [ihc-level-link] works the same way.
**Attributes:** `id` Membership ID; `register_page` URL of another registration page; `checkout_page` URL of another checkout page; `item_class` CSS class of the link

`[ihc-hide-content membership=2]…[/ihc-hide-content]`

[Shows the content only to some visitors](https://ultimatemembershippro.com/features/content-restriction/). See [Hide part of a page (Inside Locker)](https://ultimatemembershippro.com/docs/how-to-set-an-inside-locker/) for every option.
**Attributes:** `membership` Membership IDs who see it; `ihc_mb_type` show or block; `ihc_mb_who` who it applies to, for example reg for logged-in users; `ihc_mb_template` locker template, -1 for none

## Member data

`[ihc-user field="…"]` prints one value of the logged-in member. Use it in pages, widgets or the Member Portal texts.

 Account

`username`, `user_email`, `first_name`, `last_name`, `ihc_avatar`

Memberships

`level_list` (the member's Memberships), `level_name`

Links and site

`account_page`, `login_page`, `verify_email_address_link`, `blogname`, `blogurl`

Custom fields

The name of any registration field, for example `[ihc-user field="phone"]`. The Shortcodes screen lists the ones on your site.

## Popups, buttons and lists

 `[ihc-login-popup]Log in[/ihc-login-popup]`

Opens the login form in a popup when the text is clicked. See [Login and registration popups](https://ultimatemembershippro.com/docs/login-and-registration-popups/).
**Attributes:** `trigger` CSS class of another element that should open the popup

`[ihc-register-popup]Join[/ihc-register-popup]`

Opens the registration form in a popup.
**Attributes:** `trigger` CSS class of another element that should open the popup

`[ihc-suspend-account]`

Button that lets the member suspend their account.

`[ihc-list-users]`

Members Directory. Build it with the generator in the Members Directory showcase; see [List members on your site (Members Directory)](https://ultimatemembershippro.com/docs/members-directory/).

`[ihc-list-all-access-posts]`Module: List Access Posts

Posts the member can access. See [List the posts a member can access](https://ultimatemembershippro.com/docs/list-access-posts/).
**Attributes:** `limit` number of posts; `order_by` and; `order` sorting; `post_types` post types to include

`[ihc-list-user-levels badges=0 exclude_expire=0]`Module: Membership Badges

The member's Memberships, as badges when badges=1.
**Attributes:** `badges` 1 to show badge images; `exclude_expire` 1 to leave out expired Memberships

`[ihc-individual-page-link]`Module: Individual Page

Link to the member's private page. See [Give each member a private page](https://ultimatemembershippro.com/docs/individual-page/).

`[ihc-register-lite]`Module: Register Lite

Short registration form with email only.

Good to know

- Forms for logged-out visitors ([ihc-register], [ihc-login-form]) are hidden once you're logged in. Test them in a private window.
- Attribute values replace the showcase settings only for that one shortcode. The other pages keep the showcase settings.
- Copy shortcodes with straight quotes. Some editors turn " into curly quotes, and attributes then stop working.

Tip

- Find a Membership's ID in Memberships, or in the Memberships Shortcodes table of the Shortcodes screen.

## Example: a pricing button on the home page

 **Coaching Club**A button on the home page sells the Annual Pass directly.

**Shortcode**
: [ihc-purchase-link id=3 item_class="cc-button"]Get the Annual Pass[/ihc-purchase-link]

**Logged-out visitor**
: Goes to the Register page with the Annual Pass selected

**Logged-in member**
: Goes to the checkout for the Annual Pass

## Troubleshooting

  Why does the shortcode show as plain text on the page?

WordPress didn't run it. Check the spelling, put it in a Shortcode block (not a Code or Preformatted block), and make sure the module it belongs to is on.

  Why is the registration or login form empty?

You're logged in. These forms are for visitors; open the page in a private window.

  Can I use the shortcodes in Elementor?

Yes, in [Elementor's Shortcode widget](https://elementor.com/help/shortcode-widget/). The plugin also has [its own Elementor widgets](https://ultimatemembershippro.com/docs/use-the-elementor-widgets/) for the main forms.

## What's next

 [**Set up the membership pages**Where the main shortcodes live.](https://ultimatemembershippro.com/docs/step-1-set-default-pages/)[**Hide part of a page (Inside Locker)**All options of [ihc-hide-content].](https://ultimatemembershippro.com/docs/how-to-set-an-inside-locker/)[**Override templates in your theme**Change what a shortcode prints.](https://ultimatemembershippro.com/docs/how-to-create-your-own-templates/)[**Hooks and filters reference**Extend the plugin from code.](https://ultimatemembershippro.com/docs/where-can-i-see-the-filters-and-hooks/)
