Archived topic
query loop with custom post type
2 replies · Started by Torsten on July 9, 2022
Hi,
i have GenerateBlocks 1.5.2 und GP Premium 2.1.2 installed.
When I create a QueryLoop block selecting the "blank layout" it creates a QueryLoop block, which contains a PostTemplate block, which itself contains a Container block.
I can't add anything to this container block.
When I choose one of the given predefined QueryLoop layouts it creates the respective structure with PostTemplate, Container, PostTitle etc.
I then can change this only when I select on QueryLoop block "Pages" as Post type. I can't change anything when I select "Posts" or my custom post type.
I am just a beginner and I assume I am missing something very basic, but after hours of reading the forum...I am still lost.
OMG, sorry, I found the problem.
All my custom posts where still in Draft, not yet published.
After publishing them it all works like a charm.
Glad to hear :)