Split blogposts by category

hi,
I have a blog with different categories, on the blog page I have different sections. In each section only the respective category should be displayed.

Like this:

  • Section A (Category A)
    • Blog-Teaser 1 (Category A)
    • Blog-Teaser 2 (Category A)
  • Section B (Category B)
    • Blog-Teaser 1 (Category B)
    • Blog-Teaser 2 (Category B)

Anyone have an idea how I could implement this? Thank you :slight_smile:

There is an article in the cookbook that should be helpful

A (maybe better) alternative to filtering each set separately, would be to group all articles by category and render a section per group:

1 Like

Hi, thank you very much.
I solved it with Grouping collections.