Have you tried with “post_status” instead of “status” as documentation says: https://developer.wordpress.org/reference/classes/wp_query/#status-parameters ?
Related Posts:
- Retrieving 3 latest post from each of 5 different custom post types
- Query for posts in 2 taxonomies
- How to get current post id of a custom post type in a loop using template singel-{custom type}.php?
- ‘category__and’ for custom taxonomy?
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- How to dynamically build a multiple taxonomy query loop within a post type’s single loop?
- How to insert content from another Custom Post type into Post?
- Change or update WordPress loop based on dropdown selection
- Show a Category X’s custom post type on Category X archive page?
- Listing all term items alphabetically / sorting loop
- pagination not working for category.php (custom post types in categories)
- 3 random images from custom post type, each in a div with a diffrent class
- Control content before and after custom post type loop
- Pagination not working on custom query on a page
- postsperpage value not being applied
- Query all post types but limit to parents
- Custom Post type showing up in loop, regular posts are not showing up
- Custom Post Type Query W/Category Dropdown
- Custom Post Types Not Showing Up In query_posts Result
- Can I show some specific post rather than latest post?
- display news with pictures 3 small and one large (loop)
- How do I correctly query posts from a post ID?
- How to exclude certain portfolios from a loop
- Render a loop in Timber (twig for WordPress)
- show custom post’s post in two different divs [duplicate]
- Display all posts in a custom post type, grouped by a custom taxonomy
- How to get post content by calling ajax?
- Display a query with multiple post types and same relationship on a single page
- Order by & include array by specific post ids
- How to call a custom post with get_posts() instead of query_posts()?
- how to group custom post type posts by custom taxonomy terms
- Newer/Older posts links display same posts on every page
- How to solve suspected memory issue in custom WordPress loop?
- Query post types with multiple keys
- Problems excluding a custom post-type from the loop
- Get permalink and title by post name?
- Get all posts WHERE custom_field is LIKE value
- Conditionally Query Custom Post Types by Post Meta for Blog Home Page?
- reference the current category being used in the category.php page
- Custom Post Type not visible on category page
- Loop on front-page.php
- Custom Post Type Taxonomies -Posts not showing in Category or Tag pages
- Creating Multiple Loops in Genesis, One Post then 20, each with custom fields
- Loop through Custom Post Type, and then show children within each iteration
- Am unable to reset a query properly
- Archive for custom taxonomy lists all posts instead of current taxonomy
- Get next and previous 3 posts in a term in single post page
- child of post type (custom)
- will post_id ever change? Can I safely use post_id for custom queries?
- Custom Post Type Query for Sidebar Doesn’t Work on Front Page
- Best way to style first post differently?
- Posts per row on archive page (custom post type)
- Only show posts with date of today or in the future (i.e don’t show past posts)?
- WordPress Loop if/else
- WP Query post__in not returning correct results
- Pagination Error : Duplicate argument being outputted
- Custon Content within WordPress Loop
- get_post_meta is not working inside shortcode
- Create Array from custom post type to display a slider
- post-per-page and offset not working
- get_pagination not working on a custom post type query (using WP_Query)
- How to Make infinite loop of post
- Getting all ID’s matching a title in a custom post type
- WP_Query with custom post type ID
- Custom Post Type not showing in main loop
- My custom taxonomy is only displaying 1 of 3 terms
- Custom Post type content within a slider
- posts within custom post type all share the same content in the front-end
- displaying content of custom post type
- Custom Sidebar in Editor (not Widget) for Custom Post Type in Genesis
- Loop Post Types with Name and Links
- Display all images from specific CPT
- Custom loop to query posts with no featured image and/or no post editor content
- How to retrive Custom Post Type Meta Fields in Custom WP_Query
- Loop for custom-post-type comparing taxonomy terms for “related” posts?
- Last post in loop – custom post types
- Display category name of custom posts only once in the loop
- Get Posts List of Current Selected Custom Taxonomy in Shortcode
- Make bootstrap 5.0 carousel dynamic using ACF and CPT UI [closed]
- Trying to list years (for a filter) but not all years display
- Pagination Not Working When Used With WP_Query() `offset` Property
- Some posts not displaying by taxonomy term
- How can I group by Taxonomy on Custom Post Type while filtering out based on custom Meta
- subtracting the current post form then whole loop, which is generating all CPT titles
- update a posts of other custom post type
- How to return custom posts in loop?
- custom post type loop
- Optimise custom post type queries
- Loop with Custom Post Type and Taxonomies
- Filter RSS feed for custom post type to events for next 7 days only
- WordPress Custom Post Type and sort by Tags
- After rewriting post type’s URL, the number of queries has increased dramatically
- If i have custom post type with 5 custom fields do i have to create a new loop to reference each one?
- Sorting custom post types by taxonomy (So close)
- Custom Post Type Loop breaking php
- Styling first post using Advanced Custom Fields
- Query custom type posts by array of IDs
- How do I filter a custom post type loop by a field?
- WPNavi pagination links not working on custom pages
- Group search results by post type, but having a unique heading for each section?