1. Home
  2. Docs
  3. MemberDash
  4. MemberDash Shortcodes
  5. [ms-member-info]

[ms-member-info]

Displays details about the current member, like the members first name or a list of memberships he subscribed to

  • value (email|firstname|lastname|fullname|memberships|custom) Defines which value to display.
    A custom field can be set via the API (you find the API docs on the Advanced Settings tab) Default: “fullname”
  • default (Text) Default value to display when the defined field is empty Default: “”
  • before (Text) Display this text before the field value. Only used when the field is not empty Default: “<span>”
  • after (Text) Display this text after the field value. Only used when the field is not empty Default: “</span>”
  • custom_field (Text) Only relevant for the value custom. This is the name of the custom field to get Default: “”
  • list_separator (Text) Used when the field value is a list (i.e. Membership list or contents of a custom field) Default: “, “
  • list_before (Text) Used when the field value is a list (i.e. Membership list or contents of a custom field) Default: “”
  • list_after (Text) Used when the field value is a list (i.e. Membership list or contents of a custom field) Default: “”
  • user (User-ID) Use this to display data of any user. If not specified then the current user is displayed Default: 0

Example:

[ms-member-info value=”fullname” default=”(Guest)”]

[ms-member-info value=”memberships” default=”Sign up now!” list_separator=” | ” before=”Your Memberships: “]

Was this article helpful to you?

How can we help?