The post-type dropdown in the Query Loop block is populated with data from the REST API endpoint:
/wp-json/wp/v2/types
so we have to make sure the public custom post type is registered with show_in_rest
as true
for it to be included within that data.
Related Posts:
- Advanced search form with filters for custom taxonomies and custom fields
- Show Custom Taxonomy Inside Custom Menu
- Why does a custom post type need the ”hierarchical’ args setting?
- WordPress REST Create Post of Custom Type
- How to hook into the CPT’s title placeholder?
- Created a custom post type- can’t view it
- Merging two Custom Post Types into one
- Permalink rewrite with custom post type and custom taxonomy
- Use standard WordPress categories with a CPT
- remove_action conditionally for Custom Post Type
- Set post to draft after set period based on post_modified date
- WordPress custom post action hook
- WP_Query pagination using only numbers instead of /page/1 on URL
- How do I set the content for a post of a particular CPT?
- Uploaded image not appearing in custom post type
- Custom Post Types – Titles as Taxonomies
- Custom post metadata not appearing in public API
- Using pre_get_posts to Filter Posts
- Parent page using wp_dropdown_pages and multiple post types
- Query for custom post type objects in a taxonomy and with a meta value
- Get post type from taxonomy or category page
- get_categories() for only CPT
- Is it possible to create a post using a metabox?
- How can I get_post_meta() in the most efficient way?
- Custom Post Type – Display Categories & Tags In Dashboard list
- right_now_content_table_end function not working?
- Publish an XML feed from a CPT with ACF fields?
- Display CPT posts based on specific taxonomy
- How to retain $_POST data when submitting form to custom page
- Add predefined/default values to custom post plugin
- Hide editor while keeping add media button in custom post type
- dynamically add a custom field or metabox to custom post type [duplicate]
- Taxonomy custom post type URL
- WordPress post_where & posts_join not working only for custom post type
- How do I display the taxonomy for a custom post type in an array
- Prioritize posts in query by meta keys?
- Homepage’s content is dependent on the custom field values (set automatically), how do I get homepage to update without manually updating page?
- Lists custom taxonomy terms that has specific custom field value assigned to the term (not post)
- Possible to filter custom post type with multiple meta data?
- Best way to organize book-page structure
- Adding custom image sizes and post types to a plugin or to a theme?
- Get url.com/post_type/taxonomy/term work!
- How does the filter post_updated_messages work?
- Three Most Recent Posts, One Per Term
- How to show only the most recent post on my custom post type archive?
- WordPress search and date filter not working with custom post type
- Excluding a Custom Post Type with a specific tag using pre_get_posts
- Inefficient Query Confusion
- Display an icon based on post type
- SEO Concerns With Rewrite Rules
- WordPress custom post type and taxonomies
- Display Custom Post Types Glossary
- How to fetch custom post types with its full data on wordpress?
- What is the correct term for a tool that filters content based on metadata?
- Taxonomies exists – but not showing up
- Easiest way to have closed comments on a custom post type
- Find Posts based on Child Post value
- Limit Amount of Pages users can create in Custom Post Types
- WP 3.1 custom post type permlinks
- Showing only posts from the current user who is logged in?
- How to display “Trash” in my custom post type?
- Add a form in every post and save data in post meta
- automatically select taxonomy based on post meta
- Query custom post type that has a serialized relational advanced custom field value
- Need help with Custom Taxonomy + Custom Post Type
- URL for archive of custom post type with 2 taxonomy terms
- How can I query and sort custom-post type using WP_Query
- Cannot save pages after migration
- WordPress doesn’t respect Page slug in custom post type url pagination. Keeps getting removed
- Send mail to author when custom post type is saved
- Why custom post redirecting to index page?
- Getting Custom Posts with Custom Taxonomy
- Error get_posts with Custom Taxonomy and OR relation
- Custom Field as Custom Post type element class
- Limit or filter edit view in the dashboard to a specific ID only?
- Show custom user count in wordpress admin for Published
- Custom post type doesn’t display on admin list
- current_menu_parent for custom post type and custom url
- Pagination in custom post type page template
- Can you get the themes options page to turn on/off which custom post types are registered?
- WordPress not auto saving custom posts
- WordPress nested loop not working
- Order by custom field attribute
- Custom Post Type Author Array Problem
- Front end Submit not posting to Custom Post type
- next_posts_link returns same content of 1st page
- Custom post type and custom taxonomy archive inaccessible
- Check in function on custom page
- and custom post_types to custom menu
- Calling Custom Post Meta
- How to add post of custom type to a category with custom type capabilities
- Change permalinks for posts but not custom post type?
- Are there established patterns for developing custom post types?
- How to sort custom post type by multiple custom fields?
- Display all child posts in a custom post type, grouped by a custom taxonomy site
- Multiple custom post type in URL
- Custom Gutenberg block problem – This block has encountered an error and cannot be previewed
- Comments not working (error not allowed) on posts with custom post status
- Change post-name when inserting new Post if Specific Category is selected in WP
- Get a custom post type’s taxonomy type term names displayed as checkboxes and filter