advanced-query-loop icon indicating copy to clipboard operation
advanced-query-loop copied to clipboard

hide posts all ready show on page in other loop

Open pbearne opened this issue 2 years ago • 3 comments

pbearne avatar Jan 12 '23 16:01 pbearne

Hi @pbearne! Can you explain further what you mean by "other loop"? Is that the main query or another instance of this block?

ryanwelcher avatar Jan 12 '23 21:01 ryanwelcher

+1 for this feature. Let’s say you have a frontpage for a magazine- or a newssite. Often you would have multiple queries to present content in different context. But often these queries would overlap and posts would be displayed more than once, which wouldn’t be desirable.

So to have an option to bypass posts that have already been fetched by others queries on the same page would be incredible. (But quite difficult I imagine).

In effect an option like this would make Advanced Query Loop a more flexible (and better) version of Homepage Posts Block from Newspack.

Retrofitterdk avatar Jan 28 '23 16:01 Retrofitterdk

It took me a while, but I was 💯 sure, an issue exists. Maybe @ryanwelcher could help move https://github.com/WordPress/gutenberg/issues/40903 forward, which would solve this issue as well 😉

carstingaxion avatar Jun 04 '24 10:06 carstingaxion