Skip to content

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

[modern_groups] prints a grid of LearnDash groups with the same cards as courses.

  1. Edit a page and add a Shortcode block.
  2. Enter the shortcode with the options you want:
[modern_groups template="soft" columns="3" per_page="9"]
  1. Click Update.
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.

The page shows a grid of group cards in the template you chose.

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.