1. Home
  2. Knowledge Base
  3. Uncanny Groups for LearnDash
  4. Groups Block and Shortcode Quick Reference

Groups Block and Shortcode Quick Reference

Overview

Uncanny Groups for LearnDash adds its features to the WordPress editor in two ways: as Gutenberg blocks and as shortcodes. Most features offer both — use whichever you prefer:

  • Blocks are the easiest option in the block editor. Click the + inserter and search for the feature name, or browse the Uncanny Groups for LearnDash block category.
  • Shortcodes work anywhere shortcodes are supported — the Classic editor, widgets, page-builder text modules, and template files.

A handful of utility features (links, buttons, content restriction, and seat counts) are shortcode-only and have no block; these are marked accordingly below.

Use this page as a lookup reference. For full setup instructions, follow the links in each section and in Related Articles below.

Group management & registration

The core front-end experience for Group Leaders and the forms members use to join a group.

BlockShortcodeWhat it doesKey attributes
Group Management[uo_groups]The full Group Management page, where Group Leaders add/remove members, manage seats, and open reports. Place on a dedicated page.None required
Create Group[uo_groups_create_group]Front-end form that lets eligible users create a new group.See Front End Group Creation
Enrollment Key Registration[uo_groups_registration_form]Combined registration + enrollment-key form, for inviting new users to register and join a group in one step.None required
Enrollment Key Redemption[uo_groups_redemption_form]Single-field form for existing, logged-in users to redeem an enrollment key and join a group.None required
Shortcode only — no block[uo_groups_link text="Link Text"]A text link to the Group Management page, shown only to logged-in Group Leaders.text — link label
Group Management Link[uo_groups_button text="Button Text"]A button linking to the Group Management page, shown only to logged-in Group Leaders.text — button label

Reports & learner management

Front-end access to progress, quiz data, and grading — no WordPress admin access required for Group Leaders.

BlockShortcodeWhat it doesKey attributes
Course Report[uo_groups_course_report]Each member’s progress through assigned courses. Also reachable from the Group Management page.See Using the Group Reports
Quiz Report[uo_groups_quiz_report]Quiz attempts and scores for group members.See Using the Group Reports
Essay Report[uo_groups_essays]Lets Group Leaders review and grade submitted essay responses on the front end.See Front End Essay Question Management
Assignment Report[uo_groups_assignments]Lets Group Leaders review and grade submitted assignment files on the front end.See Front End Assignment Management
Progress Report[uo_groups_manage_progress]Lets Group Leaders and admins edit course/lesson completion for learners on the front end.See Manage Learner Progress

[Screenshot: The Course Report block rendered on the front end, showing member progress rows]

Selling courses

The purchase workflow that lets Group Leaders and new customers buy seats and create groups directly. Requires WooCommerce.

BlockShortcodeWhat it doesKey attributes
Buy Courses[uo_groups_buy_courses]A purchase page for buying course seats and creating a new group. Auto-generated only if WooCommerce was active when the plugin was activated; otherwise add the block/shortcode to a page yourself.product_cat, product_tag, min_qty, max_qty — see Enable Custom Group Licenses

[Screenshot: The Buy Courses block showing course selection and seat-quantity options]

Content restriction (shortcode only)

Show or hide content based on group membership or Group Leader role. These are shortcodes only — there are no matching blocks.Show or hide content based on group membership or Group Leader role. These are shortcodes only — there are no matching blocks.

ShortcodeWhat it doesKey attributes
[uo_groups_restrict_content user_groups="123,456"]Wraps content visible only to logged-in members of the listed groups. Admins always see it.user_groups — comma-separated group IDs (omit for members of any group)
[uo_groupleader_restrict_content user_groups="123,456"]Wraps content visible only to logged-in Group Leaders of the listed groups. Admins always see it.user_groups — comma-separated group IDs (optional)

Example — member-only content:

[uo_groups_restrict_content user_groups="42"]
This message is only visible to members of group 42.
[/uo_groups_restrict_content]

Seat displays (shortcode only)

Output dynamic seat counts for a specific group — handy on landing pages, confirmations, or dashboards. These are shortcodes only — there are no matching blocks.

ShortcodeWhat it doesKey attributes
[uo_group_seats_total id="123"]Outputs the total number of seats assigned to the group.id — group post ID (required)
[uo_group_seats_remaining id="123"]Outputs the number of seats still available in the group.id — group post ID (required)

To find a group’s ID, open it under LearnDash LMS > Groups — the ID appears in the page URL.

Example:

Your group has [uo_group_seats_total id="123"] total seats,
with [uo_group_seats_remaining id="123"] still available.

2 thoughts on “Groups Block and Shortcode Quick Reference”

    1. Hi Jeff,

      All shortcodes here are fully defined in other Knowledge Base articles in the Groups plugin. This page is just meant to capture all shortcodes because of some requests to show everything available in the plugin. In future we’ll consider adding links to the respective articles where they’re more fully defined in case you go straight to this page.

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top