Site logo

[Support request] How to build Archive Page with Generate Elements

Home Forums Support [Support request] How to build Archive Page with Generate Elements

Home Forums Support How to build Archive Page with Generate Elements

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #2290116
    Satori

    Hi, I am trying to make a template for archive pages with GeneratePress Elements and GenerateBlocks.

    I am using Block – Content Template for the archive template.

    What I want is to use the GenerateBlocks query loop and give it these styles: https://nodstrike.com/basics/

    But apparently when using the query loop this is duplicated for each post that exists, understanding that I should create the template for a post without using the query loop.
    This is the result I got: https://danielr193.sg-host.com/basics/

    So my question is what is the best way to create an archive page with GeneratePress elements and GenerateBlocks?

    #2290130
    Fernando
    Customer Support

    Hi Satori,

    The best approach to design an archive page would be to use a Content Template – Block Element.

    Here’s an article for more information regarding it: https://docs.generatepress.com/article/block-element-content-template/

    There are a couple of sample videos in the article showing how to create one with GenerateBlocks.

    You shouldn’t use a Query loop block within a Content template because it will result in a loop with a loop causing duplicates..

    Hope this clarifies!

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.