I had the same desire. A quick and dirty answer is to use the get_meta_sql to replace the leading 'AND' with an 'OR'.
(See also the answer here: https://stackoverflow.com/questions/43734845/how-to-give-or-relation-in-tax-query-and-meta-query-wordpress ( A related, but not duplicate, question.) )
Related Posts:
- Using meta query (‘meta_query’) with a search query (‘s’)
- Add custom fields to search
- Is there a way to do multiple ordering on a multiple meta_query?
- WordPress Search Custom Meta Field Only
- Ordering posts by anniversary using only day and month
- Displaying posts with only upcoming dates according their custom field date value
- Which is best in the following scenario : post_meta vs custom table vs parent/child posts
- How do I use wp_query for WordPress search?
- How make a custom search on backend in WordPress without plugin?
- filtering custom post types via meta data drop down
- How to add a new meta key and assign timestamp to posts
- Custom WP_Query for WordPress Search Results with meta_query
- filter custom field values $min $max
- How can you include custom post meta in search without calling each key?
- Ordering posts by custom field named “date” in backend
- Unique meta_key with array value vs repeated meta_key with single values
- Avoiding ACF get_field and returning to core WordPress function
- change order of images attached to post
- Need to search a custom field (ingredients, one long string per post), but want it to allow phrases/non-exact matches
- How to improve my non-unique metadata MySQL entries?
- searching by keywords in post’s metas or pagination links problem
- Search one custom field?
- Create custom query for search?
- Query postmeta values, and return multiple post_titles for common meta value
- WP Query Args – search by meta_key or title
- Search for meta_query does not return any result if combined with title
- Advanced search form with filters for custom taxonomies and custom fields
- Custom post meta field effect on the performance on the post
- Difference between meta keys with _ and without _ [duplicate]
- Orderby meta_value only returns posts that have existing meta_key
- What is “meta_input” parameter in wp_insert_post() used for?
- How to enable revisions for post meta data?
- Can I query custom meta data through WP_Query
- Including custom fields in search?
- Is there a hook / action that is triggered when adding or removing a post thumbnail?
- Filter results with custom field values and dropdown
- passing argument to get_template_part() or a better way to code
- searching in custom meta field
- Create meta boxes that don’t show in custom fields
- Calling Specific Pages with wp query Part II
- How to use pagination with get_post_meta
- Copying Custom Meta Values from existing post to a duplicate post
- Move value of one custom field to another
- Custom fields: In what order are they saved into the DB?
- Get a post_id where meta_value equals something in a serialized meta_value field
- How to save a ToggleControl value in a meta field?
- Including Database Generated Pages in Site Search [closed]
- Order by custom field value not working for acf date field
- How to Validate Post Meta type/extension (Video File Image File etc)
- Adding Custom Fields to Search
- How can I sort homepage by a meta value?
- Meta query with timestamp using WP_query
- How to wrap meta values seperated by comma in ? [closed]
- Create Multiple File Upload Metabox in WordPress
- Hide custom meta data if empty
- Extend product search with meta in WooCommerce
- how to make members list directory through wordpress post custom meta key.
- Advanced search for meta fields
- Get posts with same meta value as current post
- Add custom field to all posts in specific post_type
- How to populate custom field dropdown box based on prior selection?
- Can I access a post meta field before the loop?
- wrap text around custom fields array
- How can I modify RSS item titles to be either the title or a custom meta field?
- ORDER BY custom field value out of where clause
- Get all the posts where meta field with multiple choice has several values checked
- Move Title and the Content WYSIWYG editor position
- How do i get the attached images with custom value checked?
- ACF: How to get users with a ACF flexible content subfield with a specific value AND layout?
- Diamond question mark in text after migrating content
- Get custom fields without _edit_last, _edit_lock, _wp_page_template and _visual-subtitle
- Include one custom field in search results
- Display posts with empty custom field
- Custom search SQL Query to add custom field in result
- Search Results Page – Displaying Custom Meta Fields
- Search CPT Title AND Meta
- Custom field Search with Relavanssi
- How to exclude custom fields from search queries?
- Footnotes in custom fields
- Create a new custom field for all posts based on current custom field
- wordpress get_post_meta / the_meta to output custom field value
- How to show content of custom fields in search results?
- Custom Query: query by post custom meta data
- Search & column order by meta value in admin
- Set class if a meta value is set within post archive
- Unable to gather Image URL from Custom Post Type’s; Custom Meta Field
- Filtering posts by ACF meta query
- Can’t set custom meta fields for a post
- Very large list of options for BuddyPress profile fields
- Allow HTML in Custom Metabox area
- Custom field metabox not showing in back-end
- Search fails when using the radio buttons
- Query Multiple meta
- When post is updated, custom metadata in text area field is overwritten
- Media Attachment Custom Meta Fields not saving in Media Uploader when using jQuery UI Autocomplete
- Custom Field: Display only if a specific key is selected outside the loop
- When editing a post with a custom meta box the values aren’t displaying correctly
- add_post_meta insert null value into Database
- Extend search query to search meta keys values based on search string
- get Custom field label (select/dropdown) on front end