Query breaking with ‘posts_per_page’ => -1
Related Posts:
- The Operator “NOT IN” Does Not Work In tax_query
- Sorting a list of posts displayed under a list of associated terms (which should be sorted without initial articles)
- Combine tax_query and meta_query in WP_Query
- tax_query returning all posts instead of selective posts in WP_Query
- Query custom post type by category slug
- Custom post taxonomies as tax_query terms?
- Why is this query not working? (Standard posts + custom post type)
- Custom Widget WP_Query problem
- How to display Related Posts based on number of taxonomy terms matched
- tax_query not working in template
- WP_query – Filter by tax_query and meta_query using multiple select
- WP_Query parameter conflict
- Custom Category Walker with Image, Fallback to Most Recent Post in Category Image
- tax_query (if the terms are empty)
- Running a custom query inside another cpt single and trying to grab a variable
- Custom Query: Multiple CPTs and a taxonomy filter
- Display related CPT with custom taxonomy
- custom post type and a “sticky” position taxonomy
- How to search through all child taxonomies using WP_Query?
- WP Query tax_query not returning posts
- Not able to get my custom search result using meta_query and tax_query together?
- tax_query showing no results
- Cannot query custom post type taxonomy from theme options array
- Using tax_query to get single post per category
- WP Query Conditionally query meta and taxonomy
- Query all posts where a meta key does not exist
- Exclude a category from WP_Query
- Single loop for wp_query and wp_user_query
- WP_Query orderby custom field then post_date in one query
- query multiple taxonomies
- Custom Post Type, WP_Query and ‘orderby’
- Include post id[s] into WP_Query()
- Grab 5 latest posts from custom post type ‘announcements’
- Pagination Doesn’t Work
- Numeric pagination custom post type
- List with categories, subcategories and posts of custom posttype
- Sort the main query in subcategories/terms?
- Can’t sort order of wp_query with 2 meta keys
- Get post info inside modal window?
- Get count of custom post type created by current user
- Query Custom Post by Category
- Pagination Issue: Custom Post Type In Index
- Having trouble with custom date field for CPT query (WordPress)
- Quickest way to get last or oldest post date – WP Query
- WP_Query and using a variable for ‘cat’=> in the args array = WP Bug?
- Custom post query by taxonomy
- Separate Posts and Custom Post Type in Custom Taxonomy archive template
- CPT posts listed by category with custom rewrite URL, please help!
- How to use WP_Query in a CPT achive page?
- Use get_post_types to query only custom posts types
- Group custom posts by custom taxonomy names
- How can i skip same post from taxonomy term?
- Pagination on a custom post type loop
- WP_Query orderby modified to include custom meta changes
- Wrong request query on cpt and tax
- Search / Filter posts on Title/Content OR Tags
- How to Filter custom post type by taxonomy?
- What’s the WP way to load remaining custom posts?
- Several post types on WP Query by tag and taxonomy
- Filter Posts from the Main Query
- How can I group posts by months and years?
- Display post from a date range from custom field
- Displaying a div from an assigned meta_value when on a page
- Custom post type loop with custom category filtering
- Show message when query has no posts
- Get category if used in a custom post type
- How to show all taxonomies within custom post type loop
- WP_Query not resetting after wp_reset_postdata
- Custom post type to lead to single post type instead of shortcode modal
- Filter posts of custom post type by meta key in (List All Section)
- Query Posts that have Custom Taxonomy
- Display post from custom post type
- Query Posts, order by meta value
- Foreach loop returning more than one item when querying taxonomy
- Previous / Next Links For Custom Post Type Sorted By Meta_Value
- “Menu order” being ignored when querying posts from a parent taxonomy with “include_children” set to true
- Create if else for post types in WP_Query ‘post__in’ values
- Custom post type query with taxonomy
- Search Function not searching correct custom_post_type even though post_type is defined in search args
- How to use multiple orderby conditions on query search results? (orderby one post type, relevance)
- Query a custom taxonomy in a function to create an csv file
- Custom Post By Category
- Mix Facebook and Twitter feed into custom posts
- pre_get_posts gives 404 error on Custom Post
- Get post from Category by Priority
- WordPress loop multiple orderby query with Types toolset
- Strange behavior on WP_query
- WP Query with multiple post types ordered by custom meta date then published date
- Query Pulling the same post twice
- Values inside a custom field to determine which category posts to display
- WP_Query get posts where post_name is empty
- How do I sort post listing by child post count?
- Listing all custom post types using a specific term on the said term’s template page, in groups
- Querying meta values within an array
- Filter Custom post type by another Custom post type
- Archive page – problem with pagination
- Display ACF object field data using Elementor Custom Query
- WordPress custom field sorting, weird behavior: the latest post is at the end
- Default WordPress Query for a Specific Custom Post Type URL
- Sort ACF by custom taxonomy