You can display posts grouped under their categories or terms — for example, a list of products organized by product category.
- Enable the Group By option on the list. The available choices change automatically based on the selected post type — if it supports categories or tags, you’ll see them here.
- Add the
[groups]shortcode to your template to output each group’s heading and the posts within it.
Inside the group template you can use group tags such as [group_title] and [group_url] to render each group’s information.
