-
Hi guys,
On my blog page I built a custom layout with elements. The posts are now showing twice. This is a dev site and the cache is not enabled. I’ve added a screenshot of the elements on the page too. https://prnt.sc/d51hO-A8fOzl
Thanks,
Orlaith -
Hi there,
you have a Block Element – Content Template, with a Query Loop Block inside it, so you’re display your Loop inside the themes loop.
Option 1 – using a Query Loop block
Change the Block Element – Content Template to a Loop Template.
Option 2 – use a content template
Keep the Content Template
Delete the Query Loop block
And in its place build the individual template for your postshttps://docs.generatepress.com/article/block-element-content-template/
-
thank you, I went with option 1 and that worked perfectly. Have a lovely day 🙂
-
Glad to be of help
- You must be logged in to reply to this topic.