Membership tests

Shows a link to the Account page in MemberPress. Can be used on any page or post.

[mepr-account-link]


Shows the user account information form. This typically isn’t used, unless you want to show account information somewhere besides the MemberPress Account page that exists by default. This can also be useful for folks using WPML who create separate account pages for each language.

[mepr-account-form]


Logout link
[mepr-logout-link]

Login link
[mepr-login-link]

 

Shows a login form on a page or post. Can be used anywhere. When use_redirect = true, MemberPress will redirect the user to the login redirect URL setting located in the MemberPress Settings page.

True

[mepr-login-form use_redirect=”true”]

False

[mepr-login-form use_redirect=”false”]


Displays the user meta field which is chosen by “slug”

[mepr-account-info field=”slug”]


Showing content

[mepr-show]Content to show in here[/mepr-show]


Hiding content

[mepr-hide]Content to hide in here[/mepr-hide]


Both shortcodes above support if=”X” attribute, where “X” can be “loggedin” or “loggedout”. Both shortcodes work on whether the user is logged in or logged out, and does not care what, if any, Memberships the user has purchased.

Examples of this could be:

[mepr-show if=”loggedin”]You’re logged in, congratulations![/mepr-show]

[mepr-show if=”loggedout”]You’re now logged out! [mepr-login-link][/mepr-show].

 

[mepr-membership-registration-form id="20675"]

 

SAFe Competency Download

[mpdl-file-link file_id=21119]

 

Ready to get started?

Our team of business agility experts are here to help

Contact us

Discover new insights

I’m a product owner not a feature... By Paul Grew

Read More