Site logo

[Resolved] Remove posts from Archive in CPT

Home Forums Support [Resolved] Remove posts from Archive in CPT

Home Forums Support Remove posts from Archive in CPT

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2534429
    Rostyslav

    Hello!

    I have created a CPT, I added a Element<Block (Hook> inside a site container) with my own design (diplay: inside the CPTs Archive page). The question is: How can I remove the posts (that display automatically) from this Archive page (only remove post from CTP archive page)?

    I want to use my own disign for the CPT Archive page. I dont wont to crate separate static page because I want to diplay my desing inside the CPTs Archive slug.

    http://www.mywebsite.com/proyectos/proyecto-17

    The /proyectos/ is CPT ARCHIVE page slug and I would like to personalize from blank. The only way I found is adding a block element inside that page and removing the posts that wordpress displays below. But, I dont know how to remove them from displaying.

    #2534458
    David
    Staff
    Customer Support

    Hi there,

    if you use a Block Element – Loop Template, and inside that add a Query Loop block, you can set the Query Loop “inherit query from template” option. Then set the element to display on your archives.

    #2534512
    Rostyslav

    Thanks so much!

    #2535363
    David
    Staff
    Customer Support

    You’re welcome

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