Group grid shortcode ([moderngroups])
Reign LearnDash Addon overviewPremiumGet Reign LearnDash Addon →
Also called: group grid, group list shortcode, show groups on a page, LearnDash groups shortcode, cohort grid, class list
What this does
Section titled “What this does”[modern_groups] prints a grid of LearnDash groups with the same cards as courses.
- Edit a page and add a Shortcode block.
- Enter the shortcode with the options you want:
[modern_groups template="soft" columns="3" per_page="9"]- Click Update.
Options that work on groups
Section titled “Options that work on groups”| Attribute | Default | Description |
|---|---|---|
template |
Your archive layout | classic, soft or catalog. |
per_page |
12 | Groups per page. 1 to 48. |
columns |
3 | Columns. 1 to 4. |
view |
grid |
grid or list. |
orderby |
date |
date, title, menu_order, comment_count or rand. |
order |
DESC |
ASC or DESC. |
show_filters |
yes |
no hides the filter bar. |
show_search |
yes |
no hides search. |
show_sorting |
yes |
no hides the sort menu. |
show_progress |
yes |
no hides member progress. |
pagination |
yes |
no hides page links. |
empty |
built-in text | Text when nothing matches. |
page_arg |
empty | Page by ?name=2. |
You’ll know it worked when
Section titled “You’ll know it worked when”The page shows a grid of group cards in the template you chose.
Good to know
Section titled “Good to know”What filters do groups have?
Section titled “What filters do groups have?”The filter bar on groups has Search, Sort and the Grid or list switch only, whatever the course filter bar shows.
Why does my category option do nothing on groups?
Section titled “Why does my category option do nothing on groups?”Course-only options such as category, tag, instructor, price_type, course_ids and enrolled do not filter groups. The 5.1.0 names categories, tags and instructor_id are accepted but have no effect on groups.

