Skip to main content

Group Invitation Link

Renders a button that links to a LifterLMS Group's open invitation URL. Anyone who clicks the button — including visitors not yet enrolled — can join the group as a member. The widget sits under the Lifter Elements - Groups category in the Elementor widget panel.

Requires LifterLMS Groups

This widget is registered only when the LifterLMS Groups add-on is installed and activated alongside Lifter Elements.

Lifter Elements Group Invitation Link widget rendered as a Join Group button

Usage

Join button on a group page template — Place the widget in a Templates > Theme Builder single template for the group post type with Use Current Group left on Yes. Every group page then shows its own join button without further setup.

Promote one group from any page — Set Use Current Group to No and pick a group under Group to show a join button for a specific group on a landing page, a course sidebar or a membership page.

Explain a closed invitation — Enter a No Invitation Message such as "Invitations are temporarily closed." so visitors see why there is no button when the group's open invitation link is disabled.

Custom link or text instead of a button — Use the Group Invitation Link dynamic tag to feed the URL into any Elementor link field.

How it works

SituationBehaviour
The group has an open invitation link enabledAn <a> element with the class legi-group-button renders, linking to the group's invitation accept URL and showing the Button Text.
The group has no open invitation linkThe No Invitation Message renders in a <p> element in place of the button. If that field is empty, the widget renders nothing.
Use Current Group is On but the current post is not a groupThe widget renders nothing.
Use Current Group is Off and no Group is selectedThe widget renders nothing.
Editor previewThe widget has no live editor template; it renders through the server on each editor refresh and on the front end.

The open invitation link itself is managed by LifterLMS Groups on the group's members screen — see LifterLMS's Groups documentation.

Settings

Content

SettingDescription
Use Current GroupYes (default) resolves the group from the post being viewed, for use in group page templates. No reveals the Group dropdown.
GroupSelect the group to link to. Shown only when Use Current Group is No.
Button TextThe button label. Default Join Group.
Open in New TabYes opens the invitation URL in a new browser tab (target="_blank" with rel="noopener noreferrer"). No (default) opens it in the same tab.
No Invitation MessageOptional text shown instead of the button when the group has no open invitation link. Empty by default, which hides the widget in that state.

Style

SectionDescription
ButtonTypography for the button label; Text Color and Background Color with separate Normal and Hover tabs; Border, Border Radius (px or %) and Padding (px or em). All apply to the .legi-group-button element.

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