Sorry, doesn’t work that way. The “simple” meta parameters are converted into part of the meta_query as a whole. So it’s not a separate thing, and your OR relation applies to it as well.
Your query thus is not possible with the normal query system, because you want to mix ANDs with ORs (you want items that have event_data ANDed with a bunch of others with ORs between them).
You’ll have to resort to either custom SQL or rethink your design.
Related Posts:
- Query post by date (stored custom field meta as yyyymmdd) and differentiate across 12 months
- Can I query custom meta data through WP_Query
- Trying to perform complex custom field query with order by set to field value
- Compare meta_query decimals not working right
- Comparing timestamps in meta query doesn’t work
- Display two post types ordered by two custom fields
- Using OR in WP_Query negates the “NOT EXISTS” compare
- How can I combine meta_query queries?
- Difference between ‘LIKE’ and ‘IN’ in meta queries
- WP_Query display next custom post from today’s date
- Upcoming Event: How do I sort database by custom date field, but ignore past dates?
- Meta query with timestamp using WP_query
- Conditional custom field query
- Alter main archive, to show posts with meta as last
- Meta Query And/Or
- The best way to collision check in WP
- How to query for posts with either one or another custom field
- Best way to sort estates and query them (for rent? yes/no. contains office space? yes/no)?
- How can I modify my meta_query to work with prices that are stored in the database that contain dollar signs and commas?
- Query multiple post types, but different order for each
- Query against multiple locations within single custom post type post
- Query by meta value (add a dropdown of all values)
- Create custom query for search?
- Meta_query not filtering posts
- Complex WP_Query Using Post Date And Post Meta
- WP_Query: getting posts where custom field exists
- Display posts with specific value first in query
- Get every post with value in meta key
- Custom Query: If One Post Object Field Value Is The Same As Another
- How to hide posts of a specific custom category in WordPress?
- change order of images attached to post
- Meta_query ‘compare’ => ‘LIKE’ not working?
- Diamond question mark in text after migrating content
- Modify date query by URL parameter using pre_get_posts and $_GET
- Is it possible to retrieve posts depending on meta_key LIKE condition? [duplicate]
- Loop through incrementing custom fields
- Custom search SQL Query to add custom field in result
- add_query_arg to compare and display events from a certain date
- Comparing 2 Decimal Numbers from custom fields and displaying posts
- tax query between operator like
- Meta query relation ‘OR’ not working as expected
- Why doesn’t my WP Meta Query return any results?
- WP_query multiple custom fields not working
- How to exclude custom fields from search queries?
- WP_Query meta compare must include ALL array values
- WP_Query () using taxonomy, custom post types
- Custom Query Fields – Altering Meta Value
- Multiple Custom Field Query
- Custom Query: query by post custom meta data
- Get array of posts based on custom field values
- Is it possible to compare the current time with a custom “start” and “end date
- How to update custom field of a posts in a particular category
- Searching with Multiple (Parallel) Criteria on Custom Fields?
- How to query posts by month based on date custom field?
- Custom Field Date Problem
- meta_query where the meta value is not the post title
- meta_query weird behaviour, static int will work, but not user data
- Need to search a custom field (ingredients, one long string per post), but want it to allow phrases/non-exact matches
- Compare ACF date field (if exists) and post date and order DESC
- Order by the first array within a meta_query
- Making WP_Query limit results by date before today where date is a meta_query
- Query ACF relationship field – Comparator IN – Value array
- multiple meta_query and orderby question
- ACF: How to query for a given value count of an array like field? (e.g.: How many rows has a `flexible_content` field?)
- get posts based on non-single metadata
- Problem with revisions only returning four results
- How to _GET multiple value checkbox WP_Query in Custom Toxonomy / Custom Fields
- Search & column order by meta value in admin
- WP Query from two Custom Post type fields as statement
- How do i create a custom post query when the meta value is an array?
- Using OR relation in meta_query to check for a value before sorting by another
- Woocommerce products search with custom fields
- How to save multiple values with same meta_key, each value linked to another tag id
- How to improve my non-unique metadata MySQL entries?
- WP Query – grouping posts by same meta key, adding together values from another key
- Dynamically populate query source in Elementor post widget
- Woocommerce Get Orders By Meta Value
- meta_query is overriding default search
- Trouble with serialized metadata
- WP_Query not ordering correctly
- How to do WP_User_Query for Nested Array value Inside Nested Array field
- Meta query and compare “!=” not working as expected
- Comparing Meta Field date in WPQuery using Meta_Query?
- Meta query orderby meta_value_num sorting by role first
- WP meta_query args not working in function
- Filtering posts by ACF meta query
- Getting posts by custom field value
- meta query multiple values for the same key
- Sort custom post archives by a meta value from a different custom post type?
- WP_Query, ACF field and array
- Why does my numeric meta query work only on one meta key and not the other?
- Query to sort a list by meta key first (if it exists), and show remaining posts without meta key ordered by title
- Strange results from WP_Query
- meta_query to check all custom fields
- Order by Date Custom Field
- Custom post types – meta_query: search lesson which starts sooner
- WP Query. Ordering posts by another post types meta
- post type => ‘any’ not applied my custom queries
- searching by keywords in post’s metas or pagination links problem
- Slow wp_posts and wp_postmeta query using Advance Custom Fields