LearnDash MemberDash Shortcodes
MemberDash shortcodes are versatile tools that allow you to insert dynamic membership functionality into any post, page, or widget on your WordPress site. By using these small snippets of code, you can display personalized account information, registration buttons, and protected content messages without needing to write custom PHP. This flexibility empowers you to build a highly interactive and user-friendly membership experience that adapts to each visitor’s status.
With MemberDash’s extensive library of shortcodes, you can easily create a comprehensive “My Account” area, display invoices directly to members, or add “Buy Now” buttons for specific membership tiers. You can also customize the user journey by adding logout links with specific redirects or showing “Thank You” messages after a successful signup. These shortcodes often come with various parameters, allowing you to fine-tune the appearance and behavior of each element to match your site’s design and workflow perfectly.
LearnDash MemberDash Shortcodes
Browse the shortcode implementation guides and layout placement tutorials listed below to deploy custom member forms, build user dashboards, and resolve shortcode rendering errors.
[ms-invoice]
Read more: [ms-invoice]The [ms-invoice] shortcode displays an invoice to a user. This shortcode is only useful for showing invoices to their recipients — it cannot be used to display invoices for other members. Parameters Example Display an invoice with ID 123: Conclusion The [ms-invoice] shortcode provides a way to display invoices directly to the recipient, with the…
[ms-member-info]
Read more: [ms-member-info]The [ms-member-info] shortcode displays details about the current member. It can show profile information such as name or email, or list the memberships a user belongs to. It can also display custom fields when defined through the API. Parameters Examples: Was this article helpful? Yes No Thank you for your input. Thank you for your…
[ms-membership-account-link]
Read more: [ms-membership-account-link]Inserts a simple link to the Account page label (Text) The contents of the link Default: “Visit your account page for more information” Example: Manage subscriptions in [ms-membership-account-link label=”your Account”] Was this article helpful? Yes No Thank you for your input. Thank you for your feedback.
[ms-membership-account]
Read more: [ms-membership-account]The [ms-membership-account] shortcode displays a personalized My Account page for the currently logged-in user. This page can include: Important: This shortcode does not display anything for visitors who are not logged in, but it will automatically display a login form instead. Shortcode Attributes You can customize the [ms-membership-account] shortcode using the optional attributes listed below.…
[ms-membership-buy]
Read more: [ms-membership-buy]Displays a button to buy/sign-up for the specified membership Examples: Was this article helpful? Yes No Thank you for your input. Thank you for your feedback.
[ms-membership-details]
Read more: [ms-membership-details]The [ms-membership-details] shortcode displays the description of a specific membership. Attributes The [ms-membership-details] shortcode has the following attributes Attribute Description Default Value Id (required) Membership ID. It is used to detect the membership None label Label for text displayed before Membership description Membership details Examples: Shortcode output: Was this article helpful? Yes No Thank you…
[ms-membership-login]
Read more: [ms-membership-login]Displays the login/lost-password form, or for logged in users a logout link Common options More options Options only for form=”login” Options only for form=”lost” Examples: Was this article helpful? Yes No Thank you for your input. Thank you for your feedback.
[ms-membership-logout]
Read more: [ms-membership-logout]Displays a logout link. When the user is not logged in then the shortcode will return an empty string Common options redirect (URL) The page to display after the user was logged out Default: “http://learndash.lndo.site/” More options holder Wrapper element (div, span, p) Default: “div” holder_class Class for the wrapper Default: “ms-logout-form” Example: [ms-membership-logout] Was this article helpful? Yes No Thank…