Skip to main content

User Memberships

User Memberships​

Lists the LifterLMS memberships the logged-in visitor is enrolled in, printed with LifterLMS's own My Memberships dashboard template. It differs from the Memberships List widget, which is the public catalog of every published membership regardless of who is viewing. The widget calls LifterLMS's dashboard template directly, so it needs only Elementor Core.

User Memberships widget listing the visitor's memberships as LifterLMS cards

Usage​

Custom account dashboard — Place the widget on an Elementor-built account page next to the User Courses widget so members see what they belong to without loading the full User Dashboard widget.

Dashboard summary with a link to the full list — Set Type to Display only recent memberships to show one row of the visitor's most recently joined memberships under a My Memberships heading, with a View All My Memberships button that links to the LifterLMS My Memberships account endpoint.

Members-only page with an upsell — Pair it with the Memberships List widget: this widget shows what the visitor already holds, the catalog shows what they can still join. Use Conditional Logic on either widget to show it only to logged-in or logged-out visitors.

How it works​

Display all the memberships hands the visitor's enrollments to LifterLMS's lifterlms_template_student_dashboard_my_memberships() template: every published membership, sorted by title, on one page with no pagination. Display only recent memberships asks LifterLMS for the visitor's most recently joined active memberships, newest first, and prints one row of them (three by default, LifterLMS's loop column count) with the same cards, under the My Memberships heading and the View All My Memberships link. Cards are LifterLMS's standard loop items (featured image and title, plus the visitor's enrollment status and enrollment date). The Style tab styles that markup; LifterLMS's dashboard styles and your theme's still apply underneath.

SituationBehaviour
Visitor is logged outNothing is rendered: no wrapper, no message. Use Conditional Logic to show a Login Form or a message in its place.
Logged in with no membershipsThe LifterLMS notice "You are not enrolled in any memberships." is printed inside the section (filterable with lifterlms_dashboard_memberships_not_enrolled_text).
Membership is unpublishedEnrollments in draft or private memberships are skipped; only published memberships are listed.
View All My Memberships buttonShown only with Display only recent memberships and only when the My Memberships endpoint is enabled under LifterLMS > Settings > Accounts.
In the Elementor editorThe preview is rendered server-side for the user editing the page, so it shows your own memberships, not a sample.

Settings​

Content

SettingDescription
TypeDisplay all the memberships (default) prints the bare list of the visitor's memberships with no heading. Display only recent memberships prints one row of the visitor's most recently joined memberships, newest first, with a My Memberships heading above the cards and a View All My Memberships button below them, linking to the visitor's LifterLMS account page. The panel describes it as Recent shows one row of the student's recently joined memberships.

Style — Card

SettingDescription
Background ColorBackground of each membership card.
Border / Border Radius / Box ShadowElementor's border, corner-rounding and shadow controls for the card.
PaddingInner spacing of the card content, in px, em or %, per device.
Gap Between CardsSpace between the cards in the grid, in px or em, per device.

Style — Thumbnail

SettingDescription
HeightHeight of the membership's featured image, in px, em or vh, per device; the image is scaled to fill the card width.
Object FitHow the image scales inside that height: Default, Contain, Cover or Fill.

Style — Title

SettingDescription
TypographyFont settings for the membership title.
Color / Hover ColorTitle colour in its normal and hovered states.

Style — Meta

SettingDescription
Typography / ColorFont settings and colour of the lines under the title: author, enrollment status and date.

Advanced

The Advanced tab holds Elementor's own layout, motion, responsive and custom-CSS controls; see Elementor's documentation. Lifter Elements adds one section, Conditional Logic, which shows or hides this widget by the visitor's LifterLMS status; see the Conditional Logic reference.

Notes​

  • Output is wrapped in LifterLMS's llms-sd-section llms-my-memberships section, and the cards carry the llms-loop and llms-loop-item classes. The Style tab styles that markup, so CSS written for the LifterLMS student dashboard still applies underneath your settings. The My Memberships heading and View All button of the recent-memberships layout are not covered by the Style tab.
  • The equivalent for courses is the User Courses widget; the User Dashboard widget embeds the whole LifterLMS dashboard, memberships included.
  • Related: Memberships List, User Courses, User Dashboard.