Skip to main content

9.4 Shortcodes

MemberDash provides one shortcode and one override of a LearnDash shortcode.

Outputs a link/button to a groups page.

AttributeDefaultDescription
titleGo to groupThe link's title attribute
url/groupsThe link target
target(same tab)Set to blank to open in a new tab
textGo to groupThe visible link text

Example: [membersync_groups_link_shortcode text="My Groups" url="/my-groups" target="blank"]

[ld_infobar] enhancement

MemberDash augments LearnDash's built-in [ld_infobar] shortcode: when the viewer is the owner or manager of a synced team, the infobar shows a "manage your team" callout linking to the team area instead of the default output. For everyone else, the standard [ld_infobar] is unchanged.

Requires the Teams add-on

The [ld_infobar] enhancement only applies when Teams for WooCommerce Memberships is active and the group is synced to a team.