Archived topic
Custom Homepage: Display posts from every category separated
1 reply · Started by Damian on September 10, 2022
Hi,
I'd like to make a custom homepage with the latest posts but from specified categories.
Now the page looks like this:
Homepage
Latest Posts
<Posts list>
Page 1,2,3 etc
I want it to look like
Homepage
Category 1
Latests posts from category 1
Category 2
Latest posts from category 2
etc. I choose the number of posts. How can I achieve this?
Hi there,
you would need to use a Static Page for your home page.
And then create your various lists using the GenerateBlocks Query Loop block:
https://docs.generateblocks.com/article/query-loop-overview/
There are some pre-made patterns you can use found here ( or if you're a GenerateBlocks Pro user they're also in the Patten Librart ):
https://generateblocks.com/library/?pattern-category=query-loop