Front Page listing Titles for Four Custom Post Types Using Query Loop block
-
Hello,
I have four custom post types and I want to show their titles listed on the front page using the query loop block (or a custom query block) on the 2022 Block theme.
With wp_query I am able to do this in the 2021 theme but am not yet familiar with block themes and the query loop block, which seems to only allow listing of one post type.
The other three custom post types are visible in the dropdown in the query loop block after using ‘show_in_rest’ => true, when registering the post type…just can’t select multiple post types.
If someone can point me in the right direction, that would be great. Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Front Page listing Titles for Four Custom Post Types Using Query Loop block’ is closed to new replies.