Archived topic
Query Loop Doubles results
5 replies · Started by andrea on March 22, 2023
Hello, I've created e query loop for a CPT on my website and I just noticing that it is giving back a double list of the posts. I mean the query works fine but it is simply duplicating it. As a result I get two identical post list one on top of the other.
Is it a bug maybe?
Template is monochrome (if that helps)
Link with image in private info field
Thanks!
Hi Andrea,
For reference, can you provide the link to the site in question and where we can observe the issue?
You may use the Private Information field for this: https://docs.generatepress.com/article/using-the-premium-support-forum/#private-information
Sure! just added in the private section
Hi there,
you have a Block Element - Content Template, with those you just build the 1 x content template. You don't add a query loop to them.
If you want to use the Query Loop then change the Block Elements type to a Loop Template.
Amazing! Thanks guys!
You're welcome