Usually this is because by default WP_Query will return the results in pages, according to your WordPress page length setting. So probably your page length is set to 15 and you’re just seeing the first page.
You should look into pagination, or you can do a new WP_Query with posts_per_page
set to -1 to ensure you get all the posts.
More info on how to use WP_Query is here: https://developer.wordpress.org/reference/classes/wp_query/#pagination-parameters , or provide more info on what and where you’re trying to do this if you want more help on a specific case
Related Posts:
- Meta query with boolean true/false value
- Get Posts in a Custom Post Type category
- Search multiple custom fields by using meta_query
- category__in not working on custom post type
- Displaying Posts Related to Other Posts by a Taxonomy Term?
- Date query for a custom meta field
- Querying Posts by Taxonomy From Alternate Network Site
- How to query for posts (in hierarchical custom post type) that have children?
- Set default option in dropdown of WP_Query?
- Combine tax_query and meta_query in WP_Query
- WP_Query pagination using only numbers instead of /page/1 on URL
- Query for posts in 2 taxonomies
- Parent / Child formatting in a list of post of a custom post type
- How do I create an archive page for standard posts?
- Multiple post type queries (with specific arguments for each)
- Custom WP_Query not returning results when querying custom post type
- Custom Post Type Loop within Shortcode
- Combining sorted and random CPT
- How to add post_type=value when editing that post type in the WordPress admin?
- Display CPT posts based on specific taxonomy
- WP_Query: include custom post type only with specific meta value
- showing custom post types of a certain category only
- Filtering WP_Query Dynamically on the Front-End
- Why get_posts() not returning only selected category posts from Custom Post Type?
- Problem querying Custom post type by custom fields
- Query Multiple Custom Posts by Custom Fields
- Prioritize posts in query by meta keys?
- WP_Query orderby and tax_query
- Configuring a meta query with multiple post types that have the same relationship on a single page
- Different Ways to Query Custom Post Types?
- Possible to filter custom post type with multiple meta data?
- can these 3 queries be re-written as 1 query?
- cannot override post_types in WP_Query()
- Wrapping x posts in html without leaving empty html
- Loop for custom post types filtered by a taxonomy
- Loop increase number
- Custom filter for main search: how to exclude specific post_type from search results
- Is This Code Efficient – Or is there a better way?
- Inefficient Query Confusion
- how to get this tax_query working?
- find custom post type post by searching its custom field with my string
- wordpress lists similar type of posts in a custom post type
- FacetWP paging custom wp_query
- How to properly rewrite pagination rules for a CPT to avoid 404 error on /page/2
- $post->post_meta not pulling any post in wordpress/php
- WP_Query of custom post type sorted by meta_key has unexpected results
- How to get the post terms from a child taxonomy
- display posts of custom post type with custom taxonomy
- How to query for posts (hierarchical custom post type) that have children but are NOT top level?
- Create a WP_Query where if the first value of the first row is equal to the second compare other value
- Pagination for search results of custom post type [duplicate]
- WP_Query get post from a category and from another post type
- Custom Plugin – Query CPT – Display Results
- foreach loop inside the loop creating duplicates in output
- Sorting by meta_key different to search criteria?
- Shortcode / WP_Query in post changes context
- How to fetch posts that are stored in the different table than (default) wp_posts?
- WP_Query order custom post type with certain meta key value by post modified date
- Cant’ Display Custom Post Type Title Base on Tax Terms
- Make Next and Previous on single-$posttype.php use the same order as archive-$posttype.php
- Custom post-type custom query – show all posts
- Display custom-post type based on the Title matching the current selected value
- Custom Post Type ‘Event’: Chronological list of recurring events from meta_values in array
- Pagination in custom post type archive.php not working
- WP Query: If field X is empty, show posts based on field Y
- Sort custom post column by generated value?
- meta query condition don’t work
- How to search through all child taxonomies using WP_Query?
- Numeric pagination custom post type
- Custom post type category returns null
- Custom meta fields not showing up in WP_Response Object via custom endpoint
- Query a Custom Post Type using SELECT that has ACF fields to compare dates
- Tell wordpress to show a single page instead of an archive page
- How to get post by meta value
- Wrapping an unknown amount of posts inside separate HTML Containers during WP_Query loop
- Filter custom WP_Query by first letter of a custom field – hopefully using Search and Filter Pro?
- WP Query filter search. Result show all posts instead just custom post type
- sorting in wp query based on custom field value
- Display posts of a hierarchical custom post type excluding parent posts
- Why get_posts() returns empty array while I am trying to get posts from some specific taxonomies and work properly with others?
- WordPress loop add heading before first of type
- Only show current category post
- get_post_meta for Custom Post Type ( CPT )
- Custom Post Type shows pagination (w/404) or posts_per_page query, but not both
- WP_Query for CPT with filter by another WP_Query
- Is it possible to add query parameters on the archive page?
- How to query posts by meta keys AND under specific category?
- Shortcode display CPT Query only showing 1 post?
- Query stopped working
- How can I base a query off of the current page post type AND a meta value from another custom post type
- WP_Query and two custom fields returns no posts
- Query Posts From Multiple Post Types
- Fallback if statement based on the number filtered from it
- Custom Post-type not returning the right child_of
- Get images only from a certain post type
- querying to custom field over ACF REST API
- Quering array of post types & pagination. Articles are repeating sometimes on different pages
- How can I show posts with the same tag?
- Load posts via AJAX without draft status
- WP Query – Can’t get posts with specific taxonomy