[Resolved] Archive for JetEngine Help

Home Forums Support [Resolved] Archive for JetEngine Help

Home Forums Support Archive for JetEngine Help

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2326553
    Kevin

    I am trying to create a custom archive page for a CPT in Jetengine.

    I created a block element, used content type and set the location to the archive of that CPT.
    I created a layout using the listing grid block from jetengine
    Added a button to load more on click.

    When viewing the page, I see the listing grid, however, it is repeating. For instance, if I set the grid to display 3 posts, it will just show those posts, repeating down the page. I attached some screenshots that show what I mean. Pretty sure this may not be the right way to do this.

    https://ibb.co/6bTFnLZ
    https://ibb.co/y8209y4
    https://ibb.co/R3BvBHN

    #2326559
    Ying
    Staff
    Customer Support

    Hi Kevin,

    1. Do NOT add Grid to the content template, there should only be 1 post in the content template.

    Please watch the video in the below link for a better understanding of the content template.
    https://docs.generatepress.com/article/block-element-content-template/

    2. You can activate the columns layout for CPT archive using this code?
    https://docs.generatepress.com/article/using-columns-in-the-blog/#adding-columns-to-your-custom-post-type

    #2326561
    Kevin

    So it seems the listing grid block from crocoblock is useless then? It’s the only block that works with the filter block that they provide for jetengine.

    #2326570
    Kevin

    even if I do a basic text, it just repeats.

    [url=https://ibb.co/3hpj10H][img]https://i.ibb.co/j4yQhLF/4.jpg[/img][/url]

    #2326575
    Ying
    Staff
    Customer Support

    So it seems the listing grid block from crocoblock is useless then?

    That kind of block is generating a query loop, it can be added to a static page to add posts, but not as a template.

    even if I do a basic text, it just repeats.

    Yes, each test text is representing a post. Did you check the video? The content template needs to be built with GenerateBlocks plugin.

    #2327006
    Kevin

    I get it now. So basically, I just need to create a simple, basic archive page for that cpt, then create the fancy stuff in the static page. Simple enough lol. THanks, Ying for the assistance!

    #2327451
    Ying
    Staff
    Customer Support

    I just need to create a simple, basic archive page for that cpt,

    You can create a fancy content template for the CPT archive using GenerateBlocks plugin.

    hen create the fancy stuff in the static page

    A static page is where you use the query loop kind of blocks 🙂 GenerateBlocks plugin also has query loop blocks, similar to the plugin you are using right now.

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