Group Invitation Link
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.
This widget is registered only when the LifterLMS Groups add-on is installed and activated alongside Lifter Elements.
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
| Situation | Behaviour |
|---|---|
| The group has an open invitation link enabled | An <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 link | The 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 group | The widget renders nothing. |
| Use Current Group is Off and no Group is selected | The widget renders nothing. |
| Editor preview | The 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
| Setting | Description |
|---|---|
| Use Current Group | Yes (default) resolves the group from the post being viewed, for use in group page templates. No reveals the Group dropdown. |
| Group | Select the group to link to. Shown only when Use Current Group is No. |
| Button Text | The button label. Default Join Group. |
| Open in New Tab | Yes 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 Message | Optional 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
| Section | Description |
|---|---|
| Button | Typography 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
- The No Invitation Message is plain text; HTML is escaped.
- The Style controls target the button only. The No Invitation Message paragraph inherits your theme's paragraph styling; use the Custom CSS section on the Advanced tab to style it.
- Related: Groups List, Group Members, Group Page Course Card, Leave Group, Groups dynamic tags.