Manyof these shortcodes need context to understand what they do and how they should be used. So you should go through all the individual documentation from our documentation page to get the full picture.
The following shortcode is useful to allow your members to upgrade their account for free. Note: To use this shortcode you will need the Misc Shortcode Addon. The second shortcode shows how you can then redirect the member to a specific page.
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. If you are using the Block Editor, you can swap the shortcodes on these pages with their related block.
These shortcodes are currently available as premium code recipes or Add Ons. The shortcode function needs to be included in a plugin for PMPro Customizations (not included in the main Paid Memberships Pro plugin).
Our plugin's code is not obfuscated, runs on as many sites as you want and can be customized to fit your project's needs. We just ask that you follow the GPLv2 guidelines by applying the GPLv2 license to any altered or unaltered version of PMPro that you distribute. License Details
Shortcodes are small placeholders you can insert almost anywhere within your WordPress page and post content. When the page is viewed by a visitor, those placeholders get processed and replaced with some dynamically generated content instead. For example, you might have a shortcode that will show the currently logged in user their first name. A shortcode might look like:
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.
Also, keep in mind that MemberPress custom field data can be collected only on the Account or membership registration pages. The shortcode added to your custom pages will not display any custom fields you added to your forms.
The above two shortcodes are both identical. They show login or logout links based on the current user's logged-in status. The login link will direct the user to the MemberPress login page where they can log in. The logout link will log the user out and redirect them to the Logout Redirect URL you have set on your MemberPress Settings page.
Shows a link to view/download the file uploaded by a user. Replace mepr_slug with the slug of the custom field from your MemberPress > Settings > Fields tab. If you omit user_id, it will show the file for the currently logged-in user; otherwise, it will show the file for the user you specified by user_id.
You don't have to put the closing shortcode tag, but if you do, any text between them will be used as the link text for the file.
Shows the members' currently active membership names. If no userid is present, then it'll default to the current member. If the member has more than one active membership, the names will be separated by a comma. Since the MemberPress 1.9.38 version, we introduced an optional message attribute. It can be used when you want to display a custom message when a user doesn't have any active subscriptions. If you leave it empty, the shortcode will not display any message.
Shows the unauthorized message wherever this is placed. If you've set MemberPress up to redirect unauthorized visitors to a specific URL, then we recommend using this shortcode on that unauthorized page.
Used to show or hide content on pages throughout your site. This shortcode supports the following parameters (parameters marked with * are required. Only one parameter in red below can be applied per shortcode):
Helpful if you want to place content above and below the group pricing boxes. If you're using this on the Group page itself, there's no need to specify a group_id. If you want to use it elsewhere on your site, you will need the group_id attribute on it.
You can use this shortcode on any WordPress page, post, or custom post type to display the membership registration form of a specific membership. Simply replace 123 with your own membership's unique ID. Where to find a Membership ID?
This shortcode can ONLY be used on the thank you page or in custom thank you page messages. It does not work anywhere else.
It supports the following %%variables%%, which are automatically replaced with values from the purchase.
Ultimate Member simplifies the integration of dynamic forms into WordPress pages and posts through the use of WordPress shortcodes. Ultimate Member boasts an array of shortcodes designed to seamlessly display different components of the plugin, including user profiles, registration forms, and more.
The shortcode facilitating the integration of the account form is [ultimatemember_account]. Users can further customize their experience by showcasing specific account tabs through [ultimatemember_account tab="tab id"], as exemplified by [ultimatemember_account tab="password"]. The tab id, representing the section displayed in the URL (e.g., /account/general), allows users to seamlessly navigate between different account tabs.
To enhance member directory functionality, administrators can incorporate shortcodes for member directories effortlessly. These specific shortcodes are conveniently located in the WordPress admin interface under Ultimate Member > Member Directories, providing a seamless way to manage and display member directories on the website.
Hmmmm you are right.
On my levels page I just have a container and a shortcode element in Bricks.
The page shows as Edit with Bricks.
I do not have Load/Save Gturd data settings enabled in Bricks.
It works.
@itchycode So what would be needed to get the Bricks elements to display the PMP shortcodes so they can be used inline? Does PMP need to create an integration to make the output from their shortcodes available as dynamic Bricks data?
In further testing, I have just installed a basic Wordpress theme, and the plugin shortcodes work as expected so there is definitely something broken within Bricks 1.7 that stops these shortcodes from rendering.
Would you be so kind as to send temporary login credentials, a screencast showing and explaining the issue, and a link to this thread to
he...@bricksbuilder.io using the email address you used during the purchase?
Your members are more likely to enjoy themselves and get more out of their membership if it's a personalized experience. You have the power to do this easily using available WishList Member mergecodes and shortcodes.
This can include displaying the member's name on the Welcome page or listing their membership levels on the Dashboard page. Showing content or information specific to each member helps create a feeling of comfort within your site.
These quick examples are just a sample of what can be done with mergecodes and shortcodes. More options and examples are included below. For instance, you can also decide to show content only to logged in members and different content to anyone not logged in. There are also codes that can be used to insert a login form or registration form onto any page or post.
WishList Member mergecodes or shortcodes can be inserted into a page or post by using the blue WishList Member mergecodes or shortcodes inserter in the Classic Block in the WordPress Gutenberg editor.
Shortcodes are small placeholders you can insert almost anywhere within your WordPress page and post content. When the page is viewed by a visitor, those placeholders get processed and replaced with some dynamically generated content instead. For example, you might have a shortcode that will show the currently logged in user their first name. A shortcode might look like [mepr-account-info field="first_name"]. When the page that shortcode is on gets viewed by a logged-in user named John Doe. The page would show John in the content where that shortcode had been placed.
Since MemberPress 1.9.28 version we introduced an optional status attribute. When you remove status like this: [mepr-list-subscriptions] or set it to "all" as you can see above, it will display default current's active and inactive subscriptions. When you set status to "active": [mepr-list-subscriptions status="active"] and you will see current user's active subscriptions. You can also display current user's inactive subscriptions by using "expired" status: [mepr-list-subscriptions status="expired"].
The subscriptions list can be sorted by date: [mepr-list-subscriptions orderby="date"] or title: [mepr-list-subscriptions orderby="title"]. They can be sorted in ascending: [mepr-list-subscriptions orderby="title" order="asc"] or descending order: [mepr-list-subscriptions orderby="title" order="desc"]
[mepr-login-form use_redirect="true"]
Shows a login form on a page or post. It 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.
[mepr-user-file slug="mepr_slug" user_id=""]Link Text[/mepr-user-file]
Shows a link to view/download the file uploaded by a user. Replace mepr_slug with the slug of the custom field from your MemberPress > Settings > Fields tab. If you omit user_id, it will show the file for the currently logged in user; otherwise it will show the file for the user you specified by user_id.
You don't have to put the closing shortcode tag, but if you do, any text between them will be used as the link text for the file.
3a8082e126