1. Home
  2. Docs
  3. MemberDash
  4. Shortcodes
  5. [ms-membership-account]

[ms-membership-account]

The [ms-membership-account] shortcode displays a personalized My Account page for the currently logged-in user. This page can include:

  • Current membership details
  • Profile information
  • Invoices
  • Recent activity

Shortcode Attributes

You can customize the [ms-membership-account] shortcode using the optional attributes listed below. Each attribute is independent, so you can include only the ones you need.
Any attribute you leave out will use its default value automatically.

Membership Section

AttributeDescriptionDefaultExample
show_membership (yes | no)Display or hide the membership section.yes[ms-membership-account show_membership=”no”]
membership_titleCustom title for the membership section.Your Membership[ms-membership-account membership_title=”My Plans”]
show_membership_change (yes | no)Show a link to switch memberships.yes[ms-membership-account show_membership_change=”no”]
membership_change_labelText for the change-membership link.Change[ms-membership-account membership_change_label=”Switch Plan”]

Profile Section

AttributeDescriptionDefaultExample
show_profile
(yes | no)
Show or hide user profile details.yes[ms-membership-account show_profile=”no”]
profile_titleHeading for the profile section.Personal details[ms-membership-account profile_title=”Your Info”]
show_profile_change (yes | no)Show a link to edit profile info.yes[ms-membership-account show_profile_change=”no”]
profile_change_labelLabel for the edit profile link.Edit[ms-membership-account profile_change_label=”Update Info”]

Invoices Section

AttributeDescriptionDefaultExample
show_invoices
(yes | no)
Display recent invoices.yes[ms-membership-account show_invoices=”no”]
invoices_titleHeading for the invoices section.Invoices[ms-membership-account invoices_title=”Billing History”]
limit_invoices (number)Number of invoices to display.10[ms-membership-account limit_invoices=”5″]
show_all_invoices (yes | no)Show link to full invoice history.yes[ms-membership-account show_all_invoices=”no”]
invoices_details_labelText for the “View All” link.View all[ms-membership-account invoices_details_label=”Full Invoice List”]

Activity Section

AttributeDescriptionDefaultExample
show_activity
(yes | no)
Show recent user activity.yes[ms-membership-account show_activity=”no”]
activity_titleTitle for the activity section.Activities[ms-membership-account activity_title=”Recent Logins”]
limit_activities (number)Number of activity entries to show.10[ms-membership-account limit_activities=”3″]
show_all_activities (yes | no)Show link to full activity history.yes[ms-membership-account show_all_activities=”no”]
activity_details_labelLabel for the activity log link.View all[ms-membership-account activity_details_label=”Full Activity Log”]

Full Example

[ms-membership-account show_profile_change="no" profile_title="Your Info" show_activity="yes" limit_activities="3" activity_title="Last 3 Activities" activity_details_label="Full Log"]