This is not currently possible with query arguments alone (realm of filtering raw SQL query and such).
If your task is not time-critical then I suggest to wait for upcoming WP 3.1 release. It will feature much more flexible querying capabilities for custom fields.
See Advanced Metadata Queries for post on upcoming improvements.
Related Posts:
- Author Page Custom Query WHERE author OR [post meta value] OR [post meta value]
- How can I sort homepage by a meta value?
- meta_compare seems to be treating values as strings instead of integers as expected
- Unable to get specific value from post meta
- Get author total post votes from post meta
- what is the correct way to compare dates in a WP query_posts meta_query
- How to get custom post meta using REST API
- The “_encloseme” Meta-Key Conundrum
- Using get_post_meta with new_to_publish
- Can I count the number of users matching a value in a multiple value key?
- Auto sort the wp-admin post list by a meta key
- Allow user to create instances of custom field
- Filter archive.php by custom meta
- Get updated meta data after save_post hook
- Save HTML formatted data to post meta using add_post_meta()
- Query on custom field count?
- How to break meta values into different items and avoid duplicates?
- ajax delete value from custom field array
- Save attachment custom fields on front end
- Transition from (classical) serialized custom meta field to (gutenberg) rest enabled meta
- Unable to show ACF’s Image Custom Field properly in Genesis Framework [closed]
- Custom field value based on other custom field values
- meta_value_num sort glitch
- Order by value in serialized custom field
- Saving custom image meta fields
- meta query not showing any results?
- How to display Meta Field Value?
- Query post order by post and desc not working
- Adding custom fields (post meta) before/during wp_insert_post()
- Combine multiple custom field values into single value
- How to query posts with certain custom meta data, and output Post data
- post meta getting deleted on save
- Can’t get post ID using wp_insert_post_data
- Unique Post Meta Values
- Show 1 post and after a specific date show the next one
- Limit the number of acf content when displaying in post loop [closed]
- Fetch Record based on meta key dates
- Add post meta fields, when creating a post using WordPress’ REST API
- Store array as single, serialized post meta field or many post meta fields?
- Custom Field Values not updating unless I click “Update” twice
- update_post_meta for repeated custom field [closed]
- Trying to update_post_meta function
- Custom fields (wp_post_meta) vs Custom Table for large amount of data
- Show values of custom post meta on ‘Add new post’ page?
- get_posts in meta box dropdown not showing latest posts
- filter custom field values $min $max
- Display Custom Meta Box Field Only If Value is Present
- Ordering posts by custom field named “date” in backend
- Unique meta_key with array value vs repeated meta_key with single values
- WP Query – Is this correct?
- Allow only one post with specific meta value
- How to validate select field in post meta?
- How to display childrens custom fields?
- how to display custom fields of post on a web page
- How do I query the title (or handle?) of post meta fieldset (created with Simple Fields Plugin)
- How to fill custom fields with brackets in their key with add_post_meta()?
- change order of images attached to post
- how can I show name and value of Custom Fields together?
- Gravity Forms Update post meta from template [closed]
- put saved metabox values back into fields and then display on the front end
- Best way to achieve multiple links in a post title
- How to get custom image field of specific post id
- custom filed from post in the side bar
- wordpress multi user question
- How can I change author of posts to the value of one of the custom field of the posts?
- Adding Custom Metadata to my Archive/Posts page
- How to improve my non-unique metadata MySQL entries?
- Saving Custom Field that includes Quotation marks
- Custom Fields Not Showing (ACF not installed)
- Post meta data not showing in frontend, until hitting ‘update’ button
- searching by keywords in post’s metas or pagination links problem
- Add custom field information to source meta data
- How do I update custom field post meta in frontend post template?
- How to Find List of Available Custom Fields for Theme?
- update meta field value after
- Custom Fields Not Working In Footer
- ACF plugin and field update
- Delete custom meta
- Echo out custom fields in comments
- Search one custom field?
- Can’t save meta field value if the title not set
- Display Data From This Custom Media Upload Meta Box?
- Save values generated via API as custom meta fields
- Adding custom fields to images
- How to save dynamically generated value in post type?
- wordpress simple post multi rating with post_meta and user_meta
- update_post_meta not working in action hook
- how to show this part only in the single post page?
- Display meta data from a custom field within plugin Category Grid View Gallery
- Checking if field is set before comparing with meta_query in query_posts?
- Custom fields / meta box output
- If post custom meta data is not set, show normal state
- How do i output images from URL’s added to the same custom field key
- Filter Query Post by Custom Fields(by date)
- custom field with links
- add multiple values (array) to post meta_input
- How can i put a custom field inside this php
- save all acf options in one meta_value [closed]
- WP Query Args – search by meta_key or title
- Search for meta_query does not return any result if combined with title