Skip to content

Query Loop Block: Adding Multiple Query Loop Blocks with the option to not repeat posts already shown by previous Query Loop on same page #40903

@filipanoscampos

Description

@filipanoscampos

What problem does this address?

I have recently been playing around a lot with FSE and the Query Loop Block and became somewhat frustrated when trying to go wilder and add more than one Query loop Block to show my posts with different styles.

What is your proposed solution?

At the moment we can add multiple Query Loop Blocks and style them separately but, if they all follow the same settings, they will show the same posts.

It would be interesting if there was an option to not repeat posts that are already shown by previously added Query Loop Blocks.

This is possible for example, with the Post Carousel Block and the Blog Post Block, which never show repeated posts.

Yet, in the case of the Query Loop, I believe it would make sense to have this set up as an option.

This would allow users to create more adventurous styles for their websites.
For example, I built this example by manually choosing settings until I got the desired result:

Screenshot 2022-05-07 at 12 44 50

Which isn't a practical approach for websites with a large number of posts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions