Why is this query not working? (Standard posts + custom post type)
Related Posts:
- Combine tax_query and meta_query in WP_Query
- WP_query – Filter by tax_query and meta_query using multiple select
- Not able to get my custom search result using meta_query and tax_query together?
- WP Query Conditionally query meta and taxonomy
- Mixing regular and custom post types (with meta_query) on home page
- WP_Query() show posts that end later than today
- WP_Query orderby custom field then post_date in one query
- Filtering a WP_Query meta_query by numeric values isn’t working
- The Operator “NOT IN” Does Not Work In tax_query
- Using Query Posts With Multiple Post Types And A Taxonomy
- Sorting a list of posts displayed under a list of associated terms (which should be sorted without initial articles)
- Can’t sort order of wp_query with 2 meta keys
- Comparing timestamps in meta query doesn’t work
- Display two post types ordered by two custom fields
- query order by date on custom type: wrong order
- exclude custom post type by meta key in wp_query
- Filter posts with meta_query NOT IN where value has multiple values
- Query for custom post type objects in a taxonomy and with a meta value
- Filtering by Post Meta Custom Fields – Performance
- tax_query returning all posts instead of selective posts in WP_Query
- Is it possible to apply a meta_query to one specific post type in a query with multilple post types?
- Query custom post type by category slug
- Setting proper query for multiple custom admin filters
- WP_Query: include custom post type only with specific meta value
- Returning a list of custom post types excluding those without a specific meta_value
- Two near-identical custom field types – one works, the other doesn’t . What can cause this?
- wp_query check if integer exists in custom field’s array
- Custom post taxonomies as tax_query terms?
- A method for ordering mixed dates in search result loop (theory only, no actual code)
- How to do WP_Query with two meta fields with orderby clause
- Stuck in Order by more then one
- Using meta_query and tax_query at the same time
- Custom Widget WP_Query problem
- Configuring a meta query with multiple post types that have the same relationship on a single page
- Possible to filter custom post type with multiple meta data?
- Query based on custom fields start and end date
- How to display Related Posts based on number of taxonomy terms matched
- tax_query not working in template
- WP_Query parameter conflict
- Getting a custom post’s custom field based on another custom post’s custom field select
- find custom post type post by searching its custom field with my string
- Get category if used in a custom post type
- WP_Query of custom post type sorted by meta_key has unexpected results
- Custom Category Walker with Image, Fallback to Most Recent Post in Category Image
- tax_query (if the terms are empty)
- Create a WP_Query where if the first value of the first row is equal to the second compare other value
- Running a custom query inside another cpt single and trying to grab a variable
- Query Posts, order by meta value
- WP_Meta_Query object with conditionals
- Sorting by meta_key different to search criteria?
- Using WP meta query to show custom post types by a start and finish date
- Two queries – one with checkbox ticked, one without – comparing meta_query
- Custom Query: Multiple CPTs and a taxonomy filter
- How to order query results based on if a custom field has been populated, then the order by the date of the post?
- Display related CPT with custom taxonomy
- custom post type and a “sticky” position taxonomy
- build child and anchestor three from post parent
- meta query condition don’t work
- How to search through all child taxonomies using WP_Query?
- Custom query result empty on page 2
- Use WP_query to match post types based on custom field values
- meta query multiple values for the same key
- Sort custom post archives by a meta value from a different custom post type?
- Custom post types – meta_query: search lesson which starts sooner
- post type => ‘any’ not applied my custom queries
- How to get the posts that my following users are liked?
- Meta_Query refuses to return results
- WP Query tax_query not returning posts
- Querying, storing, and using data from 2 separate custom post types
- Query events post type after current date and timezone
- Query breaking with ‘posts_per_page’ => -1
- Conditional posts in WP_query for search
- tax_query showing no results
- Selecting posts older than the current Unix epoch timestamp
- Custom Query With Multiple Meta Key Value
- Trying to combine multiple WordPress queries
- Cannot query custom post type taxonomy from theme options array
- Querying meta values within an array
- Custom Post Type + Custom Meta Query Not Showing 2012 Posts
- Using tax_query to get single post per category
- Order Wp Query by earliest of 3 dates meta query
- WP_Query() displaying past post / event
- Exclude a category from WP_Query
- Include post id[s] into WP_Query()
- Sort the main query in subcategories/terms?
- Get post info inside modal window?
- Pagination Issue: Custom Post Type In Index
- Sorting Custom Post Type by Meta Value but wont display when set to 0
- WP_Query orderby modified to include custom meta changes
- How to have this permalink structure: post_type/postname/custom_inner_page
- Custom Taxonomy Not Showing in Front-End When Outputting a Custom Post Type with WP_Query()
- List all Custom Post Type posts excluding certain Taxnomy term
- Custom post type pagination error
- Display post count for a specific month
- WP_query has incorrect wp_posts.post_name = ‘asc’ when I have custom post type called ‘order’
- Randomizing WordPress Custom Post Type Sorting Through Them Without Page Refresh
- Order posts alphabetically with numbers but some of the posts has numbers in the title
- ACF meta_key and meta_value break loop
- WP Query with multiple post types ordered by custom meta date then published date
- Archive page – problem with pagination